* Bug in readelf
@ 2005-04-16 6:02 Martin Koegler
2005-04-16 7:44 ` Nick Clifton
0 siblings, 1 reply; 2+ messages in thread
From: Martin Koegler @ 2005-04-16 6:02 UTC (permalink / raw)
To: binutils
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.
mfg Martin Kögler
e9925248@stud4.tuwien.ac.at
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Bug in readelf
2005-04-16 6:02 Bug in readelf Martin Koegler
@ 2005-04-16 7:44 ` Nick Clifton
0 siblings, 0 replies; 2+ messages in thread
From: Nick Clifton @ 2005-04-16 7:44 UTC (permalink / raw)
To: Martin Koegler; +Cc: binutils
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-04-16 7:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-16 6:02 Bug in readelf Martin Koegler
2005-04-16 7:44 ` Nick Clifton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).