PHP  
 PHP_7_3
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

==19552== Conditional jump or move depends on uninitialised value(s)
==19552==    at 0x5365FFC: ??? (in /lib64/libz.so.1.2.3)
==19552==    by 0x536722B: ??? (in /lib64/libz.so.1.2.3)
==19552==    by 0x5367314: gzdopen (in /lib64/libz.so.1.2.3)
==19552==    by 0x78524D: php_stream_gzopen (zlib_fopen_wrapper.c:139)
==19552==    by 0x77F069: zif_gzopen (zlib.c:619)
==19552==    by 0x13AF7ED: ZEND_DO_ICALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:649)
==19552==    by 0x13AF7ED: execute_ex (zend_vm_execute.h:55499)
==19552==    by 0x13D78A5: zend_execute (zend_vm_execute.h:60935)
==19552==    by 0x11903BE: zend_execute_scripts (zend.c:1568)
==19552==    by 0x107C733: php_execute_script (main.c:2637)
==19552==    by 0x13DD66B: do_cli (php_cli.c:1000)
==19552==    by 0x13DF1BD: main (php_cli.c:1396)
==19552== 

 

Generated at Fri, 26 Nov 2021 01:14:57 +0000 (4 days ago)

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