libextractor

GNU libextractor
Log | Files | Refs | Submodules | README | LICENSE

commit 49ff639553498d859e4d218546959741c53798a2
parent 6f6e1e8ef960e39e90c5c878b80c783c71f9b08b
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sat, 14 Aug 2010 20:40:49 +0000

fix

Diffstat:
Msrc/plugins/elf_extractor.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/plugins/elf_extractor.c b/src/plugins/elf_extractor.c @@ -602,6 +602,8 @@ EXTRACTOR_elf_extract (const char *data, break; } } + if (six == ehdr.e_shnum) + return 0; /* stringIdx not found */ for (id = 0; id < dc; id++) {