diff options
Diffstat (limited to 'src/plugins/elf_extractor.c')
-rw-r--r-- | src/plugins/elf_extractor.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/elf_extractor.c b/src/plugins/elf_extractor.c index f8a9626..486cd5a 100644 --- a/src/plugins/elf_extractor.c +++ b/src/plugins/elf_extractor.c | |||
@@ -602,6 +602,8 @@ EXTRACTOR_elf_extract (const char *data, | |||
602 | break; | 602 | break; |
603 | } | 603 | } |
604 | } | 604 | } |
605 | if (six == ehdr.e_shnum) | ||
606 | return 0; /* stringIdx not found */ | ||
605 | 607 | ||
606 | for (id = 0; id < dc; id++) | 608 | for (id = 0; id < dc; id++) |
607 | { | 609 | { |