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

==3150== Conditional jump or move depends on uninitialised value(s)
==3150==    at 0x5143FFC: ??? (in /lib64/libz.so.1.2.3)
==3150==    by 0x514522B: ??? (in /lib64/libz.so.1.2.3)
==3150==    by 0x5145314: gzdopen (in /lib64/libz.so.1.2.3)
==3150==    by 0x6D4D5D: php_stream_gzopen (zlib_fopen_wrapper.c:141)
==3150==    by 0x6D275A: zif_gzopen (zlib.c:603)
==3150==    by 0x10A1212: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==3150==    by 0x109EBAA: execute_ex (zend_vm_execute.h:352)
==3150==    by 0x109F79B: zend_execute (zend_vm_execute.h:381)
==3150==    by 0xFFA5B2: zend_execute_scripts (zend.c:1266)
==3150==    by 0xEFB401: php_execute_script (main.c:2563)
==3150==    by 0x1215833: do_cli (php_cli.c:978)
==3150==    by 0x12172AA: main (php_cli.c:1356)
==3150== 

 

Generated at Sat, 22 Nov 2014 23:01:31 +0000 (23 hours ago)

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