1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-03 06:45:37 -08:00
openbsd-src/usr.bin/nm
semarie 8e73cb8c24 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@
2015-06-23 15:13:29 +00:00
..
elf.c This patch ensure that e_shentsize (sections header's size in bytes) is 2015-06-23 15:13:29 +00:00
elfuncs.h corrects a read after bound that occurs in strcmp (line just 2015-06-23 15:02:58 +00:00
Makefile
nm.1 Add -D option for displaying the dynamic symbol table 2015-05-17 20:19:08 +00:00
nm.c Add 'D' to usage optstring. Prodded by jmc@ 2015-05-17 21:41:50 +00:00
size.1 catch up with elf(5)/stab(5) removal; 2013-10-20 07:40:39 +00:00
util.h Add -D option for displaying the dynamic symbol table 2015-05-17 20:19:08 +00:00