<?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>108690</bug_id>
          
          <creation_ts>2005-10-10 00:05 0000</creation_ts>
          <short_desc>media-gfx/graphviz insecure temp file issue</short_desc>
          <delta_ts>2005-11-15 02:20:48 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>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>http://www.debian.org/security/2005/dsa-857</bug_file_loc>
          <status_whiteboard>B3 [noglsa]</status_whiteboard>
          
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>jaervosz@gentoo.org</reporter>
          <assigned_to>security@gentoo.org</assigned_to>
          <cc>graphics@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2005-10-10 00:05:21 0000</bug_when>
            <thetext>Not sure wether we&apos;re affected.  
  
Javier Fern</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2005-10-10 00:05:21 0000</bug_when>
            <thetext>Not sure wether we&apos;re affected.  
  
Javier Fernández-Sanguino Peña discovered insecure tmporary file creation.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2005-10-10 01:46:34 0000</bug_when>
            <thetext>Can&apos;t tell where the patch is in the Debian diff. Maybe better to ask Ulf about it.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2005-10-11 05:25:42 0000</bug_when>
            <thetext>I asked Javier about this bug.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2005-10-11 07:15:58 0000</bug_when>
            <thetext>I checked, current stable (1.16) is affected (probably latest ~ also is).

graphics herd: please bump with supplied patch...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2005-10-11 07:17:17 0000</bug_when>
            <thetext>Created an attachment (id=70362)
patch.CAN-2005-2965.graphviz

Patch from Javier.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>taviso@gentoo.org</who>
            <bug_when>2005-10-11 11:41:24 0000</bug_when>
            <thetext>I dont recognise that language, but that seems like a fairly poor fix.

creating ten thousand symbolic links is not out of the question, and theres no 
race condition i need to win.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2005-10-12 02:29:10 0000</bug_when>
            <thetext>This may be the best they can do in that language ?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>taviso@gentoo.org</who>
            <bug_when>2005-10-12 08:27:17 0000</bug_when>
            <thetext>yeah, i suppose they could do system(&quot;mktemp..&quot;), but if this is the best that&apos;s 
possible i guess i will have to live with it :)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2005-10-18 06:17:18 0000</bug_when>
            <thetext>sekretarz should have a look at it later today</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2005-10-21 23:50:35 0000</bug_when>
            <thetext>sekretarz any progress on this one? </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lu_zero@gentoo.org</who>
            <bug_when>2005-10-24 06:37:03 0000</bug_when>
            <thetext>patch committed, amd64 should stabilize at least to the 1.16

I assume that the 2.6 is safe, isn&apos;t it?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2005-10-24 07:02:11 0000</bug_when>
            <thetext>Yes, 2.6 is already fixed.
Luca: we&apos;ll need a revbump to 1.16-r1 so that it can be picked up in upgrades,
and you&apos;ll be done.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lu_zero@gentoo.org</who>
            <bug_when>2005-10-24 08:20:06 0000</bug_when>
            <thetext>I&apos;d just call for having 2.6 stable and remove all versions but 2.6 and add
1.16-r1 (if is still needed)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2005-10-24 08:26:15 0000</bug_when>
            <thetext>Hm. Too many arches don&apos;t even have it as ~ so I think it&apos;s much quicker to bump
to 1.16-r1 and ask arches to mark 1.16-r1 stable and 2.6 ~.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lu_zero@gentoo.org</who>
            <bug_when>2005-10-24 08:40:33 0000</bug_when>
            <thetext>revbump committed, please notice amd64 that the older versions will be removed soon.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2005-10-24 08:51:44 0000</bug_when>
            <thetext>amd64: please test and mark 1.16-r1 stable
alpha hppa ia64 mips ppc-macos: please add ~ keyword to 2.6

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hansmi@gentoo.org</who>
            <bug_when>2005-10-26 10:50:23 0000</bug_when>
            <thetext>KillerFox added ~hppa, thanks to him.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>aja@clanarmstrong.com</who>
            <bug_when>2005-10-27 19:52:23 0000</bug_when>
            <thetext>Tested  media-gfx/graphviz-1.16-r1 for amd64.  Builds and loads.  Able to render
several sample .dot files.

No extensive regression testing, but as this is a security bump, tests stable
for amd64.

