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

==18898== Conditional jump or move depends on uninitialised value(s)
==18898==    at 0x5143FFC: ??? (in /lib64/libz.so.1.2.3)
==18898==    by 0x514522B: ??? (in /lib64/libz.so.1.2.3)
==18898==    by 0x5145314: gzdopen (in /lib64/libz.so.1.2.3)
==18898==    by 0x6D2D3D: php_stream_gzopen (zlib_fopen_wrapper.c:139)
==18898==    by 0x6D0946: zif_gzopen (zlib.c:591)
==18898==    by 0x100F494: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:593)
==18898==    by 0x100CCA9: execute_ex (zend_vm_execute.h:352)
==18898==    by 0x100D8E5: zend_execute (zend_vm_execute.h:381)
==18898==    by 0xF73DE7: zend_execute_scripts (zend.c:1345)
==18898==    by 0xE6FA7F: php_execute_script (main.c:2560)
==18898==    by 0x1166590: do_cli (php_cli.c:978)
==18898==    by 0x1167EB4: main (php_cli.c:1356)
==18898== 

 

Generated at Fri, 19 Sep 2014 17:11:23 +0000 (12 hours ago)

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