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

==16798== Conditional jump or move depends on uninitialised value(s)
==16798==    at 0x702AFFC: ??? (in /lib64/libz.so.1.2.3)
==16798==    by 0x702C22B: ??? (in /lib64/libz.so.1.2.3)
==16798==    by 0x702C314: gzdopen (in /lib64/libz.so.1.2.3)
==16798==    by 0x744681: php_stream_gzopen (zlib_fopen_wrapper.c:141)
==16798==    by 0x73E982: zif_gzopen (zlib.c:621)
==16798==    by 0x118D8BB: ZEND_DO_ICALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:573)
==16798==    by 0x13067A9: execute_ex (zend_vm_execute.h:59667)
==16798==    by 0x1306E0E: zend_execute (zend_vm_execute.h:63704)
==16798==    by 0x10AF9EB: zend_execute_scripts (zend.c:1510)
==16798==    by 0xFA1248: php_execute_script (main.c:2455)
==16798==    by 0x130C9A5: do_cli (php_cli.c:1011)
==16798==    by 0x130E359: main (php_cli.c:1404)
==16798== 

 

Generated at Sat, 21 Oct 2017 16:57:27 +0000 (26 hours ago)

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