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

==22001== Conditional jump or move depends on uninitialised value(s)
==22001==    at 0x5146FFC: ??? (in /lib64/libz.so.1.2.3)
==22001==    by 0x514822B: ??? (in /lib64/libz.so.1.2.3)
==22001==    by 0x5148314: gzdopen (in /lib64/libz.so.1.2.3)
==22001==    by 0x75820C: php_stream_gzopen (zlib_fopen_wrapper.c:141)
==22001==    by 0x7525F7: zif_gzopen (zlib.c:621)
==22001==    by 0x1374CB4: ZEND_DO_ICALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:577)
==22001==    by 0x1374CB4: execute_ex (zend_vm_execute.h:59775)
==22001==    by 0x139C836: zend_execute (zend_vm_execute.h:63804)
==22001==    by 0x11205BF: zend_execute_scripts (zend.c:1498)
==22001==    by 0x1010252: php_execute_script (main.c:2599)
==22001==    by 0x13A26F1: do_cli (php_cli.c:1011)
==22001==    by 0x13A417B: main (php_cli.c:1403)
==22001== 

 

Generated at Fri, 22 May 2020 15:51:44 +0000 (2 days ago)

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