PHP  
 PHP_7_1
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

==9342== Conditional jump or move depends on uninitialised value(s)
==9342==    at 0x5146FFC: ??? (in /lib64/libz.so.1.2.3)
==9342==    by 0x514822B: ??? (in /lib64/libz.so.1.2.3)
==9342==    by 0x5148314: gzdopen (in /lib64/libz.so.1.2.3)
==9342==    by 0x722DB9: php_stream_gzopen (zlib_fopen_wrapper.c:141)
==9342==    by 0x71D60E: zif_gzopen (zlib.c:621)
==9342==    by 0x10D99A8: ZEND_DO_ICALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:628)
==9342==    by 0x10D7030: execute_ex (zend_vm_execute.h:429)
==9342==    by 0x10D7C20: zend_execute (zend_vm_execute.h:474)
==9342==    by 0xFF8489: zend_execute_scripts (zend.c:1482)
==9342==    by 0xEEBB23: php_execute_script (main.c:2577)
==9342==    by 0x1240CF6: do_cli (php_cli.c:993)
==9342==    by 0x124278F: main (php_cli.c:1381)
==9342== 

 

Generated at Tue, 12 Feb 2019 16:11:15 +0000 (11 days ago)

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