[Top][All Lists]

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

Re: Bash bug with ints beyond 2147483646

From: Jan Schampera
Subject: Re: Bash bug with ints beyond 2147483646
Date: Wed, 03 Nov 2010 17:58:11 +0100
User-agent: Mozilla-Thunderbird (X11/20100329)

Greg Wooledge wrote:
On Tue, Nov 02, 2010 at 03:48:49PM -0400, Pete Gregory wrote:
echo {2147483640..2147483647}
dies with a malloc error

In bash 4.1.9 under HP-UX 10.20, it consumes all available CPU until
I kill it with SIGKILL.  (I suppose there's a chance it might eventually
have died due to malloc errors or whatever, but after several minutes
of waiting, I got impatient.)

Maybe as an additional hint for Chets debugging: In 3.2.39(1)-release it works, in 4.1.2(1)-release it fails (yes, Bonsai just came back from paging...). It drives crazy and mallocs like hell... 32bit int overflow?

Be conservative in what you do, be liberal in what you accept from others.
- jbp, master of the net, in RFC793

reply via email to

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