PHP  
 PHP_5_4
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

==6893== Conditional jump or move depends on uninitialised value(s)
==6893==    at 0x5145FFC: ??? (in /lib64/libz.so.1.2.3)
==6893==    by 0x514722B: ??? (in /lib64/libz.so.1.2.3)
==6893==    by 0x5147314: gzdopen (in /lib64/libz.so.1.2.3)
==6893==    by 0x63521A: php_stream_gzopen (zlib_fopen_wrapper.c:137)
==6893==    by 0x63319E: zif_gzopen (zlib.c:592)
==6893==    by 0xDE360B: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:643)
==6893==    by 0xDED7AB: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2233)
==6893==    by 0xDE1767: execute (zend_vm_execute.h:410)
==6893==    by 0xD85714: zend_execute_scripts (zend.c:1329)
==6893==    by 0xCB78F5: php_execute_script (main.c:2502)
==6893==    by 0xF53858: do_cli (php_cli.c:989)
==6893==    by 0xF54E95: main (php_cli.c:1365)
==6893== 

 

Generated at Tue, 03 Mar 2015 22:20:43 +0000 (1 hour ago)

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