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

==26544== Conditional jump or move depends on uninitialised value(s)
==26544==    at 0x5145FFC: ??? (in /lib64/libz.so.1.2.3)
==26544==    by 0x514722B: ??? (in /lib64/libz.so.1.2.3)
==26544==    by 0x5147314: gzdopen (in /lib64/libz.so.1.2.3)
==26544==    by 0x6D9701: php_stream_gzopen (zlib_fopen_wrapper.c:141)
==26544==    by 0x6D3BC2: zif_gzopen (zlib.c:621)
==26544==    by 0x101A464: ZEND_DO_ICALL_SPEC_HANDLER (zend_vm_execute.h:577)
==26544==    by 0x101837A: execute_ex (zend_vm_execute.h:409)
==26544==    by 0x1018E93: zend_execute (zend_vm_execute.h:450)
==26544==    by 0xF4B38B: zend_execute_scripts (zend.c:1404)
==26544==    by 0xE41FB8: php_execute_script (main.c:2475)
==26544==    by 0x114EE8C: do_cli (php_cli.c:971)
==26544==    by 0x1150910: main (php_cli.c:1338)
==26544== 

 

Generated at Sat, 29 Aug 2015 10:22:31 +0000 (2 days ago)

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