]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Remove assertion. Unlikely as it may be, len may be huge
authorFlorian Krohm <florian@eich-krohm.de>
Wed, 11 Mar 2015 22:16:22 +0000 (22:16 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Wed, 11 Mar 2015 22:16:22 +0000 (22:16 +0000)
and therefore we cannot assert otherwise.

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

coregrind/m_debuginfo/storage.c

index f3e1f23f51542a76277869b8fc67252303318750..0482447c2ce5840330cf7c927bdafb14889cb3e6 100644 (file)
@@ -704,7 +704,6 @@ void ML_(addDiCfSI) ( struct _DebugInfo* di,
       VG_(message)(Vg_DebugMsg,
                    "warning: DiCfSI %#lx .. %#lx is huge; length = %u (%s)\n",
                    base, base + len - 1, len, di->soname);
-   vg_assert(len < 500000000);
 
    vg_assert(di->fsm.have_rx_map && di->fsm.have_rw_map);
    /* Find mapping where at least one end of the CFSI falls into. */