Skip to content

Commit fa9a87e

Browse files
committed
fix nullptr dereference
1 parent ec1f3b9 commit fa9a87e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/odr/internal/html/pdf2htmlex_wrapper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ Html html::translate_poppler_pdf_file(const PopplerPdfFile &pdf_file,
119119
!param.poppler_data_dir.empty() ? param.poppler_data_dir.c_str()
120120
: nullptr);
121121

122-
pdf2htmlEX::HTMLRenderer(nullptr, param).process(&pdf_doc);
122+
pdf2htmlEX::HTMLRenderer(fontconfig_path, param).process(&pdf_doc);
123123

124124
globalParams.reset();
125125

0 commit comments

Comments
 (0)