From: erwan dot le-disez at linbox dot com Operating system: IRIX 6.2 PHP version: 4.3.7 PHP Bug Type: *Compile Issues Bug description: Fatal error: Possible integer overflow in memory allocation
Description: ------------ Hello, During the compilation of PHP 4.3.7 the make install phase create a fatal error. The compil process is stoppped. This seems to be a bug in php. See bellow for the error. Thanks (and sorry, i don't speak english very well). Reproduce code: --------------- The instruction which causes the fault is : register_shutdown_function("_PEAR_call_destructors"); Actual result: -------------- make install Installing PHP SAPI module: apache [activating module `php4' in /tmp/apache-1.3.31+php-4.3.7/conf/httpd.conf] cp libs/libphp4.so /tmp/apache-1.3.31+php-4.3.7/libexec/libphp4.so chmod 755 /tmp/apache-1.3.31+php-4.3.7/libexec/libphp4.so cp /tmp/apache-1.3.31+php-4.3.7/conf/httpd.conf /tmp/apache-1.3.31+php-4.3.7/conf/httpd.conf.bak cp /tmp/apache-1.3.31+php-4.3.7/conf/httpd.conf.new /tmp/apache-1.3.31+php-4.3.7/conf/httpd.conf rm /tmp/apache-1.3.31+php-4.3.7/conf/httpd.conf.new Installing PHP CLI binary: /tmp/apache-1.3.31+php-4.3.7/bin/ Installing PHP CLI man page: /tmp/apache-1.3.31+php-4.3.7/man/man1/ Installing PEAR environment: /tmp/apache-1.3.31+php-4.3.7/lib/php/ Fatal error: Possible integer overflow in memory allocation (4 * 1 + 0) in /d/Distrib/Compils/apache/php-4.3.7/pear/PEAR.php on line 967 make[1]: *** [install-pear-installer] Error 255 make: *** [install-pear] Error 2 -- Edit bug report at http://bugs.php.net/?id=28945&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28945&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28945&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=28945&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=28945&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=28945&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=28945&r=needscript Try newer version: http://bugs.php.net/fix.php?id=28945&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=28945&r=support Expected behavior: http://bugs.php.net/fix.php?id=28945&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=28945&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=28945&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=28945&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28945&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=28945&r=dst IIS Stability: http://bugs.php.net/fix.php?id=28945&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=28945&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=28945&r=float