PHP  
 PHP_5_6
downloads | QA | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
 

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_nameZIPARCHIVE::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

==4544== Conditional jump or move depends on uninitialised value(s)
==4544==    at 0xF20C9E: zend_send_by_var_helper_SPEC_VAR (zend_vm_execute.h:13379)
==4544==    by 0xF222A9: ZEND_SEND_VAR_SPEC_VAR_HANDLER (zend_vm_execute.h:13495)
==4544==    by 0xED4FE2: execute_ex (zend_vm_execute.h:363)
==4544==    by 0xED5B85: zend_execute (zend_vm_execute.h:388)
==4544==    by 0xE6A9F3: zend_execute_scripts (zend.c:1341)
==4544==    by 0xD89065: php_execute_script (main.c:2584)
==4544==    by 0x101D5CE: do_cli (php_cli.c:994)
==4544==    by 0x101ED7B: main (php_cli.c:1378)
==4544== 
==4544== Conditional jump or move depends on uninitialised value(s)
==4544==    at 0xC4E7EC: php_var_dump (var.c:107)
==4544==    by 0xC4F26C: zif_var_dump (var.c:183)
==4544==    by 0xED755C: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==4544==    by 0xEE305D: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2595)
==4544==    by 0xED4FE2: execute_ex (zend_vm_execute.h:363)
==4544==    by 0xED5B85: zend_execute (zend_vm_execute.h:388)
==4544==    by 0xE6A9F3: zend_execute_scripts (zend.c:1341)
==4544==    by 0xD89065: php_execute_script (main.c:2584)
==4544==    by 0x101D5CE: do_cli (php_cli.c:994)
==4544==    by 0x101ED7B: main (php_cli.c:1378)
==4544== 
==4544== Conditional jump or move depends on uninitialised value(s)
==4544==    at 0xC4E909: php_var_dump (var.c:113)
==4544==    by 0xC4F26C: zif_var_dump (var.c:183)
==4544==    by 0xED755C: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==4544==    by 0xEE305D: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2595)
==4544==    by 0xED4FE2: execute_ex (zend_vm_execute.h:363)
==4544==    by 0xED5B85: zend_execute (zend_vm_execute.h:388)
==4544==    by 0xE6A9F3: zend_execute_scripts (zend.c:1341)
==4544==    by 0xD89065: php_execute_script (main.c:2584)
==4544==    by 0x101D5CE: do_cli (php_cli.c:994)
==4544==    by 0x101ED7B: main (php_cli.c:1378)
==4544== 

 

Generated at Sat, 24 Jan 2015 14:29:14 +0000 (7 days ago)

Copyright © 2005-2015 The PHP Group
All rights reserved.