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

==5253== Conditional jump or move depends on uninitialised value(s)
==5253==    at 0x5146FFC: ??? (in /lib64/libz.so.1.2.3)
==5253==    by 0x514822B: ??? (in /lib64/libz.so.1.2.3)
==5253==    by 0x5148314: gzdopen (in /lib64/libz.so.1.2.3)
==5253==    by 0x74366D: php_stream_gzopen (zlib_fopen_wrapper.c:141)
==5253==    by 0x73D96F: zif_gzopen (zlib.c:621)
==5253==    by 0x11BB841: ZEND_DO_ICALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:573)
==5253==    by 0x1337709: execute_ex (zend_vm_execute.h:59725)
==5253==    by 0x1337D81: zend_execute (zend_vm_execute.h:63762)
==5253==    by 0x10DD491: zend_execute_scripts (zend.c:1490)
==5253==    by 0xFCF86D: php_execute_script (main.c:2552)
==5253==    by 0x133D7C9: do_cli (php_cli.c:1011)
==5253==    by 0x133F17D: main (php_cli.c:1404)
==5253== 

 

Generated at Fri, 11 Aug 2017 16:35:52 +0000 (7 days ago)

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