summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.c
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2017-04-18 13:44:03 +0000
committerkrw <krw@openbsd.org>2017-04-18 13:44:03 +0000
commitbb4d9bd72b5c66bd3be98a81dc071f49dd411523 (patch)
tree786d74b474d08b40920ff26919734826f3f147eb /lib/libc/stdlib/malloc.c
parentensure the buffer cache backs off all the way with the correct type (diff)
downloadwireguard-openbsd-bb4d9bd72b5c66bd3be98a81dc071f49dd411523.tar.xz
wireguard-openbsd-bb4d9bd72b5c66bd3be98a81dc071f49dd411523.zip
After 11 years of pondering about it I think that brookdavis@freebsd.org
had it correct. Don't BPF_WORDALIGN() the value for the number of bytes read() into the buffer. This could theoretically cause the processing of 1 - 3 more bytes than were read.
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions