Edit report at https://bugs.php.net/bug.php?id=62517&edit=1

 ID:                 62517
 Updated by:         [email protected]
 Reported by:        bernhard dot hari at multisports dot ch
 Summary:            parse_ini_file, memory corruption
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            *Directory/Filesystem functions
 Operating System:   Windows / Linux
 PHP Version:        Irrelevant
-Assigned To:        
+Assigned To:        pierrick
 Block user comment: N
 Private report:     N

 New Comment:

Please try using this snapshot:

  http://snaps.php.net/php5.4-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/




Previous Comments:
------------------------------------------------------------------------
[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

Reply via email to