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

==21264== Conditional jump or move depends on uninitialised value(s)
==21264==    at 0x5145FFC: ??? (in /lib64/libz.so.1.2.3)
==21264==    by 0x514722B: ??? (in /lib64/libz.so.1.2.3)
==21264==    by 0x5147314: gzdopen (in /lib64/libz.so.1.2.3)
==21264==    by 0x73DB05: php_stream_gzopen (zlib_fopen_wrapper.c:141)
==21264==    by 0x73821B: zif_gzopen (zlib.c:621)
==21264==    by 0x118E08A: ZEND_DO_ICALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:620)
==21264==    by 0x118BA2C: execute_ex (zend_vm_execute.h:432)
==21264==    by 0x118C679: zend_execute (zend_vm_execute.h:474)
==21264==    by 0x10AE87F: zend_execute_scripts (zend.c:1545)
==21264==    by 0xFA4C3F: php_execute_script (main.c:2535)
==21264==    by 0x12F684D: do_cli (php_cli.c:997)
==21264==    by 0x12F8201: main (php_cli.c:1390)
==21264== 

 

Generated at Tue, 17 Jan 2017 03:37:42 +0000 (2 days ago)

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