aboutsummaryrefslogtreecommitdiff
path: root/lib/Fuzzer/test/OutOfMemorySingleLargeMallocTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Fuzzer/test/OutOfMemorySingleLargeMallocTest.cpp')
-rw-r--r--lib/Fuzzer/test/OutOfMemorySingleLargeMallocTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Fuzzer/test/OutOfMemorySingleLargeMallocTest.cpp b/lib/Fuzzer/test/OutOfMemorySingleLargeMallocTest.cpp
index ea23a601aa23..316b7682b8e6 100644
--- a/lib/Fuzzer/test/OutOfMemorySingleLargeMallocTest.cpp
+++ b/lib/Fuzzer/test/OutOfMemorySingleLargeMallocTest.cpp
@@ -15,7 +15,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
if (Size > 0 && Data[0] == 'H') {
if (Size > 1 && Data[1] == 'i') {
if (Size > 2 && Data[2] == '!') {
- size_t kSize = 0xff000000U;
+ size_t kSize = 0x20000000U;
char *p = new char[kSize];
SinkPtr = p;
delete [] p;