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

==24807== Conditional jump or move depends on uninitialised value(s)
==24807==    at 0x5145FFC: ??? (in /lib64/libz.so.1.2.3)
==24807==    by 0x514722B: ??? (in /lib64/libz.so.1.2.3)
==24807==    by 0x5147314: gzdopen (in /lib64/libz.so.1.2.3)
==24807==    by 0x72D6D9: php_stream_gzopen (zlib_fopen_wrapper.c:141)
==24807==    by 0x728173: zif_gzopen (zlib.c:621)
==24807==    by 0x10D3B47: ZEND_DO_ICALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:628)
==24807==    by 0x10D1252: execute_ex (zend_vm_execute.h:432)
==24807==    by 0x10D1E9F: zend_execute (zend_vm_execute.h:474)
==24807==    by 0xFF473E: zend_execute_scripts (zend.c:1474)
==24807==    by 0xEEA353: php_execute_script (main.c:2531)
==24807==    by 0x12384C9: do_cli (php_cli.c:994)
==24807==    by 0x1239E70: main (php_cli.c:1387)
==24807== 

 

Generated at Sat, 26 Nov 2016 01:35:25 +0000 (6 days ago)

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