aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authoradnano <me@adnano.co>2023-02-26 07:45:37 -0500
committeradnano <me@adnano.co>2023-02-26 07:50:54 -0500
commit7c1e28b201ed52e42ddd8b114fdfbad0720d86d2 (patch)
treea72c4ba6d41f2fa30b4b1fa8c0e0c9ec3b06902a /meson.build
parenta7df5b270d5aea3a38e7dbc9a27bcfd059b8bc61 (diff)
downloadwmenu-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 'meson.build')
0 files changed, 0 insertions, 0 deletions