diff options
author | David Phillips <dbphillipsnz@gmail.com> | 2015-09-01 19:22:47 +1200 |
---|---|---|
committer | David Phillips <dbphillipsnz@gmail.com> | 2015-09-01 19:22:47 +1200 |
commit | 841445fb7a482b9c1ed9eca896d308afab4316d8 (patch) | |
tree | 040506ac1a752aa85e61a542f736e5c6ea7305ca /bat_tray.c | |
parent | dec1efba06aeadcd9a4f13e8591f2efa016a24a0 (diff) | |
download | paramano-841445fb7a482b9c1ed9eca896d308afab4316d8.tar.xz |
Various buffer overflow fixes
Diffstat (limited to 'bat_tray.c')
-rw-r--r-- | bat_tray.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -144,6 +144,7 @@ static void update_tooltip_cache() break; } strncpy(tooltip_text, msg, sizeof(tooltip_text)); + tooltip_text[sizeof(tooltip_text)-1] = '\0'; } |