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

==22495== Conditional jump or move depends on uninitialised value(s)
==22495==    at 0x5146FFC: ??? (in /lib64/libz.so.1.2.3)
==22495==    by 0x514822B: ??? (in /lib64/libz.so.1.2.3)
==22495==    by 0x5148314: gzdopen (in /lib64/libz.so.1.2.3)
==22495==    by 0x6EA6A1: php_stream_gzopen (zlib_fopen_wrapper.c:141)
==22495==    by 0x6E5133: zif_gzopen (zlib.c:621)
==22495==    by 0x105F589: ZEND_DO_ICALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:628)
==22495==    by 0x105CC73: execute_ex (zend_vm_execute.h:432)
==22495==    by 0x105D8C0: zend_execute (zend_vm_execute.h:474)
==22495==    by 0xF80DA7: zend_execute_scripts (zend.c:1447)
==22495==    by 0xE773AB: php_execute_script (main.c:2533)
==22495==    by 0x11C392D: do_cli (php_cli.c:990)
==22495==    by 0x11C52D4: main (php_cli.c:1378)
==22495== 

 

Generated at Tue, 26 Jul 2016 17:07:52 +0000 (2 days ago)

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