summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorsemarie <semarie@openbsd.org>2015-06-23 15:13:29 +0000
committersemarie <semarie@openbsd.org>2015-06-23 15:13:29 +0000
commit8e73cb8c2437f776da5b34c93cc8a38495fb4cdc (patch)
treefdd4c98b9c2ecb0ac2a7db90c7a789cb9b0eb617 /lib
parentcorrects a read after bound that occurs in strcmp (line just (diff)
downloadwireguard-openbsd-8e73cb8c2437f776da5b34c93cc8a38495fb4cdc.tar.xz
wireguard-openbsd-8e73cb8c2437f776da5b34c93cc8a38495fb4cdc.zip
This patch ensure that e_shentsize (sections header's size in bytes) is
big enough to fill at least one Elf_Shdr. While here, inverts calloc() arguments to be calloc(nmemb, size), according to fread() call after. This problem was found with afl, with e_shentsize=1. ok miod@
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions