summaryrefslogtreecommitdiffstats
path: root/usr.bin/dig/lib/isc/unix/stdio.c
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2020-02-14 14:55:30 +0000
committermpi <mpi@openbsd.org>2020-02-14 14:55:30 +0000
commit3f9f024d255b55dddb6939644c991e6ad7083416 (patch)
tree223162fb2c1a5cf29c1750278fc1fa406f6fe4a3 /usr.bin/dig/lib/isc/unix/stdio.c
parentPush the KERNEL_LOCK() insidge pgsigio() and selwakeup(). (diff)
downloadwireguard-openbsd-3f9f024d255b55dddb6939644c991e6ad7083416.tar.xz
wireguard-openbsd-3f9f024d255b55dddb6939644c991e6ad7083416.zip
Prevent buffer overflows by not assuming the report length, given by
the hardware, is necessarily smaller than the length of the on-stack buffer. Original fix from Maxime Villard in NetBSD via deraadt@. Tested by matthieu@
Diffstat (limited to 'usr.bin/dig/lib/isc/unix/stdio.c')
0 files changed, 0 insertions, 0 deletions