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

==4666== Conditional jump or move depends on uninitialised value(s)
==4666==    at 0x5146FFC: ??? (in /lib64/libz.so.1.2.3)
==4666==    by 0x514822B: ??? (in /lib64/libz.so.1.2.3)
==4666==    by 0x5148314: gzdopen (in /lib64/libz.so.1.2.3)
==4666==    by 0x72B245: php_stream_gzopen (zlib_fopen_wrapper.c:141)
==4666==    by 0x7259A7: zif_gzopen (zlib.c:621)
==4666==    by 0x10CB538: ZEND_DO_ICALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:628)
==4666==    by 0x10C8C22: execute_ex (zend_vm_execute.h:432)
==4666==    by 0x10C986F: zend_execute (zend_vm_execute.h:474)
==4666==    by 0xFEB9B0: zend_execute_scripts (zend.c:1482)
==4666==    by 0xEDF990: php_execute_script (main.c:2577)
==4666==    by 0x123291D: do_cli (php_cli.c:993)
==4666==    by 0x12342C4: main (php_cli.c:1381)
==4666== 

 

Generated at Fri, 01 Dec 2017 18:56:15 +0000 (9 days ago)

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