[PATCH] Fix the region overflow condition in SanitizerAllocator64::PopulateFreeList().

Kostya Serebryany kcc at google.com
Thu May 16 05:27:31 PDT 2013



================
Comment at: lib/sanitizer_common/tests/sanitizer_allocator_test.cc:727
@@ +726,3 @@
+  EXPECT_DEATH(cache.Allocate(a, kClassID) && cache.Allocate(a, kClassID),
+               "The process has exhausted");
+}
----------------
don't you leak 'a' here? 


http://llvm-reviews.chandlerc.com/D803



More information about the llvm-commits mailing list