bug-bash
[Top][All Lists]
Advanced

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

Re: Bash crashes while handling very long string in parameter expansion


From: Chet Ramey
Subject: Re: Bash crashes while handling very long string in parameter expansion
Date: Tue, 9 Aug 2016 10:13:54 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

On 8/9/16 5:46 AM, Siteshwar Vashisht wrote:

> Bash Version: 4.4
> Patch Level: 0
> Release Status: rc2
> 
> Description:
>         Bash crashes while handling very long string in parameter expansion.

You exceed the hard resource limit for your data segment size, and either
the kernel kills the process or malloc fails and xmalloc() aborts the
process.  If malloc fails and returns 0, the shell will attempt to print
an explanatory message.  If that's not happening, the kernel is killing it.


-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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