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

==4035== Conditional jump or move depends on uninitialised value(s)
==4035==    at 0x5145FFC: ??? (in /lib64/libz.so.1.2.3)
==4035==    by 0x514722B: ??? (in /lib64/libz.so.1.2.3)
==4035==    by 0x5147314: gzdopen (in /lib64/libz.so.1.2.3)
==4035==    by 0x73DCE5: php_stream_gzopen (zlib_fopen_wrapper.c:141)
==4035==    by 0x7383FB: zif_gzopen (zlib.c:621)
==4035==    by 0x119688E: ZEND_DO_ICALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:620)
==4035==    by 0x1194230: execute_ex (zend_vm_execute.h:432)
==4035==    by 0x1194E7D: zend_execute (zend_vm_execute.h:474)
==4035==    by 0x10B7377: zend_execute_scripts (zend.c:1543)
==4035==    by 0xFAD5FE: php_execute_script (main.c:2552)
==4035==    by 0x1302221: do_cli (php_cli.c:997)
==4035==    by 0x1303BD5: main (php_cli.c:1390)
==4035== 

 

Generated at Sat, 11 Feb 2017 18:46:50 +0000 (7 days ago)

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