| Index: components/policy/core/common/preg_parser_fuzzer.cc
|
| diff --git a/components/policy/core/common/preg_parser_fuzzer.cc b/components/policy/core/common/preg_parser_fuzzer.cc
|
| index aff354471256b171a80f9513a4577a5d11edc1c5..3e448acd413d786d555cd8f863e91d3b6d6b2dd0 100644
|
| --- a/components/policy/core/common/preg_parser_fuzzer.cc
|
| +++ b/components/policy/core/common/preg_parser_fuzzer.cc
|
| @@ -34,8 +34,9 @@ Environment* env = new Environment();
|
|
|
| // Entry point for LibFuzzer.
|
| extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
|
| + // Note: Don't use PolicyLoadStatusAutoSubmitter here, it leaks!
|
| + PolicyLoadStatusSampler status;
|
| RegistryDict dict;
|
| - PolicyLoadStatus status;
|
| ReadDataInternal(data, size, env->root, &dict, &status, "data");
|
| return 0;
|
| }
|
|
|