diff options
author | Kostya Serebryany <kcc@google.com> | 2014-05-22 14:50:14 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2014-05-22 14:50:14 +0000 |
commit | afc4a5c19ccba171f1b0d1707b1ae58c7ee99090 (patch) | |
tree | 3a9de83a3fab28381cee041fe6ac61ebaff367da /lib/asan/tests/asan_test.cc | |
parent | e41b71fe41178606955c576fb3d7218e3b31c45f (diff) |
[asan] relax the test for long double
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@209445 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan/tests/asan_test.cc')
-rw-r--r-- | lib/asan/tests/asan_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/asan/tests/asan_test.cc b/lib/asan/tests/asan_test.cc index 5ec6a4d07..7597a5d2b 100644 --- a/lib/asan/tests/asan_test.cc +++ b/lib/asan/tests/asan_test.cc @@ -183,8 +183,8 @@ TEST(AddressSanitizer, UAF_char) { TEST(AddressSanitizer, UAF_long_double) { if (sizeof(long double) == sizeof(double)) return; long double *p = Ident(new long double[10]); - EXPECT_DEATH(Ident(p)[12] = 0, "WRITE of size 1[06]"); - EXPECT_DEATH(Ident(p)[0] = Ident(p)[12], "READ of size 1[06]"); + EXPECT_DEATH(Ident(p)[12] = 0, "WRITE of size 1[026]"); + EXPECT_DEATH(Ident(p)[0] = Ident(p)[12], "READ of size 1[026]"); delete [] Ident(p); } |