Valgrind Report for ext/zip/tests/bug38944.phpt ('Bug #38944 (newly created ZipArchive segfaults when accessing comment property)')
Script
1:
<?php 2: 3: $arc_name = dirname(__FILE__)."/bug38944.zip"; 4: $foo = new ZipArchive; 5: $foo->open($arc_name, ZIPARCHIVE::CREATE);; 6: 7: var_dump($foo->status); 8: var_dump($foo->statusSys); 9: var_dump($foo->numFiles); 10: var_dump($foo->filename); 11: var_dump($foo->comment); 12: 13: var_dump($foo); 14: 15: echo "Done\n"; 16: ?> 17:
Report
==30982== Conditional jump or move depends on uninitialised value(s)
==30982== at 0xF8D1B8: zend_send_by_var_helper_SPEC_VAR (zend_vm_execute.h:13415)
==30982== by 0xF8E742: ZEND_SEND_VAR_SPEC_VAR_HANDLER (zend_vm_execute.h:13531)
==30982== by 0xF429CD: execute_ex (zend_vm_execute.h:363)
==30982== by 0xF435A6: zend_execute (zend_vm_execute.h:388)
==30982== by 0xED8585: zend_execute_scripts (zend.c:1341)
==30982== by 0xDF831C: php_execute_script (main.c:2613)
==30982== by 0x1089EB6: do_cli (php_cli.c:998)
==30982== by 0x108B79B: main (php_cli.c:1382)
==30982==
==30982== Conditional jump or move depends on uninitialised value(s)
==30982== at 0xCB7A7D: php_var_dump (var.c:107)
==30982== by 0xCB84BE: zif_var_dump (var.c:183)
==30982== by 0xF44E9F: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==30982== by 0xF50662: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==30982== by 0xF429CD: execute_ex (zend_vm_execute.h:363)
==30982== by 0xF435A6: zend_execute (zend_vm_execute.h:388)
==30982== by 0xED8585: zend_execute_scripts (zend.c:1341)
==30982== by 0xDF831C: php_execute_script (main.c:2613)
==30982== by 0x1089EB6: do_cli (php_cli.c:998)
==30982== by 0x108B79B: main (php_cli.c:1382)
==30982==
==30982== Conditional jump or move depends on uninitialised value(s)
==30982== at 0xCB7BAC: php_var_dump (var.c:113)
==30982== by 0xCB84BE: zif_var_dump (var.c:183)
==30982== by 0xF44E9F: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==30982== by 0xF50662: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==30982== by 0xF429CD: execute_ex (zend_vm_execute.h:363)
==30982== by 0xF435A6: zend_execute (zend_vm_execute.h:388)
==30982== by 0xED8585: zend_execute_scripts (zend.c:1341)
==30982== by 0xDF831C: php_execute_script (main.c:2613)
==30982== by 0x1089EB6: do_cli (php_cli.c:998)
==30982== by 0x108B79B: main (php_cli.c:1382)
==30982==
Generated at Wed, 25 Apr 2018 20:18:17 +0000 (19 hours ago)
|