summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authoritojun <itojun@openbsd.org>2002-06-26 06:08:17 +0000
committeritojun <itojun@openbsd.org>2002-06-26 06:08:17 +0000
commit83883a2fe2b46b2cf8428efe3b4bee5c05d2a4a2 (patch)
tree5b7d41f68da8d23a41c80bd6c5b721ab3decf2e0 /sys
parentcorrect bad practice in the code - it uses two changing variables (diff)
downloadwireguard-openbsd-83883a2fe2b46b2cf8428efe3b4bee5c05d2a4a2.tar.xz
wireguard-openbsd-83883a2fe2b46b2cf8428efe3b4bee5c05d2a4a2.zip
avoid remote buffer overrun on hostbuf[]. From: Joost Pol <joost@pine.nl>
correct bad practice in the code - it uses two changing variables to manage buffer (buf and buflen). we eliminate buflen and use fixed point (ep) as the ending pointer. this fix is critical.
Diffstat (limited to 'sys')
0 files changed, 0 insertions, 0 deletions