[Top][All Lists]

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

Re: Severe Bash Bug with Arrays

From: Chet Ramey
Subject: Re: Severe Bash Bug with Arrays
Date: Wed, 25 Apr 2012 16:05:15 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:11.0) Gecko/20120327 Thunderbird/11.0.1

On 4/25/12 3:09 PM, Greg Wooledge wrote:
> On Wed, Apr 25, 2012 at 02:54:07PM -0400, Chet Ramey wrote:
>> On 4/25/12 2:04 PM, Greg Wooledge wrote:
>>> Maybe it only works on boxes with a very large "open files" resource
>>> limit.  Perhaps the hard-coded 255 should be replaced with something
>>> involving getrlimit() or similar?
>> I see two potential fixes here.  First, try changing the 255 to -1 and
>> see what happens.
> That broke something pretty badly.

OK.  Now make the call move_to_high_fd(0, 1, -1) and see if that fixes it.

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

reply via email to

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