Package: strings
Severity: normal

$ echo hello | strings /dev/stdin
Segmentation Fault
$ echo hello | valgrind strings /dev/stdin
...
==28587== Invalid read of size 8
==28587==    at 0x4B63EAA: _bfd_elf_close_and_cleanup (in 
/usr/lib/libbfd-2.17.so)
==28587==    by 0x4B4AE10: bfd_close (in /usr/lib/libbfd-2.17.so)
==28587==    by 0x40271F: (within /usr/bin/strings)
==28587==    by 0x4CE34C9: (below main) (in /lib/libc-2.3.6.so)
==28587==  Address 0x70 is not stack'd, malloc'd or (recently) free'd
==28587== 
==28587== Process terminating with default action of signal 11 (SIGSEGV)
==28587==  Access not within mapped region at address 0x70
==28587==    at 0x4B63EAA: _bfd_elf_close_and_cleanup (in 
/usr/lib/libbfd-2.17.so)
==28587==    by 0x4B4AE10: bfd_close (in /usr/lib/libbfd-2.17.so)
==28587==    by 0x40271F: (within /usr/bin/strings)
==28587==    by 0x4CE34C9: (below main) (in /lib/libc-2.3.6.so)
...
$ echo hello | strings --target binary /dev/stdin
hello

-jim

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.20.4
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to