Bug in readelf
Nick Clifton
nickc@redhat.com
Sat Apr 16 07:44:00 GMT 2005
Hi Martin,
> In the CVS Head version of binutils/readelf.c,
>
> 7390: warn (_("%s: skipping unexpected symbol type %s in relocation in section .rela%s\n"),
> 7391: get_symbol_type (ELF32_ST_TYPE (sym->st_info)),
> 7392: SECTION_NAME (section));
>
> contain 3 %s, while only two parameters are provided. This can cause a segementation fault.
Thanks for reporting this bug. I have checked in the obvious patch to
fix the problem, along with this ChangeLog entry.
Cheers
Nick
binutils/ChangeLog
2005-04-16 Nick Clifton <nickc@redhat.com>
* readelf.c (debug_apply_rela_addends): Remove redundant %s from
printf string.
More information about the Binutils
mailing list