Re: Re: why not use strtol instead of php_filter_parse_{int,hex,octal}?

From: Date: Tue, 23 Feb 2010 12:25:20 +0000
Subject: Re: Re: why not use strtol instead of php_filter_parse_{int,hex,octal}?
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-47036@lists.php.net to get a copy of this message
On Mon, 22 Feb 2010, Raphael Geissert wrote: > Derick Rethans wrote: > > > What exactly are you trying to fix here? > > gcc 4.4's optimiser removes the overflow check present in > php_filter_parse_int and ZEND_HANDLE_NUMERIC (but I can't touch that part of > the code anyway...) which prevents the overflow from being detected. Doesn't this sound like a GCC bug to you then? with kind regards, Derick -- http://derickrethans.nl | http://xdebug.org twitter: @derickr

« previous php.internals (#47036) next »