<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>1775</bug_id>
          
          <creation_ts>2002-04-14 15:12 0000</creation_ts>
          <short_desc>pnm2ppa fix</short_desc>
          <delta_ts>2002-04-14 15:53:38 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>1.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>pauldv@gentoo.org</reporter>
          <assigned_to>seemant@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>pauldv@gentoo.org</who>
            <bug_when>2002-04-14 15:12:06 0000</bug_when>
            <thetext>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&apos;t work with multiple options. 
My patch is for the gentoo-diff file, and patches pnm2ppa.c too</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>pauldv@gentoo.org</who>
            <bug_when>2002-04-14 15:12:59 0000</bug_when>
            <thetext>Created an attachment (id=564)
patch to pnm2ppa-1.0.91-r1-gentoo.diff
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>seemant@gentoo.org</who>
            <bug_when>2002-04-14 15:53:38 0000</bug_when>
            <thetext>bit of a confusing patch you sent in
the patch for the gentoo-diff in files doesn&apos;t change anything

Anyway, thanks for the rest of the diff.  I have committed it to portage.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>564</attachid>
            <date>2002-04-14 15:12 0000</date>
            <desc>patch to pnm2ppa-1.0.91-r1-gentoo.diff</desc>
            <filename>pnm2ppadiff</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIHBubTJwcGEtMS4wLjkxLXIxLWdlbnRvby5kaWZmCTIwMDItMDQtMTEgMTU6MDQ6NDQuMDAw
MDAwMDAwICswMjAwCisrKyBwbm0ycHBhLTEuMC45MS1yMi1nZW50b28uZGlmZgkyMDAyLTA0LTE0
IDIyOjA1OjUyLjAwMDAwMDAwMCArMDIwMApAQCAtMjY0LDMgKzI2NCwxNSBAQAogLSAgICAgICAg
OmlmPS91c3IvbG9jYWwvYmluL3BwYS5pZjpcCiArICAgICAgICA6aWY9L3Vzci9iaW4vcHBhLmlm
OlwKICAgICAgICAgIDpsYTpteCMwOgorZGlmZiAtdXJOIHBubTJwcGEvcG5tMnBwYS5jIHBubTJw
cGEtbmV3L3BubTJwcGEuYworLS0tIHBubTJwcGEvcG5tMnBwYS5jCVNhdCBOb3YgMTEgMjA6NTM6
MDMgMjAwMAorKysrIHBubTJwcGEtbmV3L3BubTJwcGEuYwlTdW4gQXByIDE0IDIxOjQ4OjQwIDIw
MDIKK0BAIC0xNTYsNyArMTU2LDcgQEAKKyAJICAgIGEgdXNlci1zcGVjaWZlZCBmaWxlICpGaWxl
X3BhdGggbWF5IGxhdGVyIGJlIG9wZW5lZDsKKyAJICAgIHNob3VsZCBhbnkgZXh0cmEgdmFsaWRh
dGlvbiBvZiB0aGlzIGJlIHBlcmZvcm1lZCBub3cgPworIAkgICovCistCSAgcGF0aCA9IEZpbGVf
cGF0aDsKKysJICBwYXRoID0gc3RybmR1cChGaWxlX3BhdGgsTUFYUEFUSExFTik7CisgCSAgcmV0
dXJuIHBhdGg7CisgCX0KKyAgICAgfQo=
</data>        

          </attachment>
    </bug>

</bugzilla>