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

==27738== Conditional jump or move depends on uninitialised value(s)
==27738==    at 0x5143FFC: ??? (in /lib64/libz.so.1.2.3)
==27738==    by 0x514522B: ??? (in /lib64/libz.so.1.2.3)
==27738==    by 0x5145314: gzdopen (in /lib64/libz.so.1.2.3)
==27738==    by 0x6D4CB9: php_stream_gzopen (zlib_fopen_wrapper.c:141)
==27738==    by 0x6D26B6: zif_gzopen (zlib.c:591)
==27738==    by 0x10A0AAD: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==27738==    by 0x109E445: execute_ex (zend_vm_execute.h:352)
==27738==    by 0x109F036: zend_execute (zend_vm_execute.h:381)
==27738==    by 0xFFA07C: zend_execute_scripts (zend.c:1266)
==27738==    by 0xEFB14D: php_execute_script (main.c:2563)
==27738==    by 0x120D3D9: do_cli (php_cli.c:978)
==27738==    by 0x120EE50: main (php_cli.c:1356)
==27738== 

 

Generated at Thu, 30 Oct 2014 07:41:47 +0000 (37 hours ago)

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