Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ppd-ipp.c: Fix crash if ppd_size is NULL #37

Merged
merged 1 commit into from
Mar 8, 2024

Conversation

zdohnal
Copy link
Member

@zdohnal zdohnal commented Jan 11, 2024

In some cases ppd_size can be NULL after ppdPageSize() - in such cases a program using libppd will crash because the pointer is accessed later.

Fixes #31

In some cases `ppd_size` can be NULL after `ppdPageSize()` - in such
cases a program using libppd will crash because the pointer is accessed
later.

Fixes OpenPrinting#31
@tillkamppeter tillkamppeter merged commit d17b102 into OpenPrinting:master Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

universal filter crashes when there is no valid default page size
2 participants