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

==19266== Conditional jump or move depends on uninitialised value(s)
==19266==    at 0x5143FFC: ??? (in /lib64/libz.so.1.2.3)
==19266==    by 0x514522B: ??? (in /lib64/libz.so.1.2.3)
==19266==    by 0x5145314: gzdopen (in /lib64/libz.so.1.2.3)
==19266==    by 0x6D4C71: php_stream_gzopen (zlib_fopen_wrapper.c:141)
==19266==    by 0x6D266E: zif_gzopen (zlib.c:591)
==19266==    by 0x10A35DE: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==19266==    by 0x10A0F71: execute_ex (zend_vm_execute.h:352)
==19266==    by 0x10A1B62: zend_execute (zend_vm_execute.h:381)
==19266==    by 0xFF7FFD: zend_execute_scripts (zend.c:1266)
==19266==    by 0xEFAF93: php_execute_script (main.c:2560)
==19266==    by 0x121FD91: do_cli (php_cli.c:978)
==19266==    by 0x1221808: main (php_cli.c:1356)
==19266== 

 

Generated at Wed, 22 Oct 2014 07:25:05 +0000 (2 days ago)

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