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

Valgrind Report for ext/zlib/tests/bug61139.phpt ('Bug #61139 (gzopen leaks when specifying invalid mode)')

Script

1: <?php
2:
3: gzopen
('someFile''c');
4:

Report

==820== Conditional jump or move depends on uninitialised value(s)
==820==    at 0x5143FFC: ??? (in /lib64/libz.so.1.2.3)
==820==    by 0x514522B: ??? (in /lib64/libz.so.1.2.3)
==820==    by 0x5145314: gzdopen (in /lib64/libz.so.1.2.3)
==820==    by 0x6790A6: php_stream_gzopen (zlib_fopen_wrapper.c:139)
==820==    by 0x676F93: zif_gzopen (zlib.c:592)
==820==    by 0xEC4CB9: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==820==    by 0xED079A: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2595)
==820==    by 0xEC2745: execute_ex (zend_vm_execute.h:363)
==820==    by 0xEC32E8: zend_execute (zend_vm_execute.h:388)
==820==    by 0xE58480: zend_execute_scripts (zend.c:1330)
==820==    by 0xD79282: php_execute_script (main.c:2549)
==820==    by 0x100ACEE: do_cli (php_cli.c:994)
==820== 

 

Generated at Tue, 22 Jul 2014 01:33:26 +0000 (2 days ago)

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