diff options
author | Lars Henriksen <LarsHenriksen@get2net.dk> | 2017-08-11 10:24:53 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2017-08-12 15:40:02 +0200 |
commit | b36dd2e614f51d7061b8dabd0bb139833ef7bed4 (patch) | |
tree | c5360c0cdc25cf92f0f2026edc42ac72aa126387 /test/data/apts-appointment-019 | |
parent | 53db74ab343b5fc4c5e655b47e3886d58227ce07 (diff) | |
download | calcurse-b36dd2e614f51d7061b8dabd0bb139833ef7bed4.tar.gz calcurse-b36dd2e614f51d7061b8dabd0bb139833ef7bed4.zip |
Fix empty warning box when key is already in use
When adding a key already in use for another action, a warning box is
displayed. The text length is limited by the window width through the
use of strncpy(). If the limit is exceeded, the string will have no null
termination, resulting in unpredictable behaviour.
A similar problem in fatalbox() is fixed as well.
Signed-off-by: Lars Henriksen <LarsHenriksen@get2net.dk>
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'test/data/apts-appointment-019')
0 files changed, 0 insertions, 0 deletions