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

==22304== Conditional jump or move depends on uninitialised value(s)
==22304==    at 0x78FAFFC: ??? (in /lib64/libz.so.1.2.3)
==22304==    by 0x78FC22B: ??? (in /lib64/libz.so.1.2.3)
==22304==    by 0x78FC314: gzdopen (in /lib64/libz.so.1.2.3)
==22304==    by 0x6005F0: php_stream_gzopen (zlib_fopen_wrapper.c:139)
==22304==    by 0x5FA4DC: zif_gzopen (zlib.c:619)
==22304==    by 0x11FF001: ZEND_DO_ICALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:655)
==22304==    by 0x11FF001: execute_ex (zend_vm_execute.h:54811)
==22304==    by 0x122750B: zend_execute (zend_vm_execute.h:60215)
==22304==    by 0xFE348A: zend_execute_scripts (zend.c:1616)
==22304==    by 0xED11E3: php_execute_script (main.c:2643)
==22304==    by 0x122D2D1: do_cli (php_cli.c:997)
==22304==    by 0x122ED8F: main (php_cli.c:1389)
==22304== 

 

Generated at Sat, 01 Dec 2018 10:41:11 +0000 (8 days ago)

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