bug-bash
[Top][All Lists]
Advanced

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

Re: Bug in shell: buffer overflow.


From: Stephane CHAZELAS
Subject: Re: Bug in shell: buffer overflow.
Date: Sat, 1 Jan 2011 17:48:35 +0000 (UTC)
User-agent: slrn/pre1.0.0-18 (Linux)

2010-12-31, 11:33(-07), Bob Proulx:
[...]
> Your expressions above are overflowing the value of your system's
> maximum integer size.  You can read the system's maximum integer size
> using getconf.
>
>   $ getconf INT_MAX
>   2147483647
[...]

POSIX requires that arithmetic expansion be using at least
signed longs, so getconf INT_MAX wouldn't necessarily be
correct.

-- 
Stephane


reply via email to

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