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

==19882== Conditional jump or move depends on uninitialised value(s)
==19882==    at 0x5146FFC: ??? (in /lib64/libz.so.1.2.3)
==19882==    by 0x514822B: ??? (in /lib64/libz.so.1.2.3)
==19882==    by 0x5148314: gzdopen (in /lib64/libz.so.1.2.3)
==19882==    by 0x75811B: php_stream_gzopen (zlib_fopen_wrapper.c:141)
==19882==    by 0x752506: zif_gzopen (zlib.c:621)
==19882==    by 0x13759E3: ZEND_DO_ICALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:577)
==19882==    by 0x13759E3: execute_ex (zend_vm_execute.h:59763)
==19882==    by 0x139D565: zend_execute (zend_vm_execute.h:63792)
==19882==    by 0x112147C: zend_execute_scripts (zend.c:1498)
==19882==    by 0x1011197: php_execute_script (main.c:2599)
==19882==    by 0x13A3420: do_cli (php_cli.c:1011)
==19882==    by 0x13A4EAA: main (php_cli.c:1403)
==19882== 

 

Generated at Thu, 17 Oct 2019 23:21:35 +0000 (2 days ago)

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