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/bug41638.phpt ('Bug #41638 (pcre 7.0 regression)')

Script

1: <?php
2: $str 
"repeater id='loopt' dataSrc=subject colums=2";
3:
4:
preg_match_all("/(['\"])((.*(\\\\\\1)*)*)\\1/sU",$str,$str_instead);
5:
print_r($str_instead);
6:
7:
// these two are from Magnus Holmgren (extracted from a pcre-dev mailing list post)
8:
preg_match_all("/(['\"])((?:\\\\\\1|.)*)\\1/sU"$str$str_instead);
9:
print_r($str_instead);
10:
11:
preg_match_all("/(['\"])(.*)(?<!\\\\)\\1/sU"$str$str_instead);
12:
print_r($str_instead);
13:
14:
?>
15:

Report

==11768== Conditional jump or move depends on uninitialised value(s)
==11768==    at 0x41310FB: ???
==11768==    by 0x14F2DD0A: ???
==11768==    by 0x14F2DCF7: ???
==11768==    by 0x14F2DD23: ???
==11768==    by 0x1FFEFFBF2F: ???
==11768==    by 0x1405: ???
==11768== 
==11768== Conditional jump or move depends on uninitialised value(s)
==11768==    at 0x41409FA: ???
==11768==    by 0x14F2DD0A: ???
==11768==    by 0x14F2DCF7: ???
==11768==    by 0x14F2DD23: ???
==11768==    by 0x1FFEFFBF3F: ???
==11768==    by 0x1405: ???
==11768== 
==11768== Conditional jump or move depends on uninitialised value(s)
==11768==    at 0x414043A: ???
==11768==    by 0x14F2DD0A: ???
==11768==    by 0x14F2DCF7: ???
==11768==    by 0x14F2DD23: ???
==11768==    by 0x1FFEFFBF3F: ???
==11768==    by 0x1405: ???
==11768== 

 

Generated at Sun, 24 Sep 2017 15:32:56 +0000 (39 hours ago)

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