Skip to content

Commit

Permalink
fix nullptr dereference
Browse files Browse the repository at this point in the history
  • Loading branch information
andiwand committed Dec 25, 2024
1 parent ec1f3b9 commit fa9a87e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/odr/internal/html/pdf2htmlex_wrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit fa9a87e

Please sign in to comment.