From fa9a87ed469cbefe395d9ed9994341bf5e2a3528 Mon Sep 17 00:00:00 2001 From: Andreas Stefl Date: Wed, 25 Dec 2024 19:52:11 +0100 Subject: [PATCH] fix nullptr dereference --- src/odr/internal/html/pdf2htmlex_wrapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/odr/internal/html/pdf2htmlex_wrapper.cpp b/src/odr/internal/html/pdf2htmlex_wrapper.cpp index 24abb8f8..2aca8c1e 100644 --- a/src/odr/internal/html/pdf2htmlex_wrapper.cpp +++ b/src/odr/internal/html/pdf2htmlex_wrapper.cpp @@ -119,7 +119,7 @@ Html html::translate_poppler_pdf_file(const PopplerPdfFile &pdf_file, !param.poppler_data_dir.empty() ? param.poppler_data_dir.c_str() : nullptr); - pdf2htmlEX::HTMLRenderer(nullptr, param).process(&pdf_doc); + pdf2htmlEX::HTMLRenderer(fontconfig_path, param).process(&pdf_doc); globalParams.reset();