summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authoritojun <itojun@openbsd.org>2002-06-26 06:00:53 +0000
committeritojun <itojun@openbsd.org>2002-06-26 06:00:53 +0000
commit08b274ea9e3a1e8b9195efff15d236d14ef94b28 (patch)
tree450b10cedc4a1218c0318cceecb376d088f24749 /sys
parentsync (diff)
downloadwireguard-openbsd-08b274ea9e3a1e8b9195efff15d236d14ef94b28.tar.xz
wireguard-openbsd-08b274ea9e3a1e8b9195efff15d236d14ef94b28.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