[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#289845: marked as done (xdvizilla: subtle syntax error.)



Your message dated Tue, 18 Jan 2005 15:48:17 -0500
with message-id <E1Cr0Gv-0001Lj-00@newraff.debian.org>
and subject line Bug#289845: fixed in tetex-bin 2.0.2-26
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 11 Jan 2005 10:57:27 +0000
>From g.bonacci@libero.it Tue Jan 11 02:57:26 2005
Return-path: <g.bonacci@libero.it>
Received: from mail2.webmessenger.it (mail2a.webresidence.it) [193.70.193.55] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CoJiI-0005fX-00; Tue, 11 Jan 2005 02:57:26 -0800
Received: from bohr.pisa.iol.it (193.76.233.84) by mail2a.webresidence.it (7.0.027-DD01)
        id 41C0DBB800007634; Tue, 11 Jan 2005 11:56:55 +0100
Received: from giuseppe by bohr.pisa.iol.it with local (Exim 4.34)
	id 1CoJhm-00023Y-L8; Tue, 11 Jan 2005 11:56:54 +0100
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: giuseppe bonacci <g.bonacci@libero.it>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: xdvizilla: subtle syntax error.
X-Mailer: reportbug 3.2
Date: Tue, 11 Jan 2005 11:56:54 +0100
Message-Id: <[🔎] E1CoJhm-00023Y-L8@bohr.pisa.iol.it>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: tetex-bin
Version: 2.0.2-25
Severity: normal
Tags: patch


According to the bash (and ksh) manual, group commands must be terminated
by `;' or newline.  In
    { echo } } } } ; }
the first four '}'s are passed to echo as parameters, instead of closing
the block.

Currently, /usr/bin/xdvizilla fails with a misleading error message:

$ xdvizilla /usr/share/doc/texmf/latex/general/lshort.dvi.gz
/usr/bin/xdvizilla: line 41: syntax error near unexpected token `;;'
/usr/bin/xdvizilla: line 41: `    ;;'

The following patch restores the correct behaviour:

--- xdvizilla.old	2004-12-23 17:39:17.000000000 +0100
+++ xdvizilla.new	2005-01-11 11:22:41.000000000 +0100
@@ -33,7 +33,10 @@
 case "$FILETYPE" in
 
   *"gzip compressed data"*)
-    FILE=`mktemp -t xdvizilla.XXXXXX` || { echo "$0: Cannot create temporary file"; exit 1 }
+    FILE=`mktemp -t xdvizilla.XXXXXX` || {
+	echo "$0: Cannot create temporary file"
+	exit 1
+    }
     gunzip -c "$1" > $FILE
     [ -n "$NO_RM" ] || rm -f -- "$1"
     NO_RM=
@@ -41,7 +44,10 @@
     ;;
 
   *"compressed data"* | *"compress'd data"*)
-    FILE=`mktemp -t xdvizilla.XXXXXX` || { echo "$0: Cannot create temporary file"; exit 1 }
+    FILE=`mktemp -t xdvizilla.XXXXXX` || {
+	echo "$0: Cannot create temporary file"
+	exit 1
+    }
     uncompress -c "$1" > $FILE
     [ -n "$NO_RM" ] || rm -f -- "$1"
     NO_RM=
@@ -60,7 +66,10 @@
 case "$FILETYPE" in
 
   *" tar archive")
-    TARDIR=`mktemp -t -d xdvitar.XXXXXX` || { echo "$0: Cannot create temporary directory"; exit 1 }
+    TARDIR=`mktemp -t -d xdvitar.XXXXXX` || {
+	echo "$0: Cannot create temporary directory"
+	exit 1
+    }
     mkdir $TARDIR
     cat "$FILE" | (cd $TARDIR; tar xf -)
     DVINAME=`tar tf "$FILE" | grep '\.dvi$' | head -1`

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages tetex-bin depends on:
ii  debconf                  1.4.30.11       Debian configuration management sy
ii  debianutils              2.8.4           Miscellaneous utilities specific t
ii  dpkg                     1.10.25         Package maintenance system for Deb
ii  ed                       0.2-20          The classic unix line editor
ii  libc6                    2.3.2.ds1-20    GNU C Library: Shared libraries an
ii  libgcc1                  1:3.4.3-6       GCC support library
ii  libice6                  4.3.0.dfsg.1-10 Inter-Client Exchange library
ii  libkpathsea3             2.0.2-25        path search library for teTeX (run
ii  libpaper1                1.1.14-3        Library for handling paper charact
ii  libpng12-0               1.2.8rel-1      PNG library - runtime
ii  libsm6                   4.3.0.dfsg.1-10 X Window System Session Management
ii  libstdc++5               1:3.3.5-5       The GNU Standard C++ Library v3
ii  libt1-5                  5.0.2-3         Type 1 font rasterizer library - r
ii  libwww-ssl0 [libwww0]    5.4.0-9         The W3C-WWW library (SSL support)
ii  libx11-6                 4.3.0.dfsg.1-10 X Window System protocol client li
ii  libxaw7                  4.3.0.dfsg.1-10 X Athena widget set library
ii  libxext6                 4.3.0.dfsg.1-10 X Window System miscellaneous exte
ii  libxmu6                  4.3.0.dfsg.1-10 X Window System miscellaneous util
ii  libxt6                   4.3.0.dfsg.1-10 X Toolkit Intrinsics
ii  mime-support             3.28-1          MIME files 'mime.types' & 'mailcap
ii  perl                     5.8.4-5         Larry Wall's Practical Extraction 
ii  sed                      4.1.2-8         The GNU sed stream editor
ii  tetex-base               2.0.2c-3        Basic library files of teTeX
ii  ucf                      1.13            Update Configuration File: preserv
ii  xlibs                    4.3.0.dfsg.1-10 X Keyboard Extension (XKB) configu
ii  zlib1g                   1:1.2.2-3       compression library - runtime

-- debconf information excluded

---------------------------------------
Received: (at 289845-close) by bugs.debian.org; 18 Jan 2005 20:54:59 +0000
>From katie@ftp-master.debian.org Tue Jan 18 12:54:59 2005
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Cr0NO-0004bn-00; Tue, 18 Jan 2005 12:54:59 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1Cr0Gv-0001Lj-00; Tue, 18 Jan 2005 15:48:17 -0500
From: =?iso-8859-1?q?Frank_K=FCster?= <frank@debian.org>
To: 289845-close@bugs.debian.org
X-Katie: $Revision: 1.55 $
Subject: Bug#289845: fixed in tetex-bin 2.0.2-26
Message-Id: <E1Cr0Gv-0001Lj-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Tue, 18 Jan 2005 15:48:17 -0500
Delivered-To: 289845-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 
X-CrossAssassin-Score: 2

Source: tetex-bin
Source-Version: 2.0.2-26

We believe that the bug you reported is fixed in the latest version of
tetex-bin, which is due to be installed in the Debian FTP archive:

libkpathsea-dev_2.0.2-26_i386.deb
  to pool/main/t/tetex-bin/libkpathsea-dev_2.0.2-26_i386.deb
libkpathsea3_2.0.2-26_i386.deb
  to pool/main/t/tetex-bin/libkpathsea3_2.0.2-26_i386.deb
tetex-bin_2.0.2-26.diff.gz
  to pool/main/t/tetex-bin/tetex-bin_2.0.2-26.diff.gz
tetex-bin_2.0.2-26.dsc
  to pool/main/t/tetex-bin/tetex-bin_2.0.2-26.dsc
tetex-bin_2.0.2-26_i386.deb
  to pool/main/t/tetex-bin/tetex-bin_2.0.2-26_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 289845@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Frank Küster <frank@debian.org> (supplier of updated tetex-bin package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue, 18 Jan 2005 18:39:49 +0100
Source: tetex-bin
Binary: libkpathsea3 tetex-bin libkpathsea-dev
Architecture: source i386
Version: 2.0.2-26
Distribution: unstable
Urgency: high
Maintainer: teTeX maintainers <debian-tetex-maint@lists.debian.org>
Changed-By: Frank Küster <frank@debian.org>
Description: 
 libkpathsea-dev - path search library for teTeX (devel part)
 libkpathsea3 - path search library for teTeX (runtime part)
 tetex-bin  - The teTeX binary files
Closes: 288182 289845
Changes: 
 tetex-bin (2.0.2-26) unstable; urgency=high
 .
   * SECURITY UPDATE: Added a patch to fix one more buffer overflow in xpdf
     code (CAN-2005-0064). The patch was provided by a Red Hat engineer;
     thanks to Joey for informing me very fast.
   * Correct the syntax error in the patch to xdvizilla, thanks to Giuseppe
     Bonacci <g.bonacci@libero.it> (closes: #289845) [frank]
   * Correctly save and reset $IFS in postinst (closes: #288182) [frank]
Files: 
 8d85401abce2a1f8f98f73083f308082 994 tex optional tetex-bin_2.0.2-26.dsc
 a7733dde0e6ec49d777ddb6f22f8c06e 183634 tex optional tetex-bin_2.0.2-26.diff.gz
 d5322a102b714bb312e539e53b31e5fc 3935412 tex optional tetex-bin_2.0.2-26_i386.deb
 e31db019edcc7431d4f27450ba8840da 58264 libs optional libkpathsea3_2.0.2-26_i386.deb
 5a40fd17279b6255b670938ae706329f 66212 libdevel optional libkpathsea-dev_2.0.2-26_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFB7WfA+xs9YyJS+hoRAqz2AJ90SRNse0Q5iD/Hqk8eW9dFZc0t2gCfTZ23
U6cWP2GCgYz8kvMSu5nK0J0=
=jXF1
-----END PGP SIGNATURE-----



Reply to: