Bug #17580: PARSE_INI_FILE exits on files larger than 16KB
From: jorg.zimmermann@ron.de
Operating system: windows NT 4.0/XP/2000
PHP version: 4.2.1
PHP Bug Type: Reproducible crash
Bug description: PARSE_INI_FILE exits on files larger than 16KB
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 bug report at http://bugs.php.net/?id=17580&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17580&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17580&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17580&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17580&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17580&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17580&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17580&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17580&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17580&r=globals
Thread (13 messages)
- jorg dot zimmermann at ron dot de
- sander@php.netBug #17580 Updated: PARSE_INI_FILE exits on files larger than 16KB
- jorg dot zimmermann at ron dot deBug #17580 Updated: PARSE_INI_FILE exits on files larger than 16KB
- jorg dot zimmermann at ron dot deBug #17580 Updated: PARSE_INI_FILE exits on files larger than 16KB
- mfischer@php.netBug #17580 Updated: PARSE_INI_FILE exits on files larger than 16KB
- jorg dot zimmermann at ron dot deBug #17580 Updated: PARSE_INI_FILE exits on files larger than 16KB
- alex at acid-edge dot netBug #17580 Updated: PARSE_INI_FILE exits on files larger than 16KB
- sniper@php.netBug #17580 Updated: PARSE_INI_FILE exits on files larger than 16KB
- iliaa@php.net#17580 [Opn->Fbk]: PARSE_INI_FILE exits on files larger than 16KB
- jorg dot zimmermann at ron dot de#17580 [Fbk->Opn]: PARSE_INI_FILE exits on files larger than 16KB
- sniper@php.net#17580 [Opn->Ver]: PARSE_INI_FILE exits on files larger than 16KB
- devon at NOSPAMsitetronics dot com#17580 [Com]: PARSE_INI_FILE exits on files larger than 16KB
- iliaa@php.net#17580 [Ver->Csd]: PARSE_INI_FILE exits on files larger than 16KB