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

==15897== Conditional jump or move depends on uninitialised value(s)
==15897==    at 0x5146FFC: ??? (in /lib64/libz.so.1.2.3)
==15897==    by 0x514822B: ??? (in /lib64/libz.so.1.2.3)
==15897==    by 0x5148314: gzdopen (in /lib64/libz.so.1.2.3)
==15897==    by 0x7475D9: php_stream_gzopen (zlib_fopen_wrapper.c:141)
==15897==    by 0x7418DB: zif_gzopen (zlib.c:621)
==15897==    by 0x11C032A: ZEND_DO_ICALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:573)
==15897==    by 0x133C718: execute_ex (zend_vm_execute.h:59726)
==15897==    by 0x133CD90: zend_execute (zend_vm_execute.h:63763)
==15897==    by 0x10E180E: zend_execute_scripts (zend.c:1496)
==15897==    by 0xFD3164: php_execute_script (main.c:2590)
==15897==    by 0x134292D: do_cli (php_cli.c:1011)
==15897==    by 0x13442E1: main (php_cli.c:1404)
==15897== 

 

Generated at Sat, 09 Dec 2017 10:21:20 +0000 (4 days ago)

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