PHP  
 PHP_HEAD
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

==19332== Conditional jump or move depends on uninitialised value(s)
==19332==    at 0xF08F35: zend_send_by_var_helper_SPEC_VAR (zend_vm_execute.h:13360)
==19332==    by 0xF0A540: ZEND_SEND_VAR_SPEC_VAR_HANDLER (zend_vm_execute.h:13476)
==19332==    by 0xEBD607: execute_ex (zend_vm_execute.h:363)
==19332==    by 0xEBE1AA: zend_execute (zend_vm_execute.h:388)
==19332==    by 0xE5422F: zend_execute_scripts (zend.c:1330)
==19332==    by 0xD7433A: php_execute_script (main.c:2549)
==19332==    by 0x100562A: do_cli (php_cli.c:994)
==19332==    by 0x1006DD7: main (php_cli.c:1378)
==19332== 
==19332== Conditional jump or move depends on uninitialised value(s)
==19332==    at 0xC3D168: php_var_dump (var.c:107)
==19332==    by 0xC3DBE8: zif_var_dump (var.c:183)
==19332==    by 0xEBFB7B: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==19332==    by 0xECB4FD: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2585)
==19332==    by 0xEBD607: execute_ex (zend_vm_execute.h:363)
==19332==    by 0xEBE1AA: zend_execute (zend_vm_execute.h:388)
==19332==    by 0xE5422F: zend_execute_scripts (zend.c:1330)
==19332==    by 0xD7433A: php_execute_script (main.c:2549)
==19332==    by 0x100562A: do_cli (php_cli.c:994)
==19332==    by 0x1006DD7: main (php_cli.c:1378)
==19332== 
==19332== Conditional jump or move depends on uninitialised value(s)
==19332==    at 0xC3D285: php_var_dump (var.c:113)
==19332==    by 0xC3DBE8: zif_var_dump (var.c:183)
==19332==    by 0xEBFB7B: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==19332==    by 0xECB4FD: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2585)
==19332==    by 0xEBD607: execute_ex (zend_vm_execute.h:363)
==19332==    by 0xEBE1AA: zend_execute (zend_vm_execute.h:388)
==19332==    by 0xE5422F: zend_execute_scripts (zend.c:1330)
==19332==    by 0xD7433A: php_execute_script (main.c:2549)
==19332==    by 0x100562A: do_cli (php_cli.c:994)
==19332==    by 0x1006DD7: main (php_cli.c:1378)
==19332== 

 

Generated at Sun, 06 Apr 2014 17:31:17 +0000 (9 days ago)

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