summaryrefslogtreecommitdiff
path: root/%252525252525253fid%252525252525253d2030a0563ca0b9e4a66a0721dc708af8f5401e22%...
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2011-03-05 15:38:55 +0100
committerLukas Fleischer <calcurse@cryptocrack.de>2011-03-05 15:39:01 +0100
commit355687b644f274cf73b658e075bdd9947583559c (patch)
tree1e7e0c87953a524794c099076308353ff78583d9 /%252525252525253fid%252525252525253d2030a0563ca0b9e4a66a0721dc708af8f5401e22%2525252525253fid%2525252525253d0e5a9f16201a926856668b3c6b2be1c69696009d%25252525253fid%25252525253d0e5a9f16201a926856668b3c6b2be1c69696009d%252525253fid%252525253da7787067919d28a2e0564985e41dea42ea0321d8%2525253fid%2525253d6f425dc1fad44b1ea878d314e539ddbc7bbde94f%25253fid%25253d6f425dc1fad44b1ea878d314e539ddbc7bbde94f%253fid%253d355687b644f274cf73b658e075bdd9947583559c%3fid%3d355687b644f274cf73b658e075bdd9947583559c?id=355687b644f274cf73b658e075bdd9947583559c
parent9dad482ad8bcf10956f20902cc18289c927a457b (diff)
Ensure key descriptions in status bar are always null-terminated.
Key descriptions are just strncpy()'ed to key[], with KEYS_KEYLEN as maximum character count. This leads to a non-null-terminated string if the source pointer actually points to a string with a length of KEYS_KEYLEN bytes. Always appending a null character fixes this. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to '%252525252525253fid%252525252525253d2030a0563ca0b9e4a66a0721dc708af8f5401e22%2525252525253fid%2525252525253d0e5a9f16201a926856668b3c6b2be1c69696009d%25252525253fid%25252525253d0e5a9f16201a926856668b3c6b2be1c69696009d%252525253fid%252525253da7787067919d28a2e0564985e41dea42ea0321d8%2525253fid%2525253d6f425dc1fad44b1ea878d314e539ddbc7bbde94f%25253fid%25253d6f425dc1fad44b1ea878d314e539ddbc7bbde94f%253fid%253d355687b644f274cf73b658e075bdd9947583559c%3fid%3d355687b644f274cf73b658e075bdd9947583559c?id=355687b644f274cf73b658e075bdd9947583559c')
0 files changed, 0 insertions, 0 deletions