bug-bash
[Top][All Lists]
Advanced

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

Re: Input line length


From: Eric Blake
Subject: Re: Input line length
Date: Mon, 07 Jun 2010 16:51:23 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-3.fc13 Lightning/1.0b2pre Mnenhy/0.8.2 Thunderbird/3.0.4

On 06/07/2010 02:38 PM, Chet Ramey wrote:
> I bet this is the kernel killing bash when the stack size resource limit
> is exceeded, not anything bash is doing or can catch.

To the contrary, it is possible to use the GPL libsigsegv to catch stack
overflow and exit with a clean error message instead of a SEGV; several
other GNU programs, such as guile, gawk, and m4, use this approach.

-- 
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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