bug-bash
[Top][All Lists]
Advanced

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

unset BASH_ARGC BASH_ARGV => segfault


From: Egmont Koblinger
Subject: unset BASH_ARGC BASH_ARGV => segfault
Date: Sun, 12 Sep 2004 11:28:15 +0200 (CEST)

Hi,

The official patches to bash 3.0 have introduced a new segfault case.

Create a file called foo which contains this one line:
unset BASH_ARGC BASH_ARGV

Start a brand new shell and type
. ./foo

Now this shell exits with a segmentation fault.

Note that typing this unset line directly into the shell doesn't cause
segfault, and after this has happened, the ". ./foo" command runs
successfully too.


bye,

Egmont




reply via email to

[Prev in Thread] Current Thread [Next in Thread]