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

==10701== Conditional jump or move depends on uninitialised value(s)
==10701==    at 0x5146FFC: ??? (in /lib64/libz.so.1.2.3)
==10701==    by 0x514822B: ??? (in /lib64/libz.so.1.2.3)
==10701==    by 0x5148314: gzdopen (in /lib64/libz.so.1.2.3)
==10701==    by 0x74109C: php_stream_gzopen (zlib_fopen_wrapper.c:141)
==10701==    by 0x73B8F1: zif_gzopen (zlib.c:621)
==10701==    by 0x10F56E5: ZEND_DO_ICALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:628)
==10701==    by 0x10F2D6D: execute_ex (zend_vm_execute.h:429)
==10701==    by 0x10F395D: zend_execute (zend_vm_execute.h:474)
==10701==    by 0x101452C: zend_execute_scripts (zend.c:1482)
==10701==    by 0xF07B9C: php_execute_script (main.c:2577)
==10701==    by 0x125C5FE: do_cli (php_cli.c:993)
==10701==    by 0x125E097: main (php_cli.c:1381)
==10701== 

 

Generated at Sun, 15 Sep 2019 23:58:39 +0000 (36 hours ago)

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