Bug #17580 Updated: PARSE_INI_FILE exits on files larger than 16KB

From: Date: Mon, 03 Jun 2002 22:19:57 +0000
Subject: Bug #17580 Updated: PARSE_INI_FILE exits on files larger than 16KB
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-9392@lists.php.net to get a copy of this message
ID: 17580 Updated by: jorg.zimmermann@ron.de Reported By: jorg.zimmermann@ron.de Status: Closed Bug Type: Reproducible crash Operating System: windows NT 4.0/XP/2000 PHP Version: 4.2.1 New Comment: this is not the case, it is standard windows ini file format. [xxx] key1=data key2=data . . . Previous Comments: ------------------------------------------------------------------------ [2002-06-03 13:13:49] sander@php.net AFAIK this error only appears if you have more than x kB (apparently 16) on one line. Because that's not a strict limitation at all, I'm closing this one. If you think this is not correct, please reopen this report. ------------------------------------------------------------------------ [2002-06-03 12:51:05] jorg.zimmermann@ron.de When I use parse_ini_file() on files larger then 16KB (exact 16382 Bytes) it exits with "input buffer overflow, can't enlarge buffer because scanner uses REJECT" there is no entry in the errorlog <? $ini = parse_ini_file("myini.ini"); print_r($ini); ?> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17580&edit=1

« previous php.bugs (#9392) next »