summaryrefslogtreecommitdiff
path: root/testing/fuzzers/pdf_fuzzer_init.cc
diff options
context:
space:
mode:
Diffstat (limited to 'testing/fuzzers/pdf_fuzzer_init.cc')
-rw-r--r--testing/fuzzers/pdf_fuzzer_init.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/testing/fuzzers/pdf_fuzzer_init.cc b/testing/fuzzers/pdf_fuzzer_init.cc
index 4b9790c3f8..d6b10ff00e 100644
--- a/testing/fuzzers/pdf_fuzzer_init.cc
+++ b/testing/fuzzers/pdf_fuzzer_init.cc
@@ -18,4 +18,8 @@ struct TestCase {
}
FPDF_LIBRARY_CONFIG config;
};
-static TestCase* testCase = new TestCase();
+
+// pdf_fuzzer_init.cc and pdfium_fuzzer_helper.cc are mutually exclusive and
+// should not be built together. They deliberately have the same global
+// variable.
+static TestCase* g_test_case = new TestCase();