[Bug 615987] Re: strings aborts on jpeg file

Matthias Klose doko at ubuntu.com
Fri Sep 7 13:46:42 UTC 2012


works with 2.23 (in quantal)

** Changed in: binutils (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to binutils in Ubuntu.
https://bugs.launchpad.net/bugs/615987

Title:
  strings aborts on jpeg file

Status in “binutils” package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: binutils

  Running `strings' from the binutils-multiarch package on the attached
  jpeg file causes an abort: "stack smashing detected".

  sony at sony-laptop:/tmp$ strings sub_bg.jpg 
  *** stack smashing detected ***: strings terminated
  ======= Backtrace: =========
  /lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x50)[0x2c4390]
  /lib/tls/i686/cmov/libc.so.6(+0xe233a)[0x2c433a]
  /usr/lib/libbfd-2.20.1-multiarch.20100303.so(+0x1edef4)[0x826ef4]
  /usr/lib/libbfd-2.20.1-multiarch.20100303.so(+0x11992d)[0x75292d]
  /usr/lib/libbfd-2.20.1-multiarch.20100303.so(bfd_check_format_matches+0x17a)[0x67fd0a]
  /usr/lib/libbfd-2.20.1-multiarch.20100303.so(bfd_check_format+0x2c)[0x68001c]
  strings[0x8049dfe]
  /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0x1f8bd6]
  strings[0x80495e1]
  ======= Memory map: ========
  00110000-0012d000 r-xp 00000000 08:01 610989     /lib/libgcc_s.so.1
  0012d000-0012e000 r--p 0001c000 08:01 610989     /lib/libgcc_s.so.1
  0012e000-0012f000 rw-p 0001d000 08:01 610989     /lib/libgcc_s.so.1
  001cd000-001e0000 r-xp 00000000 08:01 611016     /lib/libz.so.1.2.3.3
  001e0000-001e1000 r--p 00012000 08:01 611016     /lib/libz.so.1.2.3.3
  001e1000-001e2000 rw-p 00013000 08:01 611016     /lib/libz.so.1.2.3.3
  001e2000-00335000 r-xp 00000000 08:01 195491     /lib/tls/i686/cmov/libc-2.11.1.so
  00335000-00336000 ---p 00153000 08:01 195491     /lib/tls/i686/cmov/libc-2.11.1.so
  00336000-00338000 r--p 00153000 08:01 195491     /lib/tls/i686/cmov/libc-2.11.1.so
  00338000-00339000 rw-p 00155000 08:01 195491     /lib/tls/i686/cmov/libc-2.11.1.so
  00339000-0033c000 rw-p 00000000 00:00 0 
  004e4000-004e5000 r-xp 00000000 00:00 0          [vdso]
  00639000-00852000 r-xp 00000000 08:01 392196     /usr/lib/libbfd-2.20.1-multiarch.20100303.so
  00852000-00853000 ---p 00219000 08:01 392196     /usr/lib/libbfd-2.20.1-multiarch.20100303.so
  00853000-0088d000 r--p 00219000 08:01 392196     /usr/lib/libbfd-2.20.1-multiarch.20100303.so
  0088d000-00893000 rw-p 00253000 08:01 392196     /usr/lib/libbfd-2.20.1-multiarch.20100303.so
  00893000-00899000 rw-p 00000000 00:00 0 
  00bc5000-00bc7000 r-xp 00000000 08:01 195494     /lib/tls/i686/cmov/libdl-2.11.1.so
  00bc7000-00bc8000 r--p 00001000 08:01 195494     /lib/tls/i686/cmov/libdl-2.11.1.so
  00bc8000-00bc9000 rw-p 00002000 08:01 195494     /lib/tls/i686/cmov/libdl-2.11.1.so
  00d6d000-00d88000 r-xp 00000000 08:01 611043     /lib/ld-2.11.1.so
  00d88000-00d89000 r--p 0001a000 08:01 611043     /lib/ld-2.11.1.so
  00d89000-00d8a000 rw-p 0001b000 08:01 611043     /lib/ld-2.11.1.so
  08048000-0804d000 r-xp 00000000 08:01 6156908    /usr/bin/strings
  0804d000-0804e000 r--p 00004000 08:01 6156908    /usr/bin/strings
  0804e000-0804f000 rw-p 00005000 08:01 6156908    /usr/bin/strings
  095ff000-09620000 rw-p 00000000 00:00 0          [heap]
  b785e000-b7860000 rw-p 00000000 00:00 0 
  b7874000-b7877000 rw-p 00000000 00:00 0 
  bf995000-bf9aa000 rw-p 00000000 00:00 0          [stack]
  Aborted (core dumped)

  The `strings' binary from the regular `binutils' binary package does
  not have this problem.

  ii  binutils-multiarch   2.20.1-3ubuntu6      Binary utilities that
  support multi-arch targets

  This is Ubuntu 10.04.1 LTS on i386.

  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: binutils-multiarch 2.20.1-3ubuntu6
  ProcVersionSignature: Ubuntu 2.6.32-24.39-generic 2.6.32.15+drm33.5
  Uname: Linux 2.6.32-24-generic i686
  Architecture: i386
  Date: Tue Aug 10 14:04:45 2010
  ProcEnviron:
   LANG=en_US.utf8
   SHELL=/bin/bash
  SourcePackage: binutils

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/615987/+subscriptions




More information about the foundations-bugs mailing list