Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117180 - netpbm-10.31: pnmtopng segfaults
Summary: netpbm-10.31: pnmtopng segfaults
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Highest normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
: 117181 117182 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-12-30 04:20 UTC by rgo
Modified: 2005-12-30 18:21 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Possible fix to a problem (netpbm-10.31-uninitialized-cmdline-var.patch,487 bytes, patch)
2005-12-30 04:25 UTC, rgo
Details | Diff
netpbm-10.31-pnmtopng-modtime-segfault.patch (netpbm-10.31-pnmtopng-modtime-segfault.patch,939 bytes, patch)
2005-12-30 15:19 UTC, SpanKY
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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