php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #45823 php_ini_scanned_path_len wasn't fixed on PHP_5_2 tag
Submitted: 2008-08-14 16:23 UTC Modified: 2008-08-14 16:34 UTC
From: Keisial at gmail dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 5.2CVS-2008-08-14 (snap) OS: Windows
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: Keisial at gmail dot com
New email:
PHP Version: OS:

 

 [2008-08-14 16:23 UTC] 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.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-08-14 16:34 UTC] felipe@php.net
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.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri Dec 05 12:00:01 2025 UTC