Skip to content

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

Merged
tillkamppeter merged 1 commit intoOpenPrinting:masterfrom
zdohnal:ppd-size-null-crash
Mar 8, 2024
Merged

ppd-ipp.c: Fix crash if ppd_size is NULL#37
tillkamppeter merged 1 commit intoOpenPrinting:masterfrom
zdohnal:ppd-size-null-crash

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