|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2015-09-05 03:24 UTC] laruence@php.net
[2015-09-08 06:49 UTC] sixd@php.net
[2015-09-10 11:26 UTC] laruence@php.net
-Assigned To:
+Assigned To: laruence
[2015-09-10 11:56 UTC] laruence@php.net
[2015-09-10 11:56 UTC] laruence@php.net
-Status: Assigned
+Status: Closed
[2015-09-15 12:13 UTC] ab@php.net
[2016-07-20 11:36 UTC] davey@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 02:00:01 2025 UTC |
Description: ------------ ==12787== 51 bytes in 1 blocks are definitely lost in loss record 363 of 675 ==12787== at 0x4A069EE: malloc (vg_replace_malloc.c:270) ==12787== by 0x681D37: _estrndup (zend_alloc.c:2516) ==12787== by 0x64E44D: expand_filepath_with_mode (fopen_wrappers.c:822) ==12787== by 0x650B8E: php_init_config (php_ini.c:555) ==12787== by 0x64A5A4: php_module_startup (main.c:2147) ==12787== by 0x73B3CC: php_cli_startup (php_cli.c:423) ==12787== by 0x73CEE3: main (php_cli.c:1322) Fix (from @Senthil) is: --- php_ini.c.orig 2015-09-05 00:02:16.000000000 +1000 +++ php_ini.c 2015-09-04 23:58:13.000000000 +1000 @@ -600,6 +600,8 @@ if (opened_path) { zend_string_release(opened_path); } + efree((char*) fh.filename); + fh.filename = (char *) NULL; php_ini_opened_path = zend_strndup(Z_STRVAL(tmp), Z_STRLEN(tmp)); } }