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

==27522== Conditional jump or move depends on uninitialised value(s)
==27522==    at 0x5146FFC: ??? (in /lib64/libz.so.1.2.3)
==27522==    by 0x514822B: ??? (in /lib64/libz.so.1.2.3)
==27522==    by 0x5148314: gzdopen (in /lib64/libz.so.1.2.3)
==27522==    by 0x6DC139: php_stream_gzopen (zlib_fopen_wrapper.c:141)
==27522==    by 0x6D6BBB: zif_gzopen (zlib.c:621)
==27522==    by 0x1020117: ZEND_DO_ICALL_SPEC_HANDLER (zend_vm_execute.h:586)
==27522==    by 0x101DEEA: execute_ex (zend_vm_execute.h:417)
==27522==    by 0x101EB10: zend_execute (zend_vm_execute.h:458)
==27522==    by 0xF54B71: zend_execute_scripts (zend.c:1427)
==27522==    by 0xE522D3: php_execute_script (main.c:2484)
==27522==    by 0x1150E66: do_cli (php_cli.c:974)
==27522==    by 0x1152800: main (php_cli.c:1345)
==27522== 

 

Generated at Fri, 05 Feb 2016 08:39:31 +0000 (2 days ago)

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