]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
string_match_wrk(): increase max recursion depth to 500.
authorJulian Seward <jseward@acm.org>
Sun, 6 Jul 2003 01:14:42 +0000 (01:14 +0000)
committerJulian Seward <jseward@acm.org>
Sun, 6 Jul 2003 01:14:42 +0000 (01:14 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1722

coregrind/vg_mylibc.c

index ef06526a024bcb5030e02a7a0642efe7eb712611..853d77bb7206f96c21ec9cba209d6391031bfa19 100644 (file)
@@ -1026,7 +1026,7 @@ static Int recDepth;
 
 static Bool string_match_wrk ( Char* pat, Char* str )
 {
-   vg_assert(recDepth >= 0 && recDepth < 250);
+   vg_assert(recDepth >= 0 && recDepth < 500);
    recDepth++;
    for (;;) {
       switch (*pat) {