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

==28001== Conditional jump or move depends on uninitialised value(s)
==28001==    at 0x5146FFC: ??? (in /lib64/libz.so.1.2.3)
==28001==    by 0x514822B: ??? (in /lib64/libz.so.1.2.3)
==28001==    by 0x5148314: gzdopen (in /lib64/libz.so.1.2.3)
==28001==    by 0x73D522: php_stream_gzopen (zlib_fopen_wrapper.c:141)
==28001==    by 0x73790D: zif_gzopen (zlib.c:621)
==28001==    by 0x134402E: ZEND_DO_ICALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:573)
==28001==    by 0x134402E: execute_ex (zend_vm_execute.h:59747)
==28001==    by 0x136BAD8: zend_execute (zend_vm_execute.h:63776)
==28001==    by 0x10EFFFF: zend_execute_scripts (zend.c:1496)
==28001==    by 0xFE0F2D: php_execute_script (main.c:2590)
==28001==    by 0x1371993: do_cli (php_cli.c:1011)
==28001==    by 0x137341D: main (php_cli.c:1404)
==28001== 

 

Generated at Thu, 20 Sep 2018 00:48:51 +0000 (42 hours ago)

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