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

==17394== Conditional jump or move depends on uninitialised value(s)
==17394==    at 0x5146FFC: ??? (in /lib64/libz.so.1.2.3)
==17394==    by 0x514822B: ??? (in /lib64/libz.so.1.2.3)
==17394==    by 0x5148314: gzdopen (in /lib64/libz.so.1.2.3)
==17394==    by 0x72B955: php_stream_gzopen (zlib_fopen_wrapper.c:141)
==17394==    by 0x7260B7: zif_gzopen (zlib.c:621)
==17394==    by 0x10CC4C0: ZEND_DO_ICALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:628)
==17394==    by 0x10C9BAA: execute_ex (zend_vm_execute.h:432)
==17394==    by 0x10CA7F7: zend_execute (zend_vm_execute.h:474)
==17394==    by 0xFEC91C: zend_execute_scripts (zend.c:1482)
==17394==    by 0xEE08F8: php_execute_script (main.c:2577)
==17394==    by 0x12337D9: do_cli (php_cli.c:993)
==17394==    by 0x1235180: main (php_cli.c:1381)
==17394== 

 

Generated at Tue, 20 Feb 2018 21:45:24 +0000 (23 hours ago)

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