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

==7006== Conditional jump or move depends on uninitialised value(s)
==7006==    at 0xFACAC1: zend_send_by_var_helper_SPEC_VAR (zend_vm_execute.h:13415)
==7006==    by 0xFAE0CC: ZEND_SEND_VAR_SPEC_VAR_HANDLER (zend_vm_execute.h:13531)
==7006==    by 0xF60988: execute_ex (zend_vm_execute.h:363)
==7006==    by 0xF6152B: zend_execute (zend_vm_execute.h:388)
==7006==    by 0xEF5076: zend_execute_scripts (zend.c:1341)
==7006==    by 0xE1165D: php_execute_script (main.c:2613)
==7006==    by 0x10AFAAA: do_cli (php_cli.c:998)
==7006==    by 0x10B12A3: main (php_cli.c:1382)
==7006== 
==7006== Conditional jump or move depends on uninitialised value(s)
==7006==    at 0xCCDB1C: php_var_dump (var.c:107)
==7006==    by 0xCCE59C: zif_var_dump (var.c:183)
==7006==    by 0xF62F02: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==7006==    by 0xF6EA98: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==7006==    by 0xF60988: execute_ex (zend_vm_execute.h:363)
==7006==    by 0xF6152B: zend_execute (zend_vm_execute.h:388)
==7006==    by 0xEF5076: zend_execute_scripts (zend.c:1341)
==7006==    by 0xE1165D: php_execute_script (main.c:2613)
==7006==    by 0x10AFAAA: do_cli (php_cli.c:998)
==7006==    by 0x10B12A3: main (php_cli.c:1382)
==7006== 
==7006== Conditional jump or move depends on uninitialised value(s)
==7006==    at 0xCCDC39: php_var_dump (var.c:113)
==7006==    by 0xCCE59C: zif_var_dump (var.c:183)
==7006==    by 0xF62F02: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==7006==    by 0xF6EA98: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==7006==    by 0xF60988: execute_ex (zend_vm_execute.h:363)
==7006==    by 0xF6152B: zend_execute (zend_vm_execute.h:388)
==7006==    by 0xEF5076: zend_execute_scripts (zend.c:1341)
==7006==    by 0xE1165D: php_execute_script (main.c:2613)
==7006==    by 0x10AFAAA: do_cli (php_cli.c:998)
==7006==    by 0x10B12A3: main (php_cli.c:1382)
==7006== 

 

Generated at Sat, 18 Feb 2017 00:02:36 +0000 (8 days ago)

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