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

==24725== Conditional jump or move depends on uninitialised value(s)
==24725==    at 0x5146FFC: ??? (in /lib64/libz.so.1.2.3)
==24725==    by 0x514822B: ??? (in /lib64/libz.so.1.2.3)
==24725==    by 0x5148314: gzdopen (in /lib64/libz.so.1.2.3)
==24725==    by 0x6E5CE1: php_stream_gzopen (zlib_fopen_wrapper.c:141)
==24725==    by 0x6E0773: zif_gzopen (zlib.c:621)
==24725==    by 0x105C10D: ZEND_DO_ICALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:628)
==24725==    by 0x10597F7: execute_ex (zend_vm_execute.h:432)
==24725==    by 0x105A444: zend_execute (zend_vm_execute.h:474)
==24725==    by 0xF7D8FF: zend_execute_scripts (zend.c:1447)
==24725==    by 0xE7405F: php_execute_script (main.c:2533)
==24725==    by 0x11C04B1: do_cli (php_cli.c:990)
==24725==    by 0x11C1E58: main (php_cli.c:1378)
==24725== 

 

Generated at Wed, 24 Aug 2016 12:20:37 +0000 (12 hours ago)

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