Skip to content

A Crash Error When Init #22

@IDXGI

Description

@IDXGI

The structure in PDFiumCore FPDF_LIBRARY_CONFIG_ has a internal struature __Internal, the field m_pUserFontPaths is not set to Zero, and also not a Property to exposure to the user.

The non-zero field is passed to PDFium and cause a crush. The Crash Position is:

auto** user_paths = CFX_GEModule::Get()->GetUserFontPaths();
if (user_paths) {
auto font_info = std::make_unique<CFX_Win32FallbackFontInfo>();
for (; *user_paths; user_paths++) ///////////// Crash ///////////////
font_info->AddPath(*user_paths);
return font_info;
}

If Possible, I hope can fix this error, sincerely thanks. 😀

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions