From 7a90bdfae62732b1fc4ff28d874cb1c51d299c0a Mon Sep 17 00:00:00 2001 From: Nick Wellnhofer Date: Mon, 22 Feb 2021 17:58:06 +0100 Subject: [PATCH] Another attempt at improving fuzzer stability xmlInitializeCatalog is not called from xmlInitParser. --- fuzz/html.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fuzz/html.c b/fuzz/html.c index 449a9d49..b53c4025 100644 --- a/fuzz/html.c +++ b/fuzz/html.c @@ -6,12 +6,14 @@ #include #include +#include #include "fuzz.h" int LLVMFuzzerInitialize(int *argc ATTRIBUTE_UNUSED, char ***argv ATTRIBUTE_UNUSED) { xmlInitParser(); + xmlInitializeCatalog(); xmlSetGenericErrorFunc(NULL, xmlFuzzErrorFunc); return 0;