Bug #62517 [Asn->Csd]: parse_ini_file, memory corruption
| From: | pierrick@php.net | Date: | Tue, 10 Jul 2012 12:20:51 +0000 |
| Subject: | Bug #62517 [Asn->Csd]: parse_ini_file, memory corruption | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-171843@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62517&edit=1
ID: 62517
Updated by: pierrick@php.net
Reported by: bernhard dot hari at multisports dot ch
Summary: parse_ini_file, memory corruption
-Status: Assigned
+Status: Closed
Type: Bug
Package: *Directory/Filesystem functions
Operating System: Windows / Linux
PHP Version: Irrelevant
Assigned To: pierrick
Block user comment: N
Private report: N
New Comment:
Thank you for your bug report. This issue has already been fixed
in the latest released version of PHP, which you can download at
http://www.php.net/downloads.php
Previous Comments:
------------------------------------------------------------------------
[2012-07-10 10:59:31] bernhard dot hari at multisports dot ch
Windows Snapshot 5.4.5 (php-5.4-nts-windows-vc9-x86-r2032470) solved issue.
Thanks a lot.
------------------------------------------------------------------------
[2012-07-09 15:40:31] pierrick@php.net
Please try using this snapshot:
http://snaps.php.net/php5.4-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
------------------------------------------------------------------------
[2012-07-09 13:56:42] bernhard dot hari at multisports dot ch
Description:
------------
I've got memory problems both on windows and linux using the
INI_SCANNER_RAW option when parsing a simple test configuration file.
Definition is used for the list separator character within CSV reports.
Linux: php -v ==> 5.4.3
Windows: php -v ==> 5.3.5
Linux message:
/opt/php/bin/php test.php
*** glibc detected *** /opt/php/bin/php: malloc(): memory corruption: 0x0a3a0e38 ***
Windows message:
Unhandled exception at 0x715cae7a in php.exe: 0xC0000005: Access violation reading location
0x03951000.
Using sinlge quotes all works fine.
Test script:
---------------
<?php
parse_ini_file("test.ini", true, INI_SCANNER_RAW);
?>
file test.ini:
[test]
csv_list_separator=";"
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=62517&edit=1