bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: hanno at hboeck dot de
Subject: [Bug binutils/17512] segfault in PE parser / _bfd_pei_swap_aouthdr_in
Date: Tue, 11 Nov 2014 10:27:38 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=17512

--- Comment #75 from Hanno Boeck <hanno at hboeck dot de> ---
(In reply to Nick Clifton from comment #73)
> I tried that file, but I could not find a fault.  Either with valgrind or
> address sanitizer.  I have recently updated the readelf sources though, so
> maybe that fixes the problem that you encountered.

That's odd... This is what valgrind tells me (just re-did with latest git
updates, compiled with CFLAGS="-g"):

==30798== Conditional jump or move depends on uninitialised value(s)
==30798==    at 0x492661: _bfd_elf_print_private_bfd_data (elf.c:1408)
==30798==    by 0x4082E6: dump_bfd_private_header (objdump.c:2648)
==30798==    by 0x409781: dump_bfd (objdump.c:3223)
==30798==    by 0x409B36: display_object_bfd (objdump.c:3322)
==30798==    by 0x409D58: display_any_bfd (objdump.c:3396)
==30798==    by 0x409DC9: display_file (objdump.c:3417)
==30798==    by 0x40A643: main (objdump.c:3699)
==30798== 
  required from <corrupt>:
==30798== Conditional jump or move depends on uninitialised value(s)
==30798==    at 0x492730: _bfd_elf_print_private_bfd_data (elf.c:1410)
==30798==    by 0x4082E6: dump_bfd_private_header (objdump.c:2648)
==30798==    by 0x409781: dump_bfd (objdump.c:3223)
==30798==    by 0x409B36: display_object_bfd (objdump.c:3322)
==30798==    by 0x409D58: display_any_bfd (objdump.c:3396)
==30798==    by 0x409DC9: display_file (objdump.c:3417)
==30798==    by 0x40A643: main (objdump.c:3699)
==30798== 
==30798== Conditional jump or move depends on uninitialised value(s)
==30798==    at 0x49274C: _bfd_elf_print_private_bfd_data (elf.c:1404)
==30798==    by 0x4082E6: dump_bfd_private_header (objdump.c:2648)
==30798==    by 0x409781: dump_bfd (objdump.c:3223)
==30798==    by 0x409B36: display_object_bfd (objdump.c:3322)
==30798==    by 0x409D58: display_any_bfd (objdump.c:3396)
==30798==    by 0x409DC9: display_file (objdump.c:3417)
==30798==    by 0x40A643: main (objdump.c:3699)
==30798==

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]