Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1775 - pnm2ppa fix
Summary: pnm2ppa fix
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-14 15:12 UTC by Paul de Vrieze (RETIRED)
Modified: 2002-04-14 15:53 UTC (History)
0 users

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


Attachments
patch to pnm2ppa-1.0.91-r1-gentoo.diff (pnm2ppadiff,650 bytes, patch)
2002-04-14 15:12 UTC, Paul de Vrieze (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paul de Vrieze (RETIRED) gentoo-dev 2002-04-14 15:12:06 UTC
I found a bug in pnm2ppa (allready reported upstream) that causes havoc with high 
optimization. A helper function of the command line parser forgets to allocate memory for 
a returned string, but instead uses the stack. This doesn't work with multiple options. 
My patch is for the gentoo-diff file, and patches pnm2ppa.c too
Comment 1 Paul de Vrieze (RETIRED) gentoo-dev 2002-04-14 15:12:59 UTC
Created attachment 564 [details, diff]
patch to pnm2ppa-1.0.91-r1-gentoo.diff
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2002-04-14 15:53:38 UTC
bit of a confusing patch you sent in
the patch for the gentoo-diff in files doesn't change anything

Anyway, thanks for the rest of the diff.  I have committed it to portage.