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

==30761== Conditional jump or move depends on uninitialised value(s)
==30761==    at 0x79A5FFC: ??? (in /lib64/libz.so.1.2.3)
==30761==    by 0x79A722B: ??? (in /lib64/libz.so.1.2.3)
==30761==    by 0x79A7314: gzdopen (in /lib64/libz.so.1.2.3)
==30761==    by 0x5FCA3D: php_stream_gzopen (zlib_fopen_wrapper.c:139)
==30761==    by 0x5F6987: zif_gzopen (zlib.c:619)
==30761==    by 0x116E2D2: ZEND_DO_ICALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:912)
==30761==    by 0x116E2D2: execute_ex (zend_vm_execute.h:60369)
==30761==    by 0x1197C83: zend_execute (zend_vm_execute.h:66602)
==30761==    by 0xF27316: zend_execute_scripts (zend.c:1629)
==30761==    by 0xE15279: php_execute_script (main.c:2650)
==30761==    by 0x119DB6F: do_cli (php_cli.c:985)
==30761==    by 0x119F611: main (php_cli.c:1375)
==30761== 

 

Generated at Mon, 06 May 2019 17:58:35 +0000 (295 days ago)

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