<?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>115775</bug_id>
          
          <creation_ts>2005-12-16 07:25 0000</creation_ts>
          <short_desc>app-text/tetex,cstetex,ptex share xpdf bugs listed in GLSA 200512-08 (CAN-2005-3193)</short_desc>
          <delta_ts>2006-05-23 10:48:28 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Security</product>
          <component>Vulnerabilities</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <status_whiteboard>B2 [glsa] jaervosz</status_whiteboard>
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>castan.o@free.fr</reporter>
          <assigned_to>security@gentoo.org</assigned_to>
          <cc>cjk@gentoo.org</cc>
    
    <cc>malenko@email.cz</cc>
    
    <cc>mips@gentoo.org</cc>
    
    <cc>text-markup@gentoo.org</cc>
    
    <cc>wolf31o2@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>castan.o@free.fr</who>
            <bug_when>2005-12-16 07:25:10 0000</bug_when>
            <thetext>This bug submission has been resquested by Thierry Carrez in bug #114428.

CAN-2005-319{1|2|3} affect tetex since xpdf code is included in tetex-src tarball.

I&apos;ve checked tetex-src-3.0/xpdf/xpdf/Stream.cc from tetex-src-3.0.tar.gz and
verified that patch ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.01pl1.patch has not
been applied.

Moreover Fedora has already issued an 2 updates :
http://www.redhat.com/archives/fedora-announce-list/2005-December/msg00015.html
http://www.redhat.com/archives/fedora-announce-list/2005-December/msg00016.html


Reproducible: Always
Steps to Reproduce:</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2005-12-17 03:03:51 0000</bug_when>
            <thetext>Ccing maintainers so that they know about it.
For now just waiting, more issues coming up.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2006-01-03 07:50:02 0000</bug_when>
            <thetext>Further Xpdf issues. See bug #117481 for details.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2006-01-05 02:09:26 0000</bug_when>
            <thetext>See patch on bug 117481</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2006-01-11 07:29:31 0000</bug_when>
            <thetext>Madrive released their fixed version.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2006-01-22 00:10:51 0000</bug_when>
            <thetext>text-markup any news on this one?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nattfodd@gentoo.org</who>
            <bug_when>2006-01-22 02:58:08 0000</bug_when>
            <thetext>I&apos;ll include patch on bug 117481 with tetex-3.0_p1-r1, which should hopefully happen very soon (I still have an unsolved issue about which file generates which during a tetex build, so patch in bug 98029 can be applied correctly).

If it&apos;s still delayed, poke me again and I&apos;ll do a special revision just for this.


Thanks, and sorry for the delay</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nattfodd@gentoo.org</who>
            <bug_when>2006-01-22 08:38:03 0000</bug_when>
            <thetext>tetex-3.0_p1-r1 has just been commited and it includes the fixes from bug #117481, though the patch was not directly applied as upstream had already ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.01pl1.patch in the tarball of 3.0_p1.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2006-01-22 08:56:26 0000</bug_when>
            <thetext>Reopening: tetex-3 is not stable so we need a fix for tetex-2.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nattfodd@gentoo.org</who>
            <bug_when>2006-01-23 14:06:46 0000</bug_when>
            <thetext>Done in tetex-2.0.2-r8 (which uses xpdf2 code). 
Please stabilize.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dercorny@gentoo.org</who>
            <bug_when>2006-01-23 14:40:48 0000</bug_when>
            <thetext>dear arches, please test and mark tetex-2.0.2-r8 stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gustavoz@gentoo.org</who>
            <bug_when>2006-01-23 17:11:42 0000</bug_when>
            <thetext>dear security, sparc stable!
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>killerfox@gentoo.org</who>
            <bug_when>2006-01-24 06:23:21 0000</bug_when>
            <thetext>Stable on hppa</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dertobi123@gentoo.org</who>
            <bug_when>2006-01-24 06:29:18 0000</bug_when>
            <thetext>ppc stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>corsair@gentoo.org</who>
            <bug_when>2006-01-24 08:01:39 0000</bug_when>
            <thetext>stable on ppc64</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kingtaco@gentoo.org</who>
            <bug_when>2006-01-24 18:30:29 0000</bug_when>
            <thetext>amd64 stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tsunam@gentoo.org</who>
            <bug_when>2006-01-24 23:44:48 0000</bug_when>
            <thetext>stable on x86, horray for latex :)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>yoswink@gentoo.org</who>
            <bug_when>2006-01-25 15:29:58 0000</bug_when>
            <thetext>Are the tetex tests working fine?

Failed on alpha. Any other way of proper testing?

