diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-05-18 08:36:43 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-05-19 14:32:43 +0200 |
commit | 162b871682946169871db3622e156ef641c44bf2 (patch) | |
tree | 0d66ae3c802ed8dff1fa366f6dbe42a8eff77264 /src/keys.c | |
parent | 9a85b790aab1611a7c9105d08fb6be1500ed82f7 (diff) | |
download | calcurse-162b871682946169871db3622e156ef641c44bf2.tar.gz calcurse-162b871682946169871db3622e156ef641c44bf2.zip |
src/notify.c: Fix printf() misuse
Make sure we actually copy the notification warning interval to the
correct buffer instead of printing it to stdout (using an arbitrary
format string). This makes sure the current warning interval is shown
when editing the field and also eliminates a potential format string
vulnerability.
Spotted with "-Wformat-nonliteral".
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/keys.c')
0 files changed, 0 insertions, 0 deletions