summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authoritojun <itojun@openbsd.org>2002-06-26 06:08:30 +0000
committeritojun <itojun@openbsd.org>2002-06-26 06:08:30 +0000
commitc04d2687943c04b3fadd8667d4938324ab502c0d (patch)
tree3712f179f91caf96e661b692251be6742fadc223 /sys/dev
parentavoid remote buffer overrun on hostbuf[]. From: Joost Pol <joost@pine.nl> (diff)
downloadwireguard-openbsd-c04d2687943c04b3fadd8667d4938324ab502c0d.tar.xz
wireguard-openbsd-c04d2687943c04b3fadd8667d4938324ab502c0d.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/dev')
0 files changed, 0 insertions, 0 deletions