PHP 4.0 Bug #2210: Seg Fault on php.ini reading. Using PHP as a cgi

From: Date: Wed, 01 Sep 1999 17:51:11 +0000
Subject: PHP 4.0 Bug #2210: Seg Fault on php.ini reading. Using PHP as a cgi
Groups: php.dev 
Request: Send a blank email to php-dev+get-10415@lists.php.net to get a copy of this message
From: ally@shires.org Operating system: DEC Unix OSF 1 4.0D Dec Alpha PHP version: 4.0 Latest CVS (01/09/1999) PHP Bug Type: Other Bug description: Seg Fault on php.ini reading. Using PHP as a cgi This error occured compiling PHP4 cvs 08/31/99. I fixed the other nasty little bugs like the php_lcg.h thingy. When I try to execute ./php after compiling, I get a seg fault and a core dump. Examination of the core reveils the following. 0x12001eddc in OnUpdateInt (entry=0x30, new_value=0x30 <Address 0x30 out of bounds>, new_value_length=3221787512, mh_arg1=0xd0, mh_arg2=0x14003ea18, mh_arg3=0x0) at php_ini.c:382 382 *p = atoi(new_value); This is moving one context up. The fault occurred in atoi. I compiled this with the native compiler and gcc using the following ./configure ./configure --with-oracle=$ORACLE_HOME --with-config-file-path=/tmp And I just copied the php.ini-dist file to /tmp/php.ini Hope this helps. :) Ally

« previous php.dev (#10415) next »