Bug#571143: binutils: readelf Segmentation fault
castet.matth...@free.fr a écrit : Quoting Matthias Klose d...@debian.org: On 23.02.2010 21:32, matthieu castet wrote: Symbol table for image: Num Buc:Value Size Type Bind Vis Ndx Name Segmentation fault how was this file produced? while readelf shouldn't segfault, the file looks corrupted: It can be produced by using sstrip[1] on a elf binary. Which got a bug (https://dev.openwrt.org/ticket/6847) but readelf shouldn't crash with invalid elf. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#571143: binutils: readelf Segmentation fault
On 23.02.2010 21:32, matthieu castet wrote: Package: binutils Version: 2.20-6 Severity: normal $readelf -D -s /tmp/srelay Symbol table for image: Num Buc:Value Size Type Bind Vis Ndx Name Segmentation fault how was this file produced? while readelf shouldn't segfault, the file looks corrupted: $ file srelay srelay: ELF 32-bit LSB executable, MIPS, MIPS32 version 1, dynamically linked (uses shared libs), corrupted section header size -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#571143: binutils: readelf Segmentation fault
Quoting Matthias Klose d...@debian.org: On 23.02.2010 21:32, matthieu castet wrote: Symbol table for image: Num Buc:Value Size Type Bind Vis Ndx Name Segmentation fault how was this file produced? while readelf shouldn't segfault, the file looks corrupted: It can be produced by using sstrip[1] on a elf binary. Matthieu [1] http://git.uclibc.org/buildroot/tree/toolchain/sstrip -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#571143: binutils: readelf Segmentation fault
Package: binutils Version: 2.20-6 Severity: normal $readelf -D -s /tmp/srelay Symbol table for image: Num Buc:Value Size Type Bind Vis Ndx Name Segmentation fault -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.32-2-686 (SMP w/1 CPU core) Locale: LANG=C, LC_CTYPE=C (charmap=ISO-8859-1) (ignored: LC_ALL set to fr_FR) Shell: /bin/sh linked to /bin/dash Versions of packages binutils depends on: ii libc6 2.10.2-5 Embedded GNU C Library: Shared lib ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime binutils recommends no packages. Versions of packages binutils suggests: pn binutils-doc none (no description available) -- no debconf information srelay Description: application/executable