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

==13794== Conditional jump or move depends on uninitialised value(s)
==13794==    at 0x5146FFC: ??? (in /lib64/libz.so.1.2.3)
==13794==    by 0x514822B: ??? (in /lib64/libz.so.1.2.3)
==13794==    by 0x5148314: gzdopen (in /lib64/libz.so.1.2.3)
==13794==    by 0x778C7C: php_stream_gzopen (zlib_fopen_wrapper.c:139)
==13794==    by 0x772B68: zif_gzopen (zlib.c:619)
==13794==    by 0x139B5B1: ZEND_DO_ICALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:645)
==13794==    by 0x139B5B1: execute_ex (zend_vm_execute.h:55458)
==13794==    by 0x13C364C: zend_execute (zend_vm_execute.h:60882)
==13794==    by 0x117DA01: zend_execute_scripts (zend.c:1562)
==13794==    by 0x106C154: php_execute_script (main.c:2630)
==13794==    by 0x13C936A: do_cli (php_cli.c:997)
==13794==    by 0x13CAE28: main (php_cli.c:1390)
==13794== 

 

Generated at Mon, 13 Aug 2018 05:22:01 +0000 (3 days ago)

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