diff options
| author | Mark Wielaard <[email protected]> | 2014-12-26 16:12:52 +0100 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2015-01-12 22:04:44 +0100 |
| commit | 0b799ad9822f4866aaf1eb34564681e83bdaf9f1 (patch) | |
| tree | a939b5982cf0bcb48630e4f5dd849db17b2d4285 /src/nm.c | |
| parent | 68588d628a464698031323d8eb42a961c0846ba9 (diff) | |
nm: Stop processing ar members on first invalid offset.
Otherwise we will keep looping on that same invalid entry.
https://bugzilla.redhat.com/show_bug.cgi?id=1170810
Reported-by: Alexander Cherepanov <[email protected]>
Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'src/nm.c')
| -rw-r--r-- | src/nm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -468,7 +468,7 @@ handle_ar (int fd, Elf *elf, const char *prefix, const char *fname, { error (0, 0, gettext ("invalid offset %zu for symbol %s"), arsym->as_off, arsym->as_name); - continue; + break; } printf (gettext ("%s in %s\n"), arsym->as_name, arhdr->ar_name); |
