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

==12118== Conditional jump or move depends on uninitialised value(s)
==12118==    at 0xF100EF: zend_send_by_var_helper_SPEC_VAR (zend_vm_execute.h:13379)
==12118==    by 0xF116FA: ZEND_SEND_VAR_SPEC_VAR_HANDLER (zend_vm_execute.h:13495)
==12118==    by 0xEC4459: execute_ex (zend_vm_execute.h:363)
==12118==    by 0xEC4FFC: zend_execute (zend_vm_execute.h:388)
==12118==    by 0xE5A064: zend_execute_scripts (zend.c:1330)
==12118==    by 0xD7ADAA: php_execute_script (main.c:2550)
==12118==    by 0x100CA1E: do_cli (php_cli.c:994)
==12118==    by 0x100E1CB: main (php_cli.c:1378)
==12118== 
==12118== Conditional jump or move depends on uninitialised value(s)
==12118==    at 0xC40A40: php_var_dump (var.c:107)
==12118==    by 0xC414C0: zif_var_dump (var.c:183)
==12118==    by 0xEC69CD: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==12118==    by 0xED24AE: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2595)
==12118==    by 0xEC4459: execute_ex (zend_vm_execute.h:363)
==12118==    by 0xEC4FFC: zend_execute (zend_vm_execute.h:388)
==12118==    by 0xE5A064: zend_execute_scripts (zend.c:1330)
==12118==    by 0xD7ADAA: php_execute_script (main.c:2550)
==12118==    by 0x100CA1E: do_cli (php_cli.c:994)
==12118==    by 0x100E1CB: main (php_cli.c:1378)
==12118== 
==12118== Conditional jump or move depends on uninitialised value(s)
==12118==    at 0xC40B5D: php_var_dump (var.c:113)
==12118==    by 0xC414C0: zif_var_dump (var.c:183)
==12118==    by 0xEC69CD: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==12118==    by 0xED24AE: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2595)
==12118==    by 0xEC4459: execute_ex (zend_vm_execute.h:363)
==12118==    by 0xEC4FFC: zend_execute (zend_vm_execute.h:388)
==12118==    by 0xE5A064: zend_execute_scripts (zend.c:1330)
==12118==    by 0xD7ADAA: php_execute_script (main.c:2550)
==12118==    by 0x100CA1E: do_cli (php_cli.c:994)
==12118==    by 0x100E1CB: main (php_cli.c:1378)
==12118== 

 

Generated at Mon, 04 Aug 2014 15:49:20 +0000 (28 days ago)

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