| Index: base/process/memory_unittest.cc
|
| diff --git a/base/process/memory_unittest.cc b/base/process/memory_unittest.cc
|
| index 8022301a98de5dbc992e270c40030581535ce54a..a1f30526aa35536b46435c0dbd133e6b40a42efc 100644
|
| --- a/base/process/memory_unittest.cc
|
| +++ b/base/process/memory_unittest.cc
|
| @@ -131,7 +131,7 @@ TEST(ProcessMemoryTest, MacMallocFailureDoesNotTerminate) {
|
|
|
| TEST(ProcessMemoryTest, MacTerminateOnHeapCorruption) {
|
| // Assert that freeing an unallocated pointer will crash the process.
|
| - char buf[3];
|
| + char buf[9];
|
| asm("" : "=r" (buf)); // Prevent clang from being too smart.
|
| #if ARCH_CPU_64_BITS
|
| // On 64 bit Macs, the malloc system automatically abort()s on heap corruption
|
|
|