Public bug reported:

Running pnmtofiasco on a well-formed pnm file causes a segfault on
precise.  The same command on oneiric runs correctly.  The image in
question is attached.  Output follows:

max@daedelus:~/bzr/qa-regression-testing/scripts$ /usr/bin/pnmtofiasco 
data/well-formed.pnm
*** buffer overflow detected ***: /usr/bin/pnmtofiasco terminated
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7f6fb25b3887]
/lib/x86_64-linux-gnu/libc.so.6(+0xf77a0)[0x7f6fb25b27a0]
/usr/bin/pnmtofiasco[0x4212ab]
/usr/bin/pnmtofiasco[0x421519]
/usr/bin/pnmtofiasco[0x40431a]
/usr/bin/pnmtofiasco[0x4020de]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7f6fb24dc30d]
/usr/bin/pnmtofiasco[0x402471]
======= Memory map: ========
00400000-0042a000 r-xp 00000000 07:00 392491                             
/usr/bin/pnmtofiasco
00629000-0062a000 r--p 00029000 07:00 392491                             
/usr/bin/pnmtofiasco
0062a000-0062b000 rw-p 0002a000 07:00 392491                             
/usr/bin/pnmtofiasco
0062b000-00660000 rw-p 00000000 00:00 0 
009b8000-00a22000 rw-p 00000000 00:00 0                                  [heap]
7f6fb228b000-7f6fb22a0000 r-xp 00000000 07:00 261242                     
/lib/x86_64-linux-gnu/libgcc_s.so.1
7f6fb22a0000-7f6fb249f000 ---p 00015000 07:00 261242                     
/lib/x86_64-linux-gnu/libgcc_s.so.1
7f6fb249f000-7f6fb24a0000 r--p 00014000 07:00 261242                     
/lib/x86_64-linux-gnu/libgcc_s.so.1
7f6fb24a0000-7f6fb24a1000 rw-p 00015000 07:00 261242                     
/lib/x86_64-linux-gnu/libgcc_s.so.1
7f6fb24bb000-7f6fb2650000 r-xp 00000000 07:00 270433                     
/lib/x86_64-linux-gnu/libc-2.13.so
7f6fb2650000-7f6fb284f000 ---p 00195000 07:00 270433                     
/lib/x86_64-linux-gnu/libc-2.13.so
7f6fb284f000-7f6fb2853000 r--p 00194000 07:00 270433                     
/lib/x86_64-linux-gnu/libc-2.13.so
7f6fb2853000-7f6fb2854000 rw-p 00198000 07:00 270433                     
/lib/x86_64-linux-gnu/libc-2.13.so
7f6fb2854000-7f6fb285a000 rw-p 00000000 00:00 0 
7f6fb285a000-7f6fb28dd000 r-xp 00000000 07:00 270981                     
/lib/x86_64-linux-gnu/libm-2.13.so
7f6fb28dd000-7f6fb2adc000 ---p 00083000 07:00 270981                     
/lib/x86_64-linux-gnu/libm-2.13.so
7f6fb2adc000-7f6fb2add000 r--p 00082000 07:00 270981                     
/lib/x86_64-linux-gnu/libm-2.13.so
7f6fb2add000-7f6fb2ade000 rw-p 00083000 07:00 270981                     
/lib/x86_64-linux-gnu/libm-2.13.so
7f6fb2ade000-7f6fb2afc000 r-xp 00000000 07:00 403294                     
/usr/lib/libnetpbm.so.10.0
7f6fb2afc000-7f6fb2cfc000 ---p 0001e000 07:00 403294                     
/usr/lib/libnetpbm.so.10.0
7f6fb2cfc000-7f6fb2cfd000 r--p 0001e000 07:00 403294                     
/usr/lib/libnetpbm.so.10.0
7f6fb2cfd000-7f6fb2d01000 rw-p 0001f000 07:00 403294                     
/usr/lib/libnetpbm.so.10.0
7f6fb2d01000-7f6fb2d22000 r-xp 00000000 07:00 270748                     
/lib/x86_64-linux-gnu/ld-2.13.so
7f6fb2d36000-7f6fb2f05000 rw-p 00000000 00:00 0 
7f6fb2f1e000-7f6fb2f21000 rw-p 00000000 00:00 0 
7f6fb2f21000-7f6fb2f22000 r--p 00020000 07:00 270748                     
/lib/x86_64-linux-gnu/ld-2.13.so
7f6fb2f22000-7f6fb2f24000 rw-p 00021000 07:00 270748                     
/lib/x86_64-linux-gnu/ld-2.13.so
7fff345a0000-7fff345c1000 rw-p 00000000 00:00 0                          [stack]
7fff345ff000-7fff34600000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  
[vsyscall]
Aborted (core dumped)

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: netpbm 2:10.0-15
ProcVersionSignature: Ubuntu 3.2.0-8.14-generic 3.2.0
Uname: Linux 3.2.0-8-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.90-0ubuntu1
Architecture: amd64
Date: Tue Jan 10 04:47:41 2012
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: netpbm-free
UpgradeStatus: Upgraded to precise on 2012-01-09 (0 days ago)

** Affects: netpbm-free (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug precise running-unity

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

Title:
  pnmtofiasco causes segfault on precise

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netpbm-free/+bug/914191/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to