Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 117180

Summary: netpbm-10.31: pnmtopng segfaults
Product: Gentoo Linux Reporter: rgo <rgo>
Component: Current packagesAssignee: Gentoo Graphics Project <graphics+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: rgo
Priority: Highest    
Version: 1.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Possible fix to a problem
netpbm-10.31-pnmtopng-modtime-segfault.patch

Description rgo 2005-12-30 04:20:34 UTC
pnmtopng segfaults. Options of command line has no affect except `--modtime'.
for example:
$ pnmtopng
Segmentation fault
at the same time
$ pnmtopng --modtime 1
works.
Comment 1 rgo 2005-12-30 04:25:23 UTC
Created attachment 75782 [details, diff]
Possible fix to a problem

There use in function parseCommandLine of unitialized cmdlineP->modtimeSpec. Patch fixes this by making cmdline are static var.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-12-30 04:27:24 UTC
*** Bug 117181 has been marked as a duplicate of this bug. ***
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-12-30 04:27:33 UTC
*** Bug 117182 has been marked as a duplicate of this bug. ***
Comment 4 SpanKY gentoo-dev 2005-12-30 15:19:10 UTC
Created attachment 75832 [details, diff]
netpbm-10.31-pnmtopng-modtime-segfault.patch

try this patch instead
Comment 5 SpanKY gentoo-dev 2005-12-30 18:21:56 UTC
upstream took the patch, added to 10.31-r1