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

==26069== Conditional jump or move depends on uninitialised value(s)
==26069==    at 0x5146FFC: ??? (in /lib64/libz.so.1.2.3)
==26069==    by 0x514822B: ??? (in /lib64/libz.so.1.2.3)
==26069==    by 0x5148314: gzdopen (in /lib64/libz.so.1.2.3)
==26069==    by 0x73F641: php_stream_gzopen (zlib_fopen_wrapper.c:141)
==26069==    by 0x739DE7: zif_gzopen (zlib.c:621)
==26069==    by 0x1198F3B: ZEND_DO_ICALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:620)
==26069==    by 0x11968DD: execute_ex (zend_vm_execute.h:432)
==26069==    by 0x119752A: zend_execute (zend_vm_execute.h:474)
==26069==    by 0x10BA11F: zend_execute_scripts (zend.c:1537)
==26069==    by 0xFAE2D2: php_execute_script (main.c:2548)
==26069==    by 0x1306B49: do_cli (php_cli.c:997)
==26069==    by 0x13084FD: main (php_cli.c:1390)
==26069== 

 

Generated at Tue, 25 Apr 2017 03:28:47 +0000 (7 hours ago)

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