#45823 [Opn->Csd]: php_ini_scanned_path_len wasn't fixed on PHP_5_2 tag

[email protected]
Newsgroups php.bugs
Message-ID <[email protected]>
 ID:               45823
 Updated by:       [email protected]
 Reported By:      Keisial at gmail dot com
-Status:           Open
+Status:           Closed
 Bug Type:         Compile Failure
 Operating System: Windows
 PHP Version:      5.2CVS-2008-08-14 (snap)
 New Comment:

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:
------------------------------------------------------------------------

[2008-08-14 16:23:49] Keisial at gmail dot com

Description:
------------
Jani added a new ini check system based on php_ini_scanned_path_len to

HEAD:
http://cvs.php.net/viewvc.cgi/php-src/main/php_ini.c?r1=1.167&r2=1.168
PHP 5.3:
http://cvs.php.net/viewvc.cgi/php-src/main/php_ini.c?r1=1.136.2.4.2.15.2.9&r2=1.136.2.4.2.15.2.10
PHP 5.2:
http://cvs.php.net/viewvc.cgi/php-src/main/php_ini.c?r1=1.136.2.4.2.16&r2=1.136.2.4.2.17

Alas, it had a bug and didn't build on some compilers, so pajoye fixed
it:
PHP_5_3:
http://cvs.php.net/viewvc.cgi/php-src/main/php_ini.c?r1=1.136.2.4.2.15.2.10&r2=1.136.2.4.2.15.2.11
HEAD:
http://cvs.php.net/viewvc.cgi/php-src/main/php_ini.c?r1=1.168&r2=1.169

...and 5.2 branch remains broken.
Please apply the same patch to 5.2 (i tested it and fixes the issue) or
undo jani's.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=45823&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.