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

==7947== Conditional jump or move depends on uninitialised value(s)
==7947==    at 0x5146FFC: ??? (in /lib64/libz.so.1.2.3)
==7947==    by 0x514822B: ??? (in /lib64/libz.so.1.2.3)
==7947==    by 0x5148314: gzdopen (in /lib64/libz.so.1.2.3)
==7947==    by 0x6D543E: php_stream_gzopen (zlib_fopen_wrapper.c:139)
==7947==    by 0x6D2DBA: zif_gzopen (zlib.c:604)
==7947==    by 0xF5F9DE: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==7947==    by 0xF6B574: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==7947==    by 0xF5D464: execute_ex (zend_vm_execute.h:363)
==7947==    by 0xF5E007: zend_execute (zend_vm_execute.h:388)
==7947==    by 0xEF1B52: zend_execute_scripts (zend.c:1341)
==7947==    by 0xE0E0CD: php_execute_script (main.c:2613)
==7947==    by 0x10AC586: do_cli (php_cli.c:998)
==7947== 

 

Generated at Tue, 11 Jul 2017 12:36:39 +0000 (16 days ago)

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