]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix bug introduced by frame-level wildcarding changes for suppressions
authorJulian Seward <jseward@acm.org>
Mon, 8 Dec 2008 13:45:35 +0000 (13:45 +0000)
committerJulian Seward <jseward@acm.org>
Mon, 8 Dec 2008 13:45:35 +0000 (13:45 +0000)
in r8725.  (Konstantin Serebryany)

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8813

coregrind/m_errormgr.c

index 90560adc5812dba83c5191a805c2fcc68ab234bd..bf2760add2bc3b5aee13a2ff3c49cafe158973fd 100644 (file)
@@ -1237,7 +1237,7 @@ Bool supp_matches_callers_WRK ( StackTrace trace, Int n_ips,
 
             if (!VG_(get_fnname_Z_demangle_only)(trace[j], tmp, ERRTXT_LEN))
                VG_(strcpy)(tmp, "???");
-            if (VG_(string_match)(tmp, lookahead)) {
+            if (VG_(string_match)(lookahead, tmp)) {
                // found a possible continuation, try from there
                return supp_matches_callers_WRK(
                          &trace[j], n_ips - j,