Broken message (extraction) in binutils 2.24.90

2014-10-28 Thread Göran Uddeborg
In readelf.c, in the macro CHECK_ENTSIZE_VALUES, there is this code error (_("Section %d has invalid sh_entsize of %" BFD_VMA_FMT "x\n"), \ i, section->sh_entsize); \ When extracting message strings from this code, only the first part will be extracted: msgid "Section %d has i

[Bug binutils/17512] segfault in PE parser / _bfd_pei_swap_aouthdr_in

2014-10-28 Thread hanno at hboeck dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=17512 --- Comment #23 from Hanno Boeck --- The objdump-pe-crasher2 issue is fixed, the use-after-free (when running strings or objdump -x on objdump-elf-crasher and strings-bfd-badfree at the same time) is stillt there. -- You are receiving this m

[Bug binutils/17512] segfault in PE parser / _bfd_pei_swap_aouthdr_in

2014-10-28 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=17512 --- Comment #22 from cvs-commit at gcc dot gnu.org --- This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gdb and binutils". The branch

[Bug binutils/17512] segfault in PE parser / _bfd_pei_swap_aouthdr_in

2014-10-28 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17512 --- Comment #21 from Nick Clifton --- Hi Hanno, Please try the latest git head, which should address both of the problems detected by the address sanitizer. Cheers Nick -- You are receiving this mail because: You are on the CC list for

[Bug binutils/17512] segfault in PE parser / _bfd_pei_swap_aouthdr_in

2014-10-28 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=17512 --- Comment #20 from cvs-commit at gcc dot gnu.org --- This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gdb and binutils". The branch

[Bug binutils/17512] segfault in PE parser / _bfd_pei_swap_aouthdr_in

2014-10-28 Thread hanno at hboeck dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=17512 --- Comment #19 from Hanno Boeck --- Created attachment 7859 --> https://sourceware.org/bugzilla/attachment.cgi?id=7859&action=edit address sanitizer trace on objdump-elf-crasher AND strings-bfd-badfree -- You are receiving this mail becau

[Bug binutils/17512] segfault in PE parser / _bfd_pei_swap_aouthdr_in

2014-10-28 Thread hanno at hboeck dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=17512 --- Comment #18 from Hanno Boeck --- Created attachment 7858 --> https://sourceware.org/bugzilla/attachment.cgi?id=7858&action=edit address sanitizer trace on objdump-pe-crasher2 -- You are receiving this mail because: You are on the CC li

[Bug binutils/17512] segfault in PE parser / _bfd_pei_swap_aouthdr_in

2014-10-28 Thread hanno at hboeck dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=17512 --- Comment #17 from Hanno Boeck --- okay, things are getting a little bit compilcated, but here are my test results: objdump-pe-crasher2 gives a heap overflow on latest git head with address sanitizer enabled (will attach symbolized output /

[Bug binutils/17512] segfault in PE parser / _bfd_pei_swap_aouthdr_in

2014-10-28 Thread cherepan at mccme dot ru
https://sourceware.org/bugzilla/show_bug.cgi?id=17512 Alexander Cherepanov changed: What|Removed |Added CC||cherepan at mccme dot ru --- C

[Bug binutils/16825] bfd/versados.c: Multiple failures to validate user input

2014-10-28 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16825 Nick Clifton changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #2 from Nick Clif

[Bug binutils/16825] bfd/versados.c: Multiple failures to validate user input

2014-10-28 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16825 Nick Clifton changed: What|Removed |Added CC||nickc at redhat dot com --- Comment #1

[Bug binutils/17512] segfault in PE parser / _bfd_pei_swap_aouthdr_in

2014-10-28 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17512 --- Comment #15 from Nick Clifton --- Hi Hanno, > It's a bit confusing. When I patch binutils 2.24 with attachment 7855 > [details] (and a bunch of other crash fixes for the other issues) then I can > still reproduce the crash with objdump-pe

[Bug binutils/17512] segfault in PE parser / _bfd_pei_swap_aouthdr_in

2014-10-28 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17512 --- Comment #14 from Nick Clifton --- Hi Mike, > for each of the crash fixes, could you post them to the 2.25 branch ? Done. :-) Cheers Nick -- You are receiving this mail because: You are on the CC list for the bug. __

[Bug binutils/17510] strings: crash when given a truncated ELF

2014-10-28 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=17510 --- Comment #10 from cvs-commit at gcc dot gnu.org --- This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gdb and binutils". The branch

[Bug binutils/17512] segfault in PE parser / _bfd_pei_swap_aouthdr_in

2014-10-28 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=17512 --- Comment #13 from cvs-commit at gcc dot gnu.org --- This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gdb and binutils". The branch

[Bug binutils/17510] strings: crash when given a truncated ELF

2014-10-28 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=17510 --- Comment #9 from cvs-commit at gcc dot gnu.org --- This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gdb and binutils". The branch,

[Bug binutils/17512] segfault in PE parser / _bfd_pei_swap_aouthdr_in

2014-10-28 Thread hanno at hboeck dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=17512 --- Comment #12 from Hanno Boeck --- It's a bit confusing. When I patch binutils 2.24 with attachment 7855 (and a bunch of other crash fixes for the other issues) then I can still reproduce the crash with objdump-pe-crasher (please note that t

[Bug binutils/17512] segfault in PE parser / _bfd_pei_swap_aouthdr_in

2014-10-28 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17512 --- Comment #11 from Nick Clifton --- (In reply to Hanno Boeck from comment #10) > With all patches attached objdump-pe-crasher still causes objdump to crash > (attachment 7854 [details] on this bug). To reproduce run > objdump -x objdump-pe-c