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

==26039== Conditional jump or move depends on uninitialised value(s)
==26039==    at 0x5146FFC: ??? (in /lib64/libz.so.1.2.3)
==26039==    by 0x514822B: ??? (in /lib64/libz.so.1.2.3)
==26039==    by 0x5148314: gzdopen (in /lib64/libz.so.1.2.3)
==26039==    by 0x740C91: php_stream_gzopen (zlib_fopen_wrapper.c:141)
==26039==    by 0x73B437: zif_gzopen (zlib.c:621)
==26039==    by 0x11B2ABB: ZEND_DO_ICALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:571)
==26039==    by 0x131FA3A: execute_ex (zend_vm_execute.h:59734)
==26039==    by 0x1320687: zend_execute (zend_vm_execute.h:63759)
==26039==    by 0x10D3423: zend_execute_scripts (zend.c:1537)
==26039==    by 0xFC58E2: php_execute_script (main.c:2548)
==26039==    by 0x1326195: do_cli (php_cli.c:1002)
==26039==    by 0x1327B49: main (php_cli.c:1395)
==26039== 

 

Generated at Sat, 17 Jun 2017 05:49:02 +0000 (6 days ago)

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