summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authoritojun <itojun@openbsd.org>2002-06-26 06:01:16 +0000
committeritojun <itojun@openbsd.org>2002-06-26 06:01:16 +0000
commit18f6bd3ba79234e07a2182cf64960cf93a578787 (patch)
treef2b234d63ca039e56947d5860fed0dbd0bd06318 /sys
parentavoid remote buffer overrun on hostbuf[]. From: Joost Pol <joost@pine.nl> (diff)
downloadwireguard-openbsd-18f6bd3ba79234e07a2182cf64960cf93a578787.tar.xz
wireguard-openbsd-18f6bd3ba79234e07a2182cf64960cf93a578787.zip
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 NOT critical.
Diffstat (limited to 'sys')
0 files changed, 0 insertions, 0 deletions