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

==13797== Conditional jump or move depends on uninitialised value(s)
==13797==    at 0x5146FFC: ??? (in /lib64/libz.so.1.2.3)
==13797==    by 0x514822B: ??? (in /lib64/libz.so.1.2.3)
==13797==    by 0x5148314: gzdopen (in /lib64/libz.so.1.2.3)
==13797==    by 0x722383: php_stream_gzopen (zlib_fopen_wrapper.c:141)
==13797==    by 0x71CBD8: zif_gzopen (zlib.c:621)
==13797==    by 0x10D06EC: ZEND_DO_ICALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:628)
==13797==    by 0x10CDD74: execute_ex (zend_vm_execute.h:429)
==13797==    by 0x10CE964: zend_execute (zend_vm_execute.h:474)
==13797==    by 0xFEF4B2: zend_execute_scripts (zend.c:1482)
==13797==    by 0xEE2D35: php_execute_script (main.c:2577)
==13797==    by 0x1237A3A: do_cli (php_cli.c:993)
==13797==    by 0x12394D3: main (php_cli.c:1381)
==13797== 

 

Generated at Sat, 22 Sep 2018 10:27:05 +0000 (14 hours ago)

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