php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Sec Bug #74622 zif_unserialize Invalid read of size 8
Submitted: 2017-05-21 11:17 UTC Modified: 2017-08-12 19:28 UTC
From: fu4kleak at 163 dot com Assigned:
Status: Duplicate Package: *General Issues
PHP Version: 7.1.5/7.1.6 OS: Debian GNU/Linux 9 \n \l
Private report: No CVE-ID: None
 [2017-05-21 11:17 UTC] fu4kleak at 163 dot com
Description:
------------
it was found by afl

OS:Linux debian 4.9.0-2-amd64 #1 SMP Debian 4.9.18-1 (2017-03-30) x86_64 GNU/Linux

build:./configure --disable-shared --enable-static CC=clang CXX=clang++
make: make -j$(nproc)

valgrind trace(USE_ZEND_ALLOC=1):
==5481== Memcheck, a memory error detector
==5481== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==5481== Using Valgrind-3.12.0 and LibVEX; rerun with -h for copyright info
==5481== Command: ../fuzzy/php_orig_release ../fuzzy/fuzzy_php.php id:000031,sig:06,src:000677+003864,op:splice,rep:2
==5481== Parent PID: 24791
==5481== 
==5481== Invalid read of size 8
==5481==    at 0x74A648: zend_mm_alloc_small (zend_alloc.c:1261)
==5481==    by 0x74A648: zend_mm_alloc_heap (zend_alloc.c:1332)
==5481==    by 0x74A648: _emalloc (zend_alloc.c:2417)
==5481==    by 0x6F5FF4: zend_string_alloc (zend_string.h:122)
==5481==    by 0x6F5FF4: zend_string_init (zend_string.h:158)
==5481==    by 0x6F5FF4: php_var_unserialize_internal (var_unserializer.re:767)
==5481==    by 0x6F5F86: process_nested_data (var_unserializer.re:396)
==5481==    by 0x6F5F86: php_var_unserialize_internal (var_unserializer.re:822)
==5481==    by 0x6F5C87: process_nested_data (var_unserializer.re:452)
==5481==    by 0x6F5C87: php_var_unserialize_internal (var_unserializer.re:822)
==5481==    by 0x6F5C87: process_nested_data (var_unserializer.re:452)
==5481==    by 0x6F5C87: php_var_unserialize_internal (var_unserializer.re:822)
==5481==    by 0x6F5C87: process_nested_data (var_unserializer.re:452)
==5481==    by 0x6F5C87: php_var_unserialize_internal (var_unserializer.re:822)
==5481==    by 0x6F5C87: process_nested_data (var_unserializer.re:452)
==5481==    by 0x6F5C87: php_var_unserialize_internal (var_unserializer.re:822)
==5481==    by 0x6F5C87: process_nested_data (var_unserializer.re:452)
==5481==    by 0x6F5C87: php_var_unserialize_internal (var_unserializer.re:822)
==5481==    by 0x6F5C87: process_nested_data (var_unserializer.re:452)
==5481==    by 0x6F5C87: php_var_unserialize_internal (var_unserializer.re:822)
==5481==    by 0x6F6BD7: process_nested_data (var_unserializer.re:452)
==5481==    by 0x6F6BD7: object_common2 (var_unserializer.re:556)
==5481==    by 0x6F68C2: php_var_unserialize_internal (var_unserializer.re:989)
==5481==    by 0x6E6A07: zif_unserialize (var.c:1114)
==5481==  Address 0x9662e6000 is not stack'd, malloc'd or (recently) free'd
==5481== 
==5481== 
==5481== Process terminating with default action of signal 11 (SIGSEGV)
==5481==  Access not within mapped region at address 0x9662E6000
==5481==    at 0x74A648: zend_mm_alloc_small (zend_alloc.c:1261)
==5481==    by 0x74A648: zend_mm_alloc_heap (zend_alloc.c:1332)
==5481==    by 0x74A648: _emalloc (zend_alloc.c:2417)
==5481==    by 0x6F5FF4: zend_string_alloc (zend_string.h:122)
==5481==    by 0x6F5FF4: zend_string_init (zend_string.h:158)
==5481==    by 0x6F5FF4: php_var_unserialize_internal (var_unserializer.re:767)
==5481==    by 0x6F5F86: process_nested_data (var_unserializer.re:396)
==5481==    by 0x6F5F86: php_var_unserialize_internal (var_unserializer.re:822)
==5481==    by 0x6F5C87: process_nested_data (var_unserializer.re:452)
==5481==    by 0x6F5C87: php_var_unserialize_internal (var_unserializer.re:822)
==5481==    by 0x6F5C87: process_nested_data (var_unserializer.re:452)
==5481==    by 0x6F5C87: php_var_unserialize_internal (var_unserializer.re:822)
==5481==    by 0x6F5C87: process_nested_data (var_unserializer.re:452)
==5481==    by 0x6F5C87: php_var_unserialize_internal (var_unserializer.re:822)
==5481==    by 0x6F5C87: process_nested_data (var_unserializer.re:452)
==5481==    by 0x6F5C87: php_var_unserialize_internal (var_unserializer.re:822)
==5481==    by 0x6F5C87: process_nested_data (var_unserializer.re:452)
==5481==    by 0x6F5C87: php_var_unserialize_internal (var_unserializer.re:822)
==5481==    by 0x6F5C87: process_nested_data (var_unserializer.re:452)
==5481==    by 0x6F5C87: php_var_unserialize_internal (var_unserializer.re:822)
==5481==    by 0x6F6BD7: process_nested_data (var_unserializer.re:452)
==5481==    by 0x6F6BD7: object_common2 (var_unserializer.re:556)
==5481==    by 0x6F68C2: php_var_unserialize_internal (var_unserializer.re:989)
==5481==    by 0x6E6A07: zif_unserialize (var.c:1114)
==5481==  If you believe this happened as a result of a stack
==5481==  overflow in your program's main thread (unlikely but
==5481==  possible), you can try to increase the size of the
==5481==  main thread stack using the --main-stacksize= flag.
==5481==  The main thread stack size used in this run was 8388608.
==5481== 
==5481== HEAP SUMMARY:
==5481==     in use at exit: 1,401,127 bytes in 9,958 blocks
==5481==   total heap usage: 12,347 allocs, 2,389 frees, 1,801,631 bytes allocated
==5481== 
==5481== 8 bytes in 1 blocks are possibly lost in loss record 52 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x456205: zend_hash_add_mem (zend_hash.h:608)
==5481==    by 0x456205: php_libxml_register_export (libxml.c:1172)
==5481==    by 0x5DD732: zm_startup_dom (php_dom.c:906)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 8 bytes in 1 blocks are possibly lost in loss record 53 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x456205: zend_hash_add_mem (zend_hash.h:608)
==5481==    by 0x456205: php_libxml_register_export (libxml.c:1172)
==5481==    by 0x6739F8: zm_startup_simplexml (simplexml.c:2746)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 75 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5D8AE2: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5D8AE2: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5D8AE2: zm_startup_dom (php_dom.c:625)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 76 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5D8C71: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5D8C71: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5D8C71: zm_startup_dom (php_dom.c:631)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 77 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5D8E0A: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5D8E0A: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5D8E0A: zm_startup_dom (php_dom.c:637)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 78 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5D913A: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5D913A: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5D913A: zm_startup_dom (php_dom.c:646)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 79 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5D91AB: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5D91AB: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5D91AB: zm_startup_dom (php_dom.c:647)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 80 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5D9218: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5D9218: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5D9218: zm_startup_dom (php_dom.c:648)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 81 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5D9289: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5D9289: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5D9289: zm_startup_dom (php_dom.c:649)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 82 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5D92FA: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5D92FA: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5D92FA: zm_startup_dom (php_dom.c:650)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 83 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5D936B: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5D936B: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5D936B: zm_startup_dom (php_dom.c:651)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 84 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5D93DC: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5D93DC: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5D93DC: zm_startup_dom (php_dom.c:652)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 85 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5D944D: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5D944D: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5D944D: zm_startup_dom (php_dom.c:653)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 86 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5D94BE: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5D94BE: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5D94BE: zm_startup_dom (php_dom.c:654)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 87 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5D952F: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5D952F: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5D952F: zm_startup_dom (php_dom.c:655)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 88 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5D95A0: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5D95A0: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5D95A0: zm_startup_dom (php_dom.c:656)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 89 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5D9611: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5D9611: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5D9611: zm_startup_dom (php_dom.c:657)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 90 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5D9682: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5D9682: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5D9682: zm_startup_dom (php_dom.c:658)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 91 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5D96EF: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5D96EF: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5D96EF: zm_startup_dom (php_dom.c:659)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 92 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5D9760: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5D9760: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5D9760: zm_startup_dom (php_dom.c:660)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 93 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5D97D4: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5D97D4: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5D97D4: zm_startup_dom (php_dom.c:661)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 94 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5D9948: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5D9948: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5D9948: zm_startup_dom (php_dom.c:667)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 95 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5D99B9: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5D99B9: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5D99B9: zm_startup_dom (php_dom.c:668)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 96 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5D9A2A: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5D9A2A: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5D9A2A: zm_startup_dom (php_dom.c:669)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 97 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5D9A9B: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5D9A9B: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5D9A9B: zm_startup_dom (php_dom.c:670)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 98 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5D9B0C: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5D9B0C: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5D9B0C: zm_startup_dom (php_dom.c:671)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 99 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5D9B7D: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5D9B7D: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5D9B7D: zm_startup_dom (php_dom.c:672)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 100 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5D9BEE: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5D9BEE: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5D9BEE: zm_startup_dom (php_dom.c:673)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 101 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5D9C62: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5D9C62: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5D9C62: zm_startup_dom (php_dom.c:674)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 102 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5D9F09: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5D9F09: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5D9F09: zm_startup_dom (php_dom.c:682)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 103 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5D9F84: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5D9F84: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5D9F84: zm_startup_dom (php_dom.c:683)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 104 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5D9FF5: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5D9FF5: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5D9FF5: zm_startup_dom (php_dom.c:684)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 105 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5DA066: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5DA066: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5DA066: zm_startup_dom (php_dom.c:685)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 106 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5DA0D7: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5DA0D7: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5DA0D7: zm_startup_dom (php_dom.c:686)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 107 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5DA144: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5DA144: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5DA144: zm_startup_dom (php_dom.c:687)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 108 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5DA1B5: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5DA1B5: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5DA1B5: zm_startup_dom (php_dom.c:688)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 109 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5DA222: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5DA222: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5DA222: zm_startup_dom (php_dom.c:689)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 110 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5DA28F: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5DA28F: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5DA28F: zm_startup_dom (php_dom.c:690)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 111 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5DA2FC: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5DA2FC: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5DA2FC: zm_startup_dom (php_dom.c:691)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 112 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5DA369: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5DA369: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5DA369: zm_startup_dom (php_dom.c:692)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 113 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5DA3D6: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5DA3D6: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5DA3D6: zm_startup_dom (php_dom.c:693)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 114 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5DA443: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5DA443: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5DA443: zm_startup_dom (php_dom.c:694)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 115 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5DA4B4: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5DA4B4: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5DA4B4: zm_startup_dom (php_dom.c:695)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 116 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5DA521: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5DA521: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5DA521: zm_startup_dom (php_dom.c:696)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 117 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5DA58E: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5DA58E: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5DA58E: zm_startup_dom (php_dom.c:697)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 118 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5DA5FB: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5DA5FB: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5DA5FB: zm_startup_dom (php_dom.c:698)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 119 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5DA668: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5DA668: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5DA668: zm_startup_dom (php_dom.c:699)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 120 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5DA6D8: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5DA6D8: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5DA6D8: zm_startup_dom (php_dom.c:700)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 121 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5DA8AD: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5DA8AD: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5DA8AD: zm_startup_dom (php_dom.c:712)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 122 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5DAA6E: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5DAA6E: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5DAA6E: zm_startup_dom (php_dom.c:722)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 123 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5DAC12: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5DAC12: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5DAC12: zm_startup_dom (php_dom.c:728)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 124 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5DAC82: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5DAC82: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5DAC82: zm_startup_dom (php_dom.c:729)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 125 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5DAE29: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5DAE29: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5DAE29: zm_startup_dom (php_dom.c:736)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 126 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5DAE9A: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5DAE9A: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5DAE9A: zm_startup_dom (php_dom.c:737)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 127 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5DAF0B: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5DAF0B: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5DAF0B: zm_startup_dom (php_dom.c:738)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 128 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5DAF78: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5DAF78: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5DAF78: zm_startup_dom (php_dom.c:739)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 129 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5DAFEC: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5DAFEC: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5DAFEC: zm_startup_dom (php_dom.c:740)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 130 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5DB19E: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5DB19E: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5DB19E: zm_startup_dom (php_dom.c:747)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 131 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5DB212: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5DB212: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5DB212: zm_startup_dom (php_dom.c:748)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 132 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5DB3BD: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5DB3BD: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5DB3BD: zm_startup_dom (php_dom.c:755)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 133 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5DB680: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5DB680: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5DB680: zm_startup_dom (php_dom.c:765)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 134 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5DB6FE: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5DB6FE: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5DB6FE: zm_startup_dom (php_dom.c:766)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 135 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5DB960: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5DB960: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5DB960: zm_startup_dom (php_dom.c:773)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 136 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5DB9D1: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5DB9D1: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5DB9D1: zm_startup_dom (php_dom.c:774)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 137 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5DBA42: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5DBA42: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5DBA42: zm_startup_dom (php_dom.c:775)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 138 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5DBAB3: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5DBAB3: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5DBAB3: zm_startup_dom (php_dom.c:776)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 139 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5DBB24: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5DBB24: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5DBB24: zm_startup_dom (php_dom.c:777)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 140 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5DBB98: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5DBB98: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5DBB98: zm_startup_dom (php_dom.c:778)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 141 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5DBE15: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5DBE15: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5DBE15: zm_startup_dom (php_dom.c:785)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 142 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5DBE86: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5DBE86: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5DBE86: zm_startup_dom (php_dom.c:786)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 143 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5DBEF7: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5DBEF7: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5DBEF7: zm_startup_dom (php_dom.c:787)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 144 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5DBF68: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5DBF68: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5DBF68: zm_startup_dom (php_dom.c:788)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 145 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5DBFDC: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5DBFDC: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5DBFDC: zm_startup_dom (php_dom.c:789)
==5481==    by 0x7784F4: zend_startup_module_ex (zend_API.c:1843)
==5481==    by 0x778938: zend_startup_module_zval (zend_API.c:1858)
==5481==    by 0x7862EC: zend_hash_apply (zend_hash.c:1508)
==5481==    by 0x778819: zend_startup_modules (zend_API.c:1969)
==5481==    by 0x7127A2: php_module_startup (main.c:2260)
==5481==    by 0x81AFDB: php_cli_startup (php_cli.c:427)
==5481==    by 0x819E81: main (php_cli.c:1348)
==5481== 
==5481== 16 bytes in 1 blocks are possibly lost in loss record 146 of 4,123
==5481==    at 0x4C2BB8D: malloc (vg_replace_malloc.c:299)
==5481==    by 0x74AB78: __zend_malloc (zend_alloc.c:2820)
==5481==    by 0x5DC360: zend_hash_str_add_mem (zend_hash.h:621)
==5481==    by 0x5DC360: dom_register_prop_handler (php_dom.c:308)
==5481==    by 0x5DC360: zm_startup_dom (php_dom

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-07-07 22:37 UTC] nikic@php.net
Unless I overlooked something, this report does not seem to contain the reproduce code for these valgrind warnings?
 [2017-07-27 08:51 UTC] fu4kleak at 163 dot com
-PHP Version: 7.1.5 +PHP Version: 7.1.5/7.1.6
 [2017-07-27 08:51 UTC] fu4kleak at 163 dot com
the php code is blow:
<?php
if ($argc != 2) {
	print_r("" . $argv[0] . " path/to/data\n");
	return;
} 
$poc = unserialize(file_get_contents($argv[1]));
?>

and the payload you can found at https://github.com/varsleak/varsleak-vul/blob/master/php-src-vul/heap-use-after-free/crash.data
 [2017-07-30 11:01 UTC] zeev@php.net
Removed 'Private' flag.
As has been documented for ages in our manual (http://php.net/manual/en/function.unserialize.php) - unserialize() is not meant to deal with untrusted data, and must not be used for that purpose.

As such, we will no longer consider any bugs in unserialize() to be security related.
 [2017-08-12 19:28 UTC] nikic@php.net
-Status: Open +Status: Duplicate
 [2017-08-12 19:28 UTC] nikic@php.net
The root cause here is the same as in bug #74103.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 10:01:29 2024 UTC