aboutsummaryrefslogtreecommitdiffstats
path: root/slstatus.c
diff options
context:
space:
mode:
authordrkhsh <me@drkhsh.at>2026-06-23 21:08:33 +0200
committerdrkhsh <me@drkhsh.at>2026-06-24 00:12:47 +0200
commit0dc0c59dbefbd38a8c59004e941260a26fe4bccf (patch)
treee3b50aa5d1d430d7f0c00ed19ae826c133bde66d /slstatus.c
parent60b28d8a78b14ecc43f1c7d177cfa5f8597e2071 (diff)
downloadslstatus-0dc0c59dbefbd38a8c59004e941260a26fe4bccf.tar.gz
fix wifi buffer overflows on Linux
replace strcpy of interface name into ifr_name (IFNAMSIZ=16) with bounds-checked snprintf. add one byte to resp buffer so NUL-terminating the SSID at resp boundary does not write out of bounds.
Diffstat (limited to 'slstatus.c')
0 files changed, 0 insertions, 0 deletions