Portage 2.0.53_rc6 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r3, 2.6.1
                                                                           
3-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.13-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.0_pre9
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS=&quot;amd64 ~amd64&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;x86_64-pc-linux-gnu&quot;
CFLAGS=&quot;-march=k8 -O2 -pipe -fweb -ftracer&quot;
CHOST=&quot;x86_64-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share
                                                                           
/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kd
                                                                           
e/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defau
                                                                           
lts/pref /usr/share/config /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d&quot;
CXXFLAGS=&quot;-march=k8 -O2 -pipe -fweb -ftracer&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoconfig ccache distlocks multilib-strict sandbox sfperms strict tes
                                                                           
ting&quot;
GENTOO_MIRRORS=&quot;http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/
                                                                           
distributions/gentoo&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/etc/portage/overlay&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;amd64 X alsa apache2 avi berkdb bitmap-fonts cddb cdr cli crypt cups curl d
                                                                           
ba directfb dts dv dvd dvdr dvdread eds emacs emboss encode esd fam fame fbcon f
                                                                           
fmpeg firefox foomaticdb gcj gd gdbm gif gpm gstreamer gtk gtk2 ieee1394 imagema
                                                                           
gick imlib ipv6 java jikes jpeg junit ldap libwww lirc live lzw lzw-tiff mad mjp
                                                                           
eg mozilla mp3 mpeg mysql ncurses nls nptl nptlonly nsplugin nvidia ogg oggvorbi
                                                                           
s opengl pam pcre pdflib perl png python qt quicktime readline real rtc ruby sdl
                                                                           
 spell ssl tcpd tetex theora tiff truetype-fonts type1-fonts udev unicode usb us
                                                                           
erlocales v4l v4l2 vorbis xine xml2 xmms xpm xv xvid zlib userland_GNU kernel_li
                                                                           
nux elibc_glibc&quot;
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hparker@gentoo.org</who>
            <bug_when>2005-10-27 22:06:22 0000</bug_when>
            <thetext>amd64 would be happy, but:

RepoMan scours the neighborhood...

  DEPEND.bad                     1
   media-gfx/graphviz/graphviz-2.6.ebuild: ~hppa(default-linux/hppa/2004.3)
[&apos;&gt;=x11-libs/libsvg-cairo-0.1.3&apos;]
  RDEPEND.bad                    1
   media-gfx/graphviz/graphviz-2.6.ebuild: ~hppa(default-linux/hppa/2004.3)
[&apos;&gt;=x11-libs/libsvg-cairo-0.1.3&apos;]
  digest.assumed                 11
   digest-graphviz-1.10::graphviz-1.10.tar.gz
   digest-graphviz-1.12::graphviz-1.12.tar.gz
   digest-graphviz-1.12-r1::graphviz-1.12.tar.gz
   digest-graphviz-1.12-r1::graphviz-1.12-configure.ac.bz2
   digest-graphviz-1.16::graphviz-1.16-panic.patch.tar.bz2
   digest-graphviz-2.2::graphviz-2.2.tar.gz
   digest-graphviz-2.2.1::graphviz-2.2.1.tar.gz
   digest-graphviz-2.2.1-r1::graphviz-2.2.1.tar.gz
   digest-graphviz-2.4::graphviz-2.4.tar.gz
   digest-graphviz-2.6::graphviz-2.6.tar.gz
   digest-graphviz-1.16-r1::graphviz-1.16-panic.patch.tar.bz2

Please fix these important QA issues first.
RepoMan sez: &quot;Make your QA payment on time and you&apos;ll never see the likes of me.&quot;

