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

==12428== Conditional jump or move depends on uninitialised value(s)
==12428==    at 0x5146FFC: ??? (in /lib64/libz.so.1.2.3)
==12428==    by 0x514822B: ??? (in /lib64/libz.so.1.2.3)
==12428==    by 0x5148314: gzdopen (in /lib64/libz.so.1.2.3)
==12428==    by 0x75820C: php_stream_gzopen (zlib_fopen_wrapper.c:141)
==12428==    by 0x7525F7: zif_gzopen (zlib.c:621)
==12428==    by 0x1374D6C: ZEND_DO_ICALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:577)
==12428==    by 0x1374D6C: execute_ex (zend_vm_execute.h:59775)
==12428==    by 0x139C8EE: zend_execute (zend_vm_execute.h:63804)
==12428==    by 0x1120677: zend_execute_scripts (zend.c:1498)
==12428==    by 0x10102D4: php_execute_script (main.c:2599)
==12428==    by 0x13A27A9: do_cli (php_cli.c:1011)
==12428==    by 0x13A4233: main (php_cli.c:1403)
==12428== 

 

Generated at Fri, 16 Oct 2020 02:28:14 +0000 (5 days ago)

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