This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Bug in readelf
- From: Nick Clifton <nickc at redhat dot com>
- To: Martin Koegler <mkoegler at curie dot auto dot tuwien dot ac dot at>
- Cc: binutils at sources dot redhat dot com
- Date: Sat, 16 Apr 2005 08:43:15 +0100
- Subject: Re: Bug in readelf
- References: <20050415101337.GA25948@curie.auto.tuwien.ac.at>
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.