Comment 3 for bug 27383

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Tue, 20 Dec 2005 11:23:48 +0100
From: =?iso-8859-1?q?Frank_K=FCster?= <email address hidden>
To: Matthias Klose <email address hidden>
Cc: <email address hidden>, Emmanuel Fuste <email address hidden>, <email address hidden>
Subject: Re: Bug#344082: tetex-bin: fmtutil segfault

Hi Matthias, hi Emmanuel,

again a shell script that segfaults. Could 344082 and 343444 be the
same bugs? Emmanuel, which version of bash is installed on your system?=20

Emmanuel Fuste <email address hidden> wrote:

> Package: tetex-bin
> Version: 3.0-12
> Severity: grave
> Justification: renders package unusable
>
> Setting up tetex-bin (3.0-12) ...
> Running fmtutil-sys. This may take some time. ...
> /usr/bin/fmtutil: line 344: 16723 Segmentation fault ${1+"$@"}

Line 344 is the opening brace `{' in=20

###########################################################################=
####
# verbose (cmd)
# execute cmd. Redirect output depending on $mktexfmtMode.
###########################################################################=
####
verbose()
{
  $mktexfmtMode && ${1+"$@"} >&2 || ${1+"$@"}
}

and again there is a variable that's supposed to contain a command and
is not yet expanded before the shell segfaults.

> -- System Information:
> Debian Release: testing/unstable
> APT prefers unstable
> APT policy: (500, 'unstable'), (1, 'experimental')
> Architecture: i386 (i586)
> Shell: /bin/sh linked to /bin/bash
> Kernel: Linux 2.6.14-rc5
> Locale: LANG=3DC, LC_CTYPE=3DC (charmap=3DANSI_X3.4-1968)

Regards, Frank

--=20
Frank K=FCster
Inst. f. Biochemie der Univ. Z=FCrich
Debian Developer