Index: base/tools_sanity_unittest.cc |
diff --git a/base/tools_sanity_unittest.cc b/base/tools_sanity_unittest.cc |
index ff789380122c22808b0f4c7296a7d2108c30d476..4804a35a3b9ef95cec9db0327982fd394b6da30a 100644 |
--- a/base/tools_sanity_unittest.cc |
+++ b/base/tools_sanity_unittest.cc |
@@ -65,14 +65,15 @@ void WriteValueOutOfArrayBoundsRight(char *ptr, size_t size) { |
void MakeSomeErrors(char *ptr, size_t size) { |
ReadUninitializedValue(ptr); |
+ |
HARMFUL_ACCESS(ReadValueOutOfArrayBoundsLeft(ptr), |
- "heap-buffer-overflow.*2 bytes to the left"); |
+ "2 bytes to the left"); |
HARMFUL_ACCESS(ReadValueOutOfArrayBoundsRight(ptr, size), |
- "heap-buffer-overflow.*1 bytes to the right"); |
+ "1 bytes to the right"); |
HARMFUL_ACCESS(WriteValueOutOfArrayBoundsLeft(ptr), |
- "heap-buffer-overflow.*1 bytes to the left"); |
+ "1 bytes to the left"); |
HARMFUL_ACCESS(WriteValueOutOfArrayBoundsRight(ptr, size), |
- "heap-buffer-overflow.*0 bytes to the right"); |
+ "0 bytes to the right"); |
} |
} // namespace |