diff options
author | adnano <me@adnano.co> | 2023-02-26 07:45:37 -0500 |
---|---|---|
committer | adnano <me@adnano.co> | 2023-02-26 07:50:54 -0500 |
commit | 7c1e28b201ed52e42ddd8b114fdfbad0720d86d2 (patch) | |
tree | a72c4ba6d41f2fa30b4b1fa8c0e0c9ec3b06902a /LICENSE | |
parent | a7df5b270d5aea3a38e7dbc9a27bcfd059b8bc61 (diff) | |
download | wmenu-7c1e28b201ed52e42ddd8b114fdfbad0720d86d2.tar.gz |
Fix potential buffer overflow
Calling strncpy where the size of the string to copy is equal to the
size of the destination can potentially lead to a buffer overflow. To
fix this, copy only what is needed with memcpy, and explicitly terminate
the string with a null character.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions