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

==10726== Conditional jump or move depends on uninitialised value(s)
==10726==    at 0x5146FFC: ??? (in /lib64/libz.so.1.2.3)
==10726==    by 0x514822B: ??? (in /lib64/libz.so.1.2.3)
==10726==    by 0x5148314: gzdopen (in /lib64/libz.so.1.2.3)
==10726==    by 0x74109C: php_stream_gzopen (zlib_fopen_wrapper.c:141)
==10726==    by 0x73B8F1: zif_gzopen (zlib.c:621)
==10726==    by 0x10F5707: ZEND_DO_ICALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:628)
==10726==    by 0x10F2D8F: execute_ex (zend_vm_execute.h:429)
==10726==    by 0x10F397F: zend_execute (zend_vm_execute.h:474)
==10726==    by 0x101454E: zend_execute_scripts (zend.c:1482)
==10726==    by 0xF07BBE: php_execute_script (main.c:2577)
==10726==    by 0x125C620: do_cli (php_cli.c:993)
==10726==    by 0x125E0B9: main (php_cli.c:1381)
==10726== 

 

Generated at Sun, 23 Feb 2020 16:49:06 +0000 (2 days ago)

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