Skip to content

PostScript "%%Title" string crashes PDF24 Creator #24

@solarlupus

Description

@solarlupus

When printing to PDF24 using a digital paper background from i.e. Notepad++, it crashes generating a crashdump in the assistant when hitting "Save as PDF". It happens using a profile with an underlay, not when using a standard profile like "High Quality"

In pdf24-Assistant.exe.7040.dmp the assembly instruction at ucrtbase!abort+4e in C:\Windows\System32\ucrtbase.dll from Microsoft Corporation has caused an unknown exception (0xc0000409)

Image

When printing with N++ the resulting Postscript contains the filename of the printed file as %%Title string. e.g. %%Title: C:\Temp\pdf24test\Test.txt.
When a subfolder starts with "\00" PDF24 crashes. e.g %%Title: C:\Temp\pdf24test\000\Test.txt
It seems to come down to the %%Title having a substring starting with "\00" in it.

For example:
%%Title: \0 => works
%%Title: \00 => works
%%Title: \000 => crashes
%%Title: \001 => crashes

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