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

==29260== Conditional jump or move depends on uninitialised value(s)
==29260==    at 0x5146FFC: ??? (in /lib64/libz.so.1.2.3)
==29260==    by 0x514822B: ??? (in /lib64/libz.so.1.2.3)
==29260==    by 0x5148314: gzdopen (in /lib64/libz.so.1.2.3)
==29260==    by 0x73D4FC: php_stream_gzopen (zlib_fopen_wrapper.c:141)
==29260==    by 0x7378E7: zif_gzopen (zlib.c:621)
==29260==    by 0x1344F0E: ZEND_DO_ICALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:573)
==29260==    by 0x1344F0E: execute_ex (zend_vm_execute.h:59747)
==29260==    by 0x136C9B8: zend_execute (zend_vm_execute.h:63776)
==29260==    by 0x10F1135: zend_execute_scripts (zend.c:1496)
==29260==    by 0xFE2090: php_execute_script (main.c:2590)
==29260==    by 0x1372873: do_cli (php_cli.c:1011)
==29260==    by 0x13742FD: main (php_cli.c:1404)
==29260== 

 

Generated at Thu, 12 Jul 2018 17:17:45 +0000 (6 days ago)

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