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

==18903== Conditional jump or move depends on uninitialised value(s)
==18903==    at 0x5145FFC: ??? (in /lib64/libz.so.1.2.3)
==18903==    by 0x514722B: ??? (in /lib64/libz.so.1.2.3)
==18903==    by 0x5147314: gzdopen (in /lib64/libz.so.1.2.3)
==18903==    by 0x73E6E5: php_stream_gzopen (zlib_fopen_wrapper.c:141)
==18903==    by 0x738E8B: zif_gzopen (zlib.c:621)
==18903==    by 0x1197827: ZEND_DO_ICALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:620)
==18903==    by 0x11951C9: execute_ex (zend_vm_execute.h:432)
==18903==    by 0x1195E16: zend_execute (zend_vm_execute.h:474)
==18903==    by 0x10B8A53: zend_execute_scripts (zend.c:1537)
==18903==    by 0xFAD68E: php_execute_script (main.c:2548)
==18903==    by 0x1304249: do_cli (php_cli.c:997)
==18903==    by 0x1305BFD: main (php_cli.c:1390)
==18903== 

 

Generated at Fri, 24 Mar 2017 23:25:30 +0000 (33 hours ago)

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