----------------------------------------------------------
make[2]: Entering directory `/var/tmp/portage/tetex-2.0.2-r8/work/tetex-src-2.0.2/texk/web2c&apos;
test -f tests/exampl.aux || \
  cp ./tests/exampl.aux tests/exampl.aux
TEXMFCNF=../kpathsea/texmf.cnf BSTINPUTS=./tests ./bibtex tests/exampl
This is BibTeX, Version 0.99c (Web2C 7.4.5)
The top-level auxiliary file: tests/exampl.aux
I couldn&apos;t open database file xampl.bib
---line 1 of file tests/exampl.aux
 : \bibdata{xampl
 :               }
I&apos;m skipping whatever remains of this command
The style file: apalike.bst
I found no database files---while reading file tests/exampl.aux
Warning--I didn&apos;t find a database entry for &quot;whole-journal&quot;
Warning--I didn&apos;t find a database entry for &quot;whole-set&quot;
Warning--I didn&apos;t find a database entry for &quot;whole-collection&quot;
Warning--I didn&apos;t find a database entry for &quot;whole-proceedings&quot;
Warning--I didn&apos;t find a database entry for &quot;book-full&quot;
(There were 2 error messages)
make[2]: *** [bibtex-check] Error 2
make[2]: Leaving directory `/var/tmp/portage/tetex-2.0.2-r8/work/tetex-src-2.0.2/texk/web2c&apos;
make[1]: *** [check] Error 1
make[1]: Leaving directory `/var/tmp/portage/tetex-2.0.2-r8/work/tetex-src-2.0.2/texk&apos;
make: *** [check] Error 2
----------------------------------------------------------</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2006-01-30 13:48:13 0000</bug_when>
            <thetext>text-markup please advise.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2006-01-30 14:23:10 0000</bug_when>
            <thetext>Back to ebuild wating to apply fix from bug #120985</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2006-02-11 13:48:03 0000</bug_when>
            <thetext>nattfodd, could you do your magic again ?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nattfodd@gentoo.org</who>
            <bug_when>2006-02-11 15:03:33 0000</bug_when>
            <thetext>Is there some way I can access an alpha box with emerge capabilities?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2006-02-12 04:55:19 0000</bug_when>
            <thetext>The alpha herd is probably your friend in such a quest...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nattfodd@gentoo.org</who>
            <bug_when>2006-02-13 03:48:59 0000</bug_when>
            <thetext>@jaervosz: I just check the source of tetex-2.0.2-r8 and the incriminated file from bug 120985 isn&apos;t there (tetex only uses part of xpdf source code, not the whole application).

@yoswink: I tested tetex-2.0.2-r8 on an alpha box (thanks to the alpha herd) and it worked fine. Can you tell me if you have the file tetex-src-2.0.2/texmf/bibtex/bib/base/xampl.bib? Maybe we should move this elsewhere, as it doesn&apos;t seem to be related at all to xpdf patches or security matters.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2006-02-13 10:18:23 0000</bug_when>
            <thetext>Ready for GLSA then.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2006-02-18 06:38:44 0000</bug_when>
            <thetext>I fear app-text/cstetex app-text/ptex are affected as well... Maintainer herds, care to comment ?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nattfodd@gentoo.org</who>
            <bug_when>2006-02-18 08:03:18 0000</bug_when>
            <thetext>I&apos;m almost done with cstetex, which uses the tetex base code, so it&apos;s just a matter of adding the extra patch. Just checking it compiles fine and I&apos;ll commit it as 2.0.2-r2. It will need stabilization for x86 and amd64 though.

I&apos;ll have a look at ptex after that, too.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nattfodd@gentoo.org</who>
            <bug_when>2006-02-18 09:28:27 0000</bug_when>
            <thetext>I ended up porting most of the recent tetex patches to both of these packages.
Anyway, cstetex-2.0.2-r2 and ptex-3.1.5-r1 have now the required fixes. 
They should be stabilized but I didn&apos;t know if I should ask for it myself or let you do it, so I didn&apos;t added the arch teams to Cc.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2006-02-18 13:41:14 0000</bug_when>
            <thetext>arches please test and mark cstetex-2.0.2-r2 and ptex-3.1.5-r1 stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>grobian@gentoo.org</who>
            <bug_when>2006-02-19 04:21:53 0000</bug_when>
            <thetext>cstetex-2.0.2-r2 has no ppc-macos keywords, so not marcked.
ptex-3.1.5-r1 ppc-macos stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tsunam@gentoo.org</who>
            <bug_when>2006-02-19 15:45:01 0000</bug_when>
            <thetext>x86 stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>corsair@gentoo.org</who>
            <bug_when>2006-02-20 05:48:35 0000</bug_when>
            <thetext>ptex-3.1.5-r1 stable on ppc64. cstetex never got ppc64 keyword</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gustavoz@gentoo.org</who>
            <bug_when>2006-02-20 06:46:10 0000</bug_when>
            <thetext>ptex sparc stable (and no cstetex for us).
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dertobi123@gentoo.org</who>
            <bug_when>2006-02-20 11:08:50 0000</bug_when>
            <thetext>ptex stable, no stable cstetex for ppc.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>killerfox@gentoo.org</who>
            <bug_when>2006-02-21 10:49:56 0000</bug_when>
            <thetext>ptex stable on hppa. No cstetex for us.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2006-02-26 03:41:36 0000</bug_when>
            <thetext>tetex missing ppc-macos and mips [non-blocking]
ptex still missing alpha and amd64 [blocking] + ia64
cstex missing amd64 [blocking]</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>blubb@gentoo.org</who>
            <bug_when>2006-02-27 11:18:39 0000</bug_when>
            <thetext>make test fails for ptex on amd64, seems like the bug mentioned in comment 17, but i only had a very quick glance at it:

make[2]: Entering directory `/var/tmp/portage/ptex-3.1.5-r1/work/tetex-src-2.0.2/texk/web2c&apos;
test -f tests/exampl.aux || \
  cp ./tests/exampl.aux tests/exampl.aux
