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

==32442== Conditional jump or move depends on uninitialised value(s)
==32442==    at 0xF787AF: zend_send_by_var_helper_SPEC_VAR (zend_vm_execute.h:13385)
==32442==    by 0xF79DBA: ZEND_SEND_VAR_SPEC_VAR_HANDLER (zend_vm_execute.h:13501)
==32442==    by 0xF2CA56: execute_ex (zend_vm_execute.h:363)
==32442==    by 0xF2D5F9: zend_execute (zend_vm_execute.h:388)
==32442==    by 0xEC154F: zend_execute_scripts (zend.c:1341)
==32442==    by 0xDDF125: php_execute_script (main.c:2610)
==32442==    by 0x1079CD6: do_cli (php_cli.c:994)
==32442==    by 0x107B483: main (php_cli.c:1378)
==32442== 
==32442== Conditional jump or move depends on uninitialised value(s)
==32442==    at 0xCA3FAC: php_var_dump (var.c:107)
==32442==    by 0xCA4A2C: zif_var_dump (var.c:183)
==32442==    by 0xF2EFD0: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==32442==    by 0xF3AB66: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==32442==    by 0xF2CA56: execute_ex (zend_vm_execute.h:363)
==32442==    by 0xF2D5F9: zend_execute (zend_vm_execute.h:388)
==32442==    by 0xEC154F: zend_execute_scripts (zend.c:1341)
==32442==    by 0xDDF125: php_execute_script (main.c:2610)
==32442==    by 0x1079CD6: do_cli (php_cli.c:994)
==32442==    by 0x107B483: main (php_cli.c:1378)
==32442== 
==32442== Conditional jump or move depends on uninitialised value(s)
==32442==    at 0xCA40C9: php_var_dump (var.c:113)
==32442==    by 0xCA4A2C: zif_var_dump (var.c:183)
==32442==    by 0xF2EFD0: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==32442==    by 0xF3AB66: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==32442==    by 0xF2CA56: execute_ex (zend_vm_execute.h:363)
==32442==    by 0xF2D5F9: zend_execute (zend_vm_execute.h:388)
==32442==    by 0xEC154F: zend_execute_scripts (zend.c:1341)
==32442==    by 0xDDF125: php_execute_script (main.c:2610)
==32442==    by 0x1079CD6: do_cli (php_cli.c:994)
==32442==    by 0x107B483: main (php_cli.c:1378)
==32442== 

 

Generated at Wed, 03 Feb 2016 02:50:01 +0000 (10 days ago)

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