Subject: Re: random() To: Jun-ichiro itojun Hagino <itojun@itojun.org> From: Jason Thorpe <thorpej@wasabisystems.com> List: tech-security Date: 09/12/2003 11:55:17
On Friday, September 5, 2003, at 03:48 PM, Jun-ichiro itojun Hagino
wrote:
> u_long
> random()
> {
> return arc4random() & INT32_MAX;
> }
That isn't right at all for LP64 platforms.
-- Jason R. Thorpe <thorpej@wasabisystems.com>