add some check before accessing data:
authorsemarie <semarie@openbsd.org>
Tue, 23 Jun 2015 13:43:08 +0000 (13:43 +0000)
committersemarie <semarie@openbsd.org>
Tue, 23 Jun 2015 13:43:08 +0000 (13:43 +0000)
commit642c3e06fd11b59af4550a00ec59dd254d055316
tree3d3ba361851a6d8bfa459d453ceff834efab7f9e
parentf47663ad1ab2e2faf61e4f34cc48ad4381881c8f
add some check before accessing data:
 - if section header table is be present
 - consistency of section header table size

ok miod@
usr.bin/nm/elf.c