Bug 117180 - netpbm-10.31: pnmtopng segfaults
Bug#: 117180 Product:  Gentoo Linux Version: 1.0 Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P1
Resolution: FIXED Assigned To: graphics@gentoo.org Reported By: rgo@mail.interzet.ru
Component: Applications
URL: 
Summary: netpbm-10.31: pnmtopng segfaults
Keywords:  
Status Whiteboard: 
Opened: 2005-12-30 04:20 0000
Description:   Opened: 2005-12-30 04:20 0000
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 From rgo 2005-12-30 04:25:23 0000 -------
Created an attachment (id=75782) [details]
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 From Jakub Moc (RETIRED) 2005-12-30 04:27:24 0000 -------
*** Bug 117181 has been marked as a duplicate of this bug. ***

------- Comment #3 From Jakub Moc (RETIRED) 2005-12-30 04:27:33 0000 -------
*** Bug 117182 has been marked as a duplicate of this bug. ***

------- Comment #4 From SpanKY 2005-12-30 15:19:10 0000 -------
Created an attachment (id=75832) [details]
netpbm-10.31-pnmtopng-modtime-segfault.patch

try this patch instead

------- Comment #5 From SpanKY 2005-12-30 18:21:56 0000 -------
upstream took the patch, added to 10.31-r1