summaryrefslogtreecommitdiff
path: root/lib/msan
diff options
context:
space:
mode:
Diffstat (limited to 'lib/msan')
-rw-r--r--lib/msan/tests/msan_test.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/msan/tests/msan_test.cc b/lib/msan/tests/msan_test.cc
index 0310656d1..b2d5f7c60 100644
--- a/lib/msan/tests/msan_test.cc
+++ b/lib/msan/tests/msan_test.cc
@@ -3449,12 +3449,6 @@ TEST(MemorySanitizer, pvalloc) {
EXPECT_EQ(0U, (uintptr_t)p % PageSize);
EXPECT_EQ(PageSize, __sanitizer_get_allocated_size(p));
free(p);
-
- // Overflows should be caught.
- EXPECT_DEATH(p = pvalloc((uintptr_t)-1),
- "allocator is terminating the process instead of returning 0");
- EXPECT_DEATH(p = pvalloc((uintptr_t)-(PageSize - 1)),
- "allocator is terminating the process instead of returning 0");
}
#endif