Re: [PATCH] nm: Handle corrupt symbol name table.

2020-06-10 Thread Mark Wielaard
On Sun, 2020-06-07 at 16:51 +0200, Mark Wielaard wrote: > We try to sort symbol by name (when neither -n nor -p are given). > This could crash if the symbol name table was corrupt. Use elf_strptr > to get the symbol name and use the empty string in case a name > couldn't be found. Pushed to master

[PATCH] nm: Handle corrupt symbol name table.

2020-06-07 Thread Mark Wielaard
We try to sort symbol by name (when neither -n nor -p are given). This could crash if the symbol name table was corrupt. Use elf_strptr to get the symbol name and use the empty string in case a name couldn't be found. Signed-off-by: Mark Wielaard --- src/ChangeLog | 8 src/nm.c |