summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
Diffstat (limited to 'base')
-rw-r--r--base/tools_sanity_unittest.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/base/tools_sanity_unittest.cc b/base/tools_sanity_unittest.cc
index 0f21381..2824836 100644
--- a/base/tools_sanity_unittest.cc
+++ b/base/tools_sanity_unittest.cc
@@ -36,11 +36,13 @@ void ReadUninitializedValue(char *ptr) {
}
void ReadValueOutOfArrayBoundsLeft(char *ptr) {
- LOG(INFO) << "Reading a byte out of bounds: " << ptr[-2];
+ char c = ptr[-2];
+ VLOG(1) << "Reading a byte out of bounds: " << c;
}
void ReadValueOutOfArrayBoundsRight(char *ptr, size_t size) {
- LOG(INFO) << "Reading a byte out of bounds: " << ptr[size + 1];
+ char c = ptr[size + 1];
+ VLOG(1) << "Reading a byte out of bounds: " << c;
}
// This is harmless if you run it under Valgrind thanks to redzones.