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

==19941== Conditional jump or move depends on uninitialised value(s)
==19941==    at 0x744CFFC: ??? (in /lib64/libz.so.1.2.3)
==19941==    by 0x744E22B: ??? (in /lib64/libz.so.1.2.3)
==19941==    by 0x744E314: gzdopen (in /lib64/libz.so.1.2.3)
==19941==    by 0x7778D4: php_stream_gzopen (zlib_fopen_wrapper.c:141)
==19941==    by 0x7717C0: zif_gzopen (zlib.c:621)
==19941==    by 0x137709C: ZEND_DO_ICALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:645)
==19941==    by 0x137709C: execute_ex (zend_vm_execute.h:54534)
==19941==    by 0x139F379: zend_execute (zend_vm_execute.h:59962)
==19941==    by 0x1155912: zend_execute_scripts (zend.c:1564)
==19941==    by 0x1044ECB: php_execute_script (main.c:2467)
==19941==    by 0x13A4F99: do_cli (php_cli.c:1011)
==19941==    by 0x13A6A57: main (php_cli.c:1404)
==19941== 

 

Generated at Mon, 18 Jun 2018 17:33:50 +0000 (2 days ago)

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