TEXMFCNF=../kpathsea/texmf.cnf BSTINPUTS=./tests ./bibtex tests/exampl
This is BibTeX, Version 0.99c (Web2C 7.4.5)
The top-level auxiliary file: tests/exampl.aux
I couldn&apos;t open database file xampl.bib
---line 1 of file tests/exampl.aux
 : \bibdata{xampl
 :               }
I&apos;m skipping whatever remains of this command
The style file: apalike.bst
I found no database files---while reading file tests/exampl.aux
Warning--I didn&apos;t find a database entry for &quot;whole-journal&quot;
Warning--I didn&apos;t find a database entry for &quot;whole-set&quot;
Warning--I didn&apos;t find a database entry for &quot;whole-collection&quot;
Warning--I didn&apos;t find a database entry for &quot;whole-proceedings&quot;
Warning--I didn&apos;t find a database entry for &quot;book-full&quot;
(There were 2 error messages)
make[2]: *** [bibtex-check] Error 2
make[2]: Leaving directory `/var/tmp/portage/ptex-3.1.5-r1/work/tetex-src-2.0.2/texk/web2c&apos;
make[1]: *** [check] Error 1
make[1]: Leaving directory `/var/tmp/portage/ptex-3.1.5-r1/work/tetex-src-2.0.2/texk&apos;
make: *** [check] Error 2

!!! ERROR: app-text/ptex-3.1.5-r1 failed.
!!! Function src_test, Line 592, Exitcode 0
!!! Make check failed. See above for details.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nattfodd@gentoo.org</who>
            <bug_when>2006-03-01 04:58:13 0000</bug_when>
            <thetext>(In reply to comment #36)
&gt; make test fails for ptex on amd64, seems like the bug mentioned in comment 17,
&gt; but i only had a very quick glance at it:

Could you please answer to the question in comment #23? I still fail to see why this is happening...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>blubb@gentoo.org</who>
            <bug_when>2006-03-01 05:01:59 0000</bug_when>
            <thetext>Sure:

# file /var/tmp/portage/ptex-3.1.5-r1/work/tetex-src-2.0.2/texmf/bibtex/bib/base/xampl.bib
/var/tmp/portage/ptex-3.1.5-r1/work/tetex-src-2.0.2/texmf/bibtex/bib/base/xampl.bib: BibTeX text file
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ehmsen@gentoo.org</who>
            <bug_when>2006-03-01 05:03:53 0000</bug_when>
            <thetext>The problem you are having is described in bug 68878.
It only happens if FEATURES=&quot;test&quot; the first time tetex is emerged. It doesn&apos;t happen on up/down-grades.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>blubb@gentoo.org</who>
            <bug_when>2006-03-01 12:31:50 0000</bug_when>
            <thetext>i see. so it shouldn&apos;t affect users who upgrade because of this security bug -&gt; marked stable on amd64</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2006-03-04 04:25:06 0000</bug_when>
            <thetext>Alpha: we still need you to mark ptex-3.1.5-r1 stable. The GLSA is blocked for quite some time now...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>yoswink@gentoo.org</who>
            <bug_when>2006-03-04 08:09:42 0000</bug_when>
            <thetext>ptex-3.1.5-r1 stable on alpha.

Sorry Thierry about the delay.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2006-03-04 08:30:28 0000</bug_when>
            <thetext>Ready for GLSa, will send it right now.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2006-03-04 08:44:00 0000</bug_when>
            <thetext>GLSA 200603-02
ia64, mips and ppc-macos should mark missing ebuilds stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>grobian@gentoo.org</who>
            <bug_when>2006-05-23 10:48:28 0000</bug_when>
            <thetext>app-text/tetex-2.0.2-r8 ppc-macos stable
Sorry for the delay!</thetext>
          </long_desc>
      
    </bug>

</bugzilla>