]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Apparently a CFI record covering 1.4MB was spotted in the wild. I
authorJulian Seward <jseward@acm.org>
Fri, 20 May 2005 02:10:45 +0000 (02:10 +0000)
committerJulian Seward <jseward@acm.org>
Fri, 20 May 2005 02:10:45 +0000 (02:10 +0000)
don't know if I believe this, but anyway, increase the sanity
threshold length accordingly.

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

coregrind/vg_symtab2.c

index eb6a3f3a886907cebf8fef92999aa9f1f0b1d17c..eb788e2192262bf8331b33f475d7bfbd24d55b56 100644 (file)
@@ -384,7 +384,7 @@ void VG_(addCfiSI) ( SegInfo* si, CfiSI* cfisi )
       VG_(ppCfiSI)(cfisi);
    }
 
-   vg_assert(cfisi->len > 0 && cfisi->len < 1000000);
+   vg_assert(cfisi->len > 0 && cfisi->len < 2000000);
 
    UInt   new_sz, i;
    CfiSI* new_tab;