CVSROOT: /cvs Module name: src Changes by: [email protected] 2015/06/23 09:13:29
Modified files:
usr.bin/nm : elf.c
Log message:
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@
