PHP  
 PHP_HEAD
downloads | QA | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
 

Valgrind Report for ext/pcre/tests/preg_replace.phpt ('preg_replace()')

Script

1: <?php
2:
3: var_dump
(preg_replace('{{\D+}}''x''{abcd}'));
4:
var_dump(preg_replace('{{\D+}}''ddd''abcd'));
5:
6:
var_dump(preg_replace('/(ab)(c)(d)(e)(f)(g)(h)(i)(j)(k)/''a${1}2$103''zabcdefghijkl'));
7:
8:
?>
9:

Report

==29305== Conditional jump or move depends on uninitialised value(s)
==29305==    at 0x4131092: ???
==29305==    by 0x14F2B5F7: ???
==29305==    by 0x14F2B5F7: ???
==29305==    by 0x14F2B5FB: ???
==29305==    by 0x1FFEFFBCBF: ???
==29305==    by 0x4009FE1: do_lookup_x (in /lib64/ld-2.12.so)
==29305==    by 0x14F2B5DF: ???
==29305==    by 0x1FFEFFBF5F: ???
==29305==    by 0x5ABE52: zend_hash_find_ptr (zend_hash.h:740)
==29305==    by 0x5ABE52: pcre_get_compiled_regex_cache (php_pcre.c:342)
==29305== 

 

Generated at Sat, 09 Sep 2017 03:10:54 +0000 (13 days ago)

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