If I&apos;ve botched something, please smack me with it, but I don&apos;t see how anyone
could of commited with those errors.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hansmi@gentoo.org</who>
            <bug_when>2005-10-27 23:52:19 0000</bug_when>
            <thetext>(In reply to comment #18)
&gt; amd64 would be happy, but:
&gt; 
&gt; RepoMan scours the neighborhood...
&gt; 
&gt;   DEPEND.bad                     1
&gt;    media-gfx/graphviz/graphviz-2.6.ebuild: ~hppa(default-linux/hppa/2004.3)
&gt; [&apos;&gt;=x11-libs/libsvg-cairo-0.1.3&apos;]

How about a &quot;cvs up&quot; in x11-libs/libsvg-cairo? repoman scan doesn&apos;t complain
here, and libsvg-cairo-0.1.6 is ~hppa.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>blubb@gentoo.org</who>
            <bug_when>2005-10-28 08:02:58 0000</bug_when>
            <thetext>repoman doesn&apos;t bitch here either, so amd64 is happy. sorry for the delay</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2005-10-28 11:38:41 0000</bug_when>
            <thetext>Still waiting on alpha, ia64, mips and ppc-macos to add the ~ keyword to 
graphviz-2.6</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>grobian@gentoo.org</who>
            <bug_when>2005-10-28 12:27:34 0000</bug_when>
            <thetext>FYI:
there is a compilation issue that first needs to be resolved on ppc-macos before
it can be marked ~ppc-macos.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ferdy@gentoo.org</who>
            <bug_when>2005-10-28 13:56:04 0000</bug_when>
            <thetext>Kloeri did alpha and ia64</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2005-10-29 02:20:45 0000</bug_when>
            <thetext>Ready for GLSA vote</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2005-10-30 00:35:56 0000</bug_when>
            <thetext>If the main script is affected I vote YES. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>j4rg0n@gentoo.org</who>
            <bug_when>2005-10-30 21:08:38 0000</bug_when>
            <thetext>Testing ppc-macos. Sorry for the long wait -- we had undefined symbol problems.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>taviso@gentoo.org</who>
            <bug_when>2005-11-03 08:47:14 0000</bug_when>
            <thetext>looking at the patch again, i dont think this is an acceptable fix. making 10000 
symlinks is not a serious obstacle to explanation, and even if for some reason 
that is infeasible, just creating 1000 gives you a 1:10 chance of getting it. As 
s there is no race conditon, you can create 1000 of them, and just wait, sooner 
or later it will be hit.

I think we will have to use system(&apos;mktemp&apos;) or similar.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>taviso@gentoo.org</who>
            <bug_when>2005-11-03 08:47:39 0000</bug_when>
            <thetext>s/explanation/exploitation/</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2005-11-03 09:14:34 0000</bug_when>
            <thetext>It&apos;s not easy to securely create tmpfiles in that &quot;lefty&quot; language (you just
have &quot;system&quot; and apparently no way of getting stdout of commands). For those
who want to try :
http://www.graphviz.org/Documentation/leftyguide.pdf

If you reduce the thing to a race condition, we&apos;ll take it.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2005-11-10 07:11:45 0000</bug_when>
            <thetext>Tavis: I guess the only way out is to limit files in HOME or current
directory...  or expand the random to a few million possibilities. Would that be
better ?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>taviso@gentoo.org</who>
            <bug_when>2005-11-10 07:20:57 0000</bug_when>
            <thetext>using $HOME sounds fine to me</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2005-11-10 07:32:54 0000</bug_when>
            <thetext>Created an attachment (id=72582)
graphviz-1.16-tempdir.patch

Taviso: like this ?
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2005-11-10 08:03:18 0000</bug_when>
            <thetext>Luca: care to update the graphviz patch withe the attached one ?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lu_zero@gentoo.org</who>
            <bug_when>2005-11-10 12:31:01 0000</bug_when>
            <thetext>Patch updated</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2005-11-10 22:20:44 0000</bug_when>
            <thetext>This one seems ready for GLSA decision. I tend to vote YES. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cedric@berger.to</who>
            <bug_when>2005-11-11 02:06:30 0000</bug_when>
            <thetext>This patch breaks my compilation.

&gt;&gt;&gt; Unpacking graphviz-1.16.tar.gz to /var/tmp/portage/graphviz-1.16-r1/work
 * Applying graphviz-1.16-build.patch ...                                 [ ok ]
 * Applying graphviz-1.16-tempdir.patch ...

 * Failed Patch: graphviz-1.16-tempdir.patch !
 *  ( /usr/portage/media-gfx/graphviz/files/graphviz-1.16-tempdir.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/graphviz-1.16-r1/temp/graphviz-1.16-tempdir.patch-21313.ou



cn400 ~ # cat
/var/tmp/portage/graphviz-1.16-r1/temp/graphviz-1.16-tempdir.patch-21313.out
***** graphviz-1.16-tempdir.patch *****

=======================================

PATCH COMMAND:  patch -p0 -g0 --no-backup-if-mismatch &lt;
/usr/portage/media-gfx/graphviz/files/graphviz-1.16-tempdir.patch

=======================================
can&apos;t find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- graphviz-2.2.1.orig/dotty/dotty.lefty
|+++ graphviz-2.2.1/dotty/dotty.lefty
--------------------------
No file to patch.  Skipping patch.
patch: **** malformed patch at line 12: @@ -768,5 +771,5 @@

=======================================

PATCH COMMAND:  patch -p1 -g0 --no-backup-if-mismatch &lt;
/usr/portage/media-gfx/graphviz/files/graphviz-1.16-tempdir.patch

=======================================
patching file dotty/dotty.lefty
patch: **** malformed patch at line 12: @@ -768,5 +771,5 @@

=======================================

PATCH COMMAND:  patch -p2 -g0 --no-backup-if-mismatch &lt;
/usr/portage/media-gfx/graphviz/files/graphviz-1.16-tempdir.patch

=======================================
can&apos;t find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- graphviz-2.2.1.orig/dotty/dotty.lefty
|+++ graphviz-2.2.1/dotty/dotty.lefty
--------------------------
No file to patch.  Skipping patch.
patch: **** malformed patch at line 12: @@ -768,5 +771,5 @@

=======================================

PATCH COMMAND:  patch -p3 -g0 --no-backup-if-mismatch &lt;
/usr/portage/media-gfx/graphviz/files/graphviz-1.16-tempdir.patch

=======================================
missing header for unified diff at line 3 of patch
can&apos;t find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- graphviz-2.2.1.orig/dotty/dotty.lefty
|+++ graphviz-2.2.1/dotty/dotty.lefty
--------------------------
No file to patch.  Skipping patch.
patch: **** malformed patch at line 12: @@ -768,5 +771,5 @@

=======================================

PATCH COMMAND:  patch -p4 -g0 --no-backup-if-mismatch &lt;
/usr/portage/media-gfx/graphviz/files/graphviz-1.16-tempdir.patch

=======================================
missing header for unified diff at line 3 of patch
can&apos;t find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- graphviz-2.2.1.orig/dotty/dotty.lefty
|+++ graphviz-2.2.1/dotty/dotty.lefty
--------------------------
No file to patch.  Skipping patch.
patch: **** malformed patch at line 12: @@ -768,5 +771,5 @@</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lu_zero@gentoo.org</who>
            <bug_when>2005-11-11 02:19:35 0000</bug_when>
            <thetext>Note to self: newer check a patch by reading it.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2005-11-11 02:49:55 0000</bug_when>
            <thetext>Note to self :
Try to find the time to test patches I submit.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2005-11-15 00:38:20 0000</bug_when>
            <thetext>I tend to vote no, as dotty is not the main program and this is typically run as
user... but feel free to disagree.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dercorny@gentoo.org</who>
            <bug_when>2005-11-15 02:17:16 0000</bug_when>
            <thetext>Mhhh, tend to say no</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2005-11-15 02:20:48 0000</bug_when>
            <thetext>Since this affects only dotty I revert my vote to a full NO and closing. Feel 
free to reopen if you disagree. </thetext>
          </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>70362</attachid>
            <date>2005-10-11 07:17 0000</date>
            <desc>patch.CAN-2005-2965.graphviz</desc>
            <filename>patch.CAN-2005-2965.graphviz</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGdyYXBodml6LTIuMi4xLm9yaWcvZG90dHkvZG90dHkubGVmdHkKKysrIGdyYXBodml6LTIu
Mi4xL2RvdHR5L2RvdHR5LmxlZnR5CkBAIC02NjgsNyArNjY4LDEwIEBACiAgICAgICAgIGlmICh+
KG90eXBlID0gYXNrICgncHJpbnQgdG8nLCAnY2hvaWNlJywgJ2ZpbGV8cHJpbnRlcicpKSkKICAg
ICAgICAgICAgIHJldHVybjsKICAgICBpZiAob3R5cGUgPT0gJ3ByaW50ZXInKSB7Ci0gICAgICAg
IG5hbWUgPSAnL3RtcC9kb3R0eW91dC5wcyc7CisgICAgICAgIGlmICh+Z2V0ZW52ICgnVE1QRElS
JykpCisgICAgICAgICAgICBuYW1lID0gY29uY2F0IChnZXRlbnYgKCdIT01FJyksICcvLmRvdHR5
b3V0LnBzJyk7CisgICAgICAgIGVsc2UKKyAgICAgICAgICAgIG5hbWUgPSBjb25jYXQgKGdldGVu
diAoJ1RNUERJUicpLCAnLy5kb3R0eW91dC5wcycsIHJhbmRvbSAoMTAwMDApKTsKICAgICAgICAg
aWYgKGdldGVudiAoJ0xFRlRZV0lOU1lTJykgfj0gJ21zd2luJyAmIH5wcikKICAgICAgICAgICAg
IGlmICh+KHByID0gYXNrICgncHJpbnRlciBjb21tYW5kJywgJ3N0cmluZycsICdscHInKSkpCiAg
ICAgICAgICAgICAgICAgcmV0dXJuOwpAQCAtNzY4LDUgKzc3MSw1IEBACiAgICAgdnQuY2FudmFz
ID0gY2FudmFzOwogICAgIGRlc3Ryb3l3aWRnZXQgKHBzY2FudmFzKTsKICAgICBpZiAob3R5cGUg
PT0gJ3ByaW50ZXInICYgZ2V0ZW52ICgnTEVGVFlXSU5TWVMnKSB+PSAnbXN3aW4nKQotICAgICAg
ICBzeXN0ZW0gKGNvbmNhdCAocHIsICcgL3RtcC9kb3R0eW91dC5wczsgcm0gL3RtcC9kb3R0eW91
dC5wcycpKTsKKyAgICAgICAgc3lzdGVtIChjb25jYXQgKHByLCAnICcsIG5hbWUsICc7IHJtICcs
bmFtZSkpOwogfTsK
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>72582</attachid>
            <date>2005-11-10 07:32 0000</date>
            <desc>graphviz-1.16-tempdir.patch</desc>
            <filename>graphviz-1.16-tempdir.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGdyYXBodml6LTIuMi4xLm9yaWcvZG90dHkvZG90dHkubGVmdHkKKysrIGdyYXBodml6LTIu
Mi4xL2RvdHR5L2RvdHR5LmxlZnR5CkBAIC02NjgsNyArNjY4LDEwIEBACiAgICAgICAgIGlmICh+
KG90eXBlID0gYXNrICgncHJpbnQgdG8nLCAnY2hvaWNlJywgJ2ZpbGV8cHJpbnRlcicpKSkKICAg
ICAgICAgICAgIHJldHVybjsKICAgICBpZiAob3R5cGUgPT0gJ3ByaW50ZXInKSB7Ci0gICAgICAg
IG5hbWUgPSAnL3RtcC9kb3R0eW91dC5wcyc7CisgICAgICAgIG5hbWUgPSBjb25jYXQgKGdldGVu
diAoJ0hPTUUnKSwgJy8uZG90dHlvdXQucHMnKTsKICAgICAgICAgaWYgKGdldGVudiAoJ0xFRlRZ
V0lOU1lTJykgfj0gJ21zd2luJyAmIH5wcikKICAgICAgICAgICAgIGlmICh+KHByID0gYXNrICgn
cHJpbnRlciBjb21tYW5kJywgJ3N0cmluZycsICdscHInKSkpCiAgICAgICAgICAgICAgICAgcmV0
dXJuOwpAQCAtNzY4LDUgKzc3MSw1IEBACiAgICAgdnQuY2FudmFzID0gY2FudmFzOwogICAgIGRl
c3Ryb3l3aWRnZXQgKHBzY2FudmFzKTsKICAgICBpZiAob3R5cGUgPT0gJ3ByaW50ZXInICYgZ2V0
ZW52ICgnTEVGVFlXSU5TWVMnKSB+PSAnbXN3aW4nKQotICAgICAgICBzeXN0ZW0gKGNvbmNhdCAo
cHIsICcgL3RtcC9kb3R0eW91dC5wczsgcm0gL3RtcC9kb3R0eW91dC5wcycpKTsKKyAgICAgICAg
c3lzdGVtIChjb25jYXQgKHByLCAnICcsIG5hbWUsICc7IHJtICcsbmFtZSkpOwogfTsK
</data>        

          </attachment>
    </bug>

</bugzilla>