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

==21730== Conditional jump or move depends on uninitialised value(s)
==21730==    at 0x5143FFC: ??? (in /lib64/libz.so.1.2.3)
==21730==    by 0x514522B: ??? (in /lib64/libz.so.1.2.3)
==21730==    by 0x5145314: gzdopen (in /lib64/libz.so.1.2.3)
==21730==    by 0x678D9E: php_stream_gzopen (zlib_fopen_wrapper.c:139)
==21730==    by 0x676C8B: zif_gzopen (zlib.c:592)
==21730==    by 0xEC16FC: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==21730==    by 0xECD07E: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2585)
==21730==    by 0xEBF188: execute_ex (zend_vm_execute.h:363)
==21730==    by 0xEBFD2B: zend_execute (zend_vm_execute.h:388)
==21730==    by 0xE5516B: zend_execute_scripts (zend.c:1330)
==21730==    by 0xD7657A: php_execute_script (main.c:2549)
==21730==    by 0x10071DA: do_cli (php_cli.c:994)
==21730== 

 

Generated at Wed, 16 Apr 2014 12:48:04 +0000 (9 hours ago)

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