bug-bash
[Top][All Lists]
Advanced

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

read line <&3 causes bash to terminate


From: _tgz
Subject: read line <&3 causes bash to terminate
Date: Fri, 18 May 2001 21:25:37 +0200
User-agent: Mutt/1.2.5i

Configuration Information [Automatically generated, do not change]:
Machine: i486
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DHOSTTYPE='i486' -DOSTYPE='linux-gnu' 
-DMACHTYPE='i486-debian-linux-gnu' -DSHELL -DHAVE_CONFIG_H   -I. -I. -I./lib -g 
-O2
uname output: Linux ildicow 2.2.19 #2 Tue Apr 10 03:15:55 CEST 2001 i586 unknown
Machine Type: i486-debian-linux-gnu

Bash Version: 2.01
Patch Level: 0
Release Status: release

Description:
        bash yields an internal-error message upon executing a
        malformed program included below.

Repeat-By:

It is reproducable by running the following simple script:

<cuthere>
#! /bin/bash

read line <&3;
read line <&3;

foobarbaz
</cuthere>

        After executing, the interpreter aborts with a
        ``free: Called with already freed block argument''
        message.

        It works also on bash 2.0.3. Both binaries on which I tryed the
        script above was compiled by Debian project (slink and potato).

:-* :
_tgz

-- 
Premature optimization is the root of all evil -- DEK



reply via email to

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