Debian Bug report logs -
#314363
bash: tab completion fails with awk error when first arg is gdb and second arg is subshell expansion
Reported by: Branden Robinson <branden@debian.org>
Date: Wed, 15 Jun 2005 22:18:01 UTC
Severity: normal
Tags: upstream
Fixed in version bash-completion/20060301-4
Done: David Paleino <d.paleino@gmail.com>
Bug is archived. No further changes may be made.
Forwarded to ian@caliban.org
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Matthias Klose <doko@debian.org>:
Bug#314363; Package bash.
(full text, mbox, link).
Acknowledgement sent to Branden Robinson <branden@debian.org>:
New Bug report received and forwarded. Copy sent to Matthias Klose <doko@debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: bash
Version: 3.0-15
Severity: normal
$ gdb $(which svn) svn_exawk: {if ($1 ~ /^$(which
awk: ^ unterminated regexp
awk: fatal: Unmatched ( or \(: /^$(which/
Nasty.
(
I typed:
gdb $(which svn) svn_e<TAB>
)
* Replacing "gdb" with "ls" makes the problem go away.
* Replacing "$(which svn)" with "/usr/bin/svn" suppresses the error, but the
completion does nothing useful. It apparently doesn't know what to look for,
and it certainly doesn't offer any completions in $PWD.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: powerpc (ppc)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.9-powerpc-smp
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages bash depends on:
ii base-files 3.1.4 Debian base system miscellaneous f
ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an
ii libncurses5 5.4-6 Shared libraries for terminal hand
ii passwd 1:4.0.3-35 change and administer password and
-- no debconf information
Noted your statement that Bug has been forwarded to ian@caliban.org.
Request was from Matthias Klose <doko@cs.tu-berlin.de>
to control@bugs.debian.org.
(full text, mbox, link).
Tags added: upstream
Request was from Matthias Klose <doko@cs.tu-berlin.de>
to control@bugs.debian.org.
(full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org, Matthias Klose <doko@debian.org>:
Bug#314363; Package bash.
(full text, mbox, link).
Acknowledgement sent to Ian Macdonald <ian@caliban.org>:
Extra info received and forwarded to list. Copy sent to Matthias Klose <doko@debian.org>.
(full text, mbox, link).
Message #14 received at 314363@bugs.debian.org (full text, mbox, reply):
On Sat 10 Sep 2005 at 12:08:36 +0200, you wrote:
> X-Loop: owner@bugs.debian.org
> Reply-To: Branden Robinson <branden@debian.org>, 314363@bugs.debian.org
> X-Debian-PR-Message: report 314363
> X-Debian-PR-Package: bash
> X-Debian-PR-Keywords:
> X-Mailer: reportbug 3.12
> Delivered-To: submit@bugs.debian.org
> X-Virus-Scanned: by amavisd-new at cs.tu-berlin.de (including spamassassin)
> X-Spam-Status: No, hits=0 tagged_above=0 required=3 tests=
> X-Spam-Level:
> Resent-From: Branden Robinson <branden@debian.org>
> Resent-To: debian-bugs-dist@lists.debian.org
> Resent-Cc: Matthias Klose <doko@debian.org>
> Resent-Date: Wed, 15 Jun 2005 22:18:01 UTC
> Resent-Message-ID: <handler.314363.B.111887291224195@bugs.debian.org>
> Resent-Sender: Debian BTS <debbugs@bugs.debian.org>
> From: Branden Robinson <branden@debian.org>
> To: Debian Bug Tracking System <submit@bugs.debian.org>
> Subject: Bug#314363: bash: tab completion fails with awk error when first arg is gdb and second arg is subshell expansion
> Date: Wed, 15 Jun 2005 17:01:51 -0500
>
> Package: bash
> Version: 3.0-15
> Severity: normal
>
> $ gdb $(which svn) svn_exawk: {if ($1 ~ /^$(which
> awk: ^ unterminated regexp
> awk: fatal: Unmatched ( or \(: /^$(which/
>
> Nasty.
>
> (
>
> I typed:
>
> gdb $(which svn) svn_e<TAB>
>
> )
>
> * Replacing "gdb" with "ls" makes the problem go away.
> * Replacing "$(which svn)" with "/usr/bin/svn" suppresses the error, but the
> completion does nothing useful. It apparently doesn't know what to look for,
> and it certainly doesn't offer any completions in $PWD.
>
> -- System Information:
> Debian Release: testing/unstable
> APT prefers unstable
> APT policy: (500, 'unstable')
> Architecture: powerpc (ppc)
> Shell: /bin/sh linked to /bin/bash
> Kernel: Linux 2.6.9-powerpc-smp
> Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
>
> Versions of packages bash depends on:
> ii base-files 3.1.4 Debian base system miscellaneous f
> ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an
> ii libncurses5 5.4-6 Shared libraries for terminal hand
> ii passwd 1:4.0.3-35 change and administer password and
>
> -- no debconf information
This has been fixed for the next release, although there are probably
more vulnerabilities of this kind elsewhere in the code.
Ian
--
Ian Macdonald | Your goose is cooked. (Your current chick
ian@caliban.org | is burned up too!)
http://www.caliban.org/ |
|
|
Information forwarded to debian-bugs-dist@lists.debian.org, Matthias Klose <doko@debian.org>:
Bug#314363; Package bash.
(full text, mbox, link).
Acknowledgement sent to Justin Pryzby <justinpryzby@users.sourceforge.net>:
Extra info received and forwarded to list. Copy sent to Matthias Klose <doko@debian.org>.
(full text, mbox, link).
Message #19 received at 314363@bugs.debian.org (full text, mbox, reply):
On Fri, Feb 24, 2006 at 12:37:45PM +0100, Ian Macdonald wrote:
> On Sat 10 Sep 2005 at 12:08:36 +0200, you wrote:
>
> > X-Loop: owner@bugs.debian.org
> > Reply-To: Branden Robinson <branden@debian.org>, 314363@bugs.debian.org
> > X-Debian-PR-Message: report 314363
> > X-Debian-PR-Package: bash
> > X-Debian-PR-Keywords:
> > X-Mailer: reportbug 3.12
> > Delivered-To: submit@bugs.debian.org
> > X-Virus-Scanned: by amavisd-new at cs.tu-berlin.de (including spamassassin)
> > X-Spam-Status: No, hits=0 tagged_above=0 required=3 tests=
> > X-Spam-Level:
> > Resent-From: Branden Robinson <branden@debian.org>
> > Resent-To: debian-bugs-dist@lists.debian.org
> > Resent-Cc: Matthias Klose <doko@debian.org>
> > Resent-Date: Wed, 15 Jun 2005 22:18:01 UTC
> > Resent-Message-ID: <handler.314363.B.111887291224195@bugs.debian.org>
> > Resent-Sender: Debian BTS <debbugs@bugs.debian.org>
> > From: Branden Robinson <branden@debian.org>
> > To: Debian Bug Tracking System <submit@bugs.debian.org>
> > Subject: Bug#314363: bash: tab completion fails with awk error when first arg is gdb and second arg is subshell expansion
> > Date: Wed, 15 Jun 2005 17:01:51 -0500
> >
> > Package: bash
> > Version: 3.0-15
> > Severity: normal
> >
> > $ gdb $(which svn) svn_exawk: {if ($1 ~ /^$(which
> > awk: ^ unterminated regexp
> > awk: fatal: Unmatched ( or \(: /^$(which/
> >
> > Nasty.
> >
> > (
> >
> > I typed:
> >
> > gdb $(which svn) svn_e<TAB>
> >
> > )
> >
> > * Replacing "gdb" with "ls" makes the problem go away.
> > * Replacing "$(which svn)" with "/usr/bin/svn" suppresses the error, but the
> > completion does nothing useful. It apparently doesn't know what to look for,
> > and it certainly doesn't offer any completions in $PWD.
> >
> > -- System Information:
> > Debian Release: testing/unstable
> > APT prefers unstable
> > APT policy: (500, 'unstable')
> > Architecture: powerpc (ppc)
> > Shell: /bin/sh linked to /bin/bash
> > Kernel: Linux 2.6.9-powerpc-smp
> > Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> >
> > Versions of packages bash depends on:
> > ii base-files 3.1.4 Debian base system miscellaneous f
> > ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an
> > ii libncurses5 5.4-6 Shared libraries for terminal hand
> > ii passwd 1:4.0.3-35 change and administer password and
> >
> > -- no debconf information
>
> This has been fixed for the next release, although there are probably
> more vulnerabilities of this kind elsewhere in the code.
Eh? Brandon wasn't talking about vulnerabilities; are you sure this
is the right bug?
Justin
Information forwarded to debian-bugs-dist@lists.debian.org, Matthias Klose <doko@debian.org>:
Bug#314363; Package bash.
(full text, mbox, link).
Acknowledgement sent to Ian Macdonald <ian@caliban.org>:
Extra info received and forwarded to list. Copy sent to Matthias Klose <doko@debian.org>.
(full text, mbox, link).
Message #24 received at 314363@bugs.debian.org (full text, mbox, reply):
On Fri 24 Feb 2006 at 19:41:33 -0500, you wrote:
> Eh? Brandon wasn't talking about vulnerabilities; are you sure this
> is the right bug?
Yes. I was using the word in a broad sense and meant that the code is
almost certainly vulnerable to this bug in other places.
Ian
--
Ian Macdonald | In a medium in which a News Piece takes a
ian@caliban.org | minute and an "In-Depth" Piece takes two
http://www.caliban.org/ | minutes, the Simple will drive out the
| Complex. -- Frank Mankiewicz
|
Bug reassigned from package `bash' to `bash-completion'.
Request was from Luk Claes <luk@debian.org>
to control@bugs.debian.org.
(Sun, 02 Mar 2008 15:24:19 GMT) (full text, mbox, link).
Bug marked as fixed in version 20060301-4.
Request was from David Paleino <d.paleino@gmail.com>
to control@bugs.debian.org.
(Fri, 16 May 2008 22:21:02 GMT) (full text, mbox, link).
Reply sent to David Paleino <d.paleino@gmail.com>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Branden Robinson <branden@debian.org>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #33 received at 314363-done@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
fixed 314363 20060301-4
thanks
It's been fixed a long time ago upstream :)
David
--
. ''`. Debian maintainer | http://wiki.debian.org/DavidPaleino
: :' : Linuxer #334216 --|-- http://www.hanskalabs.net/
`. `'` GPG: 1392B174 ----|---- http://snipr.com/qa_page
`- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
[signature.asc (application/pgp-signature, attachment)]
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sat, 14 Jun 2008 07:36:53 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Jul 2 09:14:51 2023;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.