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

==300== Conditional jump or move depends on uninitialised value(s)
==300==    at 0x5146FFC: ??? (in /lib64/libz.so.1.2.3)
==300==    by 0x514822B: ??? (in /lib64/libz.so.1.2.3)
==300==    by 0x5148314: gzdopen (in /lib64/libz.so.1.2.3)
==300==    by 0x72235D: php_stream_gzopen (zlib_fopen_wrapper.c:141)
==300==    by 0x71CBB2: zif_gzopen (zlib.c:621)
==300==    by 0x10D1680: ZEND_DO_ICALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:628)
==300==    by 0x10CED08: execute_ex (zend_vm_execute.h:429)
==300==    by 0x10CF8F8: zend_execute (zend_vm_execute.h:474)
==300==    by 0xFF066F: zend_execute_scripts (zend.c:1482)
==300==    by 0xEE3F1F: php_execute_script (main.c:2577)
==300==    by 0x12389CE: do_cli (php_cli.c:993)
==300==    by 0x123A467: main (php_cli.c:1381)
==300== 

 

Generated at Sun, 15 Jul 2018 02:47:46 +0000 (8 days ago)

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