summaryrefslogtreecommitdiffstats
path: root/usr.bin/dig/lib/dns/rdata.c
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2020-02-25 10:03:39 +0000
committermpi <mpi@openbsd.org>2020-02-25 10:03:39 +0000
commitcc1678f7d7445295bd65fddc30734e2e826c79c2 (patch)
tree3c0ef9b81d31b47e028ec4dc5826e519d46eaadc /usr.bin/dig/lib/dns/rdata.c
parentsort previous, and shorten the text; ok dlg yasuoka (diff)
downloadwireguard-openbsd-cc1678f7d7445295bd65fddc30734e2e826c79c2.tar.xz
wireguard-openbsd-cc1678f7d7445295bd65fddc30734e2e826c79c2.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@.
Diffstat (limited to 'usr.bin/dig/lib/dns/rdata.c')
0 files changed, 0 insertions, 0 deletions