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

==3935== Conditional jump or move depends on uninitialised value(s)
==3935==    at 0x7ED6FFC: ??? (in /lib64/libz.so.1.2.3)
==3935==    by 0x7ED822B: ??? (in /lib64/libz.so.1.2.3)
==3935==    by 0x7ED8314: gzdopen (in /lib64/libz.so.1.2.3)
==3935==    by 0x60197E: php_stream_gzopen (zlib_fopen_wrapper.c:139)
==3935==    by 0x5FB86A: zif_gzopen (zlib.c:619)
==3935==    by 0x1225896: ZEND_DO_ICALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:649)
==3935==    by 0x1225896: execute_ex (zend_vm_execute.h:61464)
==3935==    by 0x1250B8E: zend_execute (zend_vm_execute.h:67896)
==3935==    by 0xFA74BF: zend_execute_scripts (zend.c:1639)
==3935==    by 0xE94CE8: php_execute_script (main.c:2607)
==3935==    by 0x1256A7F: do_cli (php_cli.c:992)
==3935==    by 0x125853D: main (php_cli.c:1384)
==3935== 

 

Generated at Tue, 05 Feb 2019 02:38:19 +0000 (16 days ago)

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