~bkerensa/ubuntu/raring/valgrind/merge-from-deb

« back to all changes in this revision

Viewing changes to coregrind/m_debuginfo/storage.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2006-11-16 17:56:30 UTC
  • mfrom: (1.2.2 upstream)
  • mto: This revision was merged to the branch mainline in revision 14.
  • Revision ID: james.westby@ubuntu.com-20061116175630-hatkgajb0twz0upw
Tags: upstream-3.2.1
Import upstream version 3.2.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
308
308
      ML_(ppDiCfSI)(cfsi);
309
309
   }
310
310
 
311
 
   vg_assert(cfsi->len > 0 && cfsi->len < 2000000);
 
311
   /* sanity */
 
312
   vg_assert(cfsi->len > 0);
 
313
   /* If this fails, the implication is you have a single procedure
 
314
      with more than 5 million bytes of code.  Which is pretty
 
315
      unlikely.  Either that, or the debuginfo reader is somehow
 
316
      broken. */
 
317
   vg_assert(cfsi->len < 5000000);
312
318
 
313
319
   /* Rule out ones which are completely outside the segment.  These
314
320
      probably indicate some kind of bug, but for the meantime ignore