PHP  
 PHP_5_6
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

==31023== Conditional jump or move depends on uninitialised value(s)
==31023==    at 0x5145FFC: ??? (in /lib64/libz.so.1.2.3)
==31023==    by 0x514722B: ??? (in /lib64/libz.so.1.2.3)
==31023==    by 0x5147314: gzdopen (in /lib64/libz.so.1.2.3)
==31023==    by 0x68462E: php_stream_gzopen (zlib_fopen_wrapper.c:139)
==31023==    by 0x68251E: zif_gzopen (zlib.c:604)
==31023==    by 0xED8D88: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==31023==    by 0xEE48FD: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2599)
==31023==    by 0xED680E: execute_ex (zend_vm_execute.h:363)
==31023==    by 0xED73B1: zend_execute (zend_vm_execute.h:388)
==31023==    by 0xE6C193: zend_execute_scripts (zend.c:1341)
==31023==    by 0xD8A607: php_execute_script (main.c:2597)
==31023==    by 0x1023A4A: do_cli (php_cli.c:994)
==31023== 

 

Generated at Fri, 27 Mar 2015 03:26:43 +0000 (17 hours ago)

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