ID: 17580 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Verified +Status: Closed Bug Type: Scripting Engine problem Operating System: windows NT 4.0/XP/2000 PHP Version: 4.2.1/4.3.0 New Comment:
This bug has been fixed in CVS. In case this was a PHP problem, 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/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2002-10-02 04:25:46] [EMAIL PROTECTED] This is also apparent in FBSD 4.7-RC using 4.3.0-dev, I'm looking at the scanner. ------------------------------------------------------------------------ [2002-09-09 17:18:54] [EMAIL PROTECTED] Same results also on Linux, using latest PHP 4.3.0-dev. ------------------------------------------------------------------------ [2002-09-09 13:34:08] [EMAIL PROTECTED] tried this: <? $file = "myini.ini"; $fp = fopen($file,"a+"); fwrite($fp,"[TEXT]"); for ($i = 1; $i< 1000; $i++) fwrite($fp,"\r\nxx_".$i."=This is a test for the parseini function line ".$i); fclose($fp); $ini = parse_ini_file($file); print_r($ini); ?> with: For Windows: http://snaps.php.net/win32/php4-win32-latest.zip = PHP 4.3.0 as suggested from [EMAIL PROTECTED] on win XP it creates a file 57732 bytes and 999 keys still get same 'error' "input buffer overflow, can't enlarge buffer because scanner uses REJECT" ------------------------------------------------------------------------ [2002-08-28 20:24:03] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip I cannot replicate this bug on windows XP or linux, while using an ini file just under 100kb with 1000 keys. ------------------------------------------------------------------------ [2002-06-10 15:08:59] [EMAIL PROTECTED] Trying to parse Winamp .pls files and had to rely on a dodgy class someone wrote - however I don't get any error, PHP just seems to exit with no warning :/ ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/17580 -- Edit this bug report at http://bugs.php.net/?id=17580&edit=1