Skip to content

Validate cupsNumColors value in CUPS raster page header - #1662

Open
Ashwinjali wants to merge 1 commit into
OpenPrinting:masterfrom
Ashwinjali:master
Open

Validate cupsNumColors value in CUPS raster page header#1662
Ashwinjali wants to merge 1 commit into
OpenPrinting:masterfrom
Ashwinjali:master

Conversation

@Ashwinjali

Copy link
Copy Markdown

validates cupsNumColors in cups_raster_update() against the expected color space.

@michaelrsweet michaelrsweet self-assigned this Aug 6, 2026
@michaelrsweet michaelrsweet added the investigating Investigating the issue label Aug 6, 2026
@michaelrsweet michaelrsweet changed the title Fix heap OOB write in rastertohp filter Validate cupsNumColors value in CUPS raster page header Aug 6, 2026
@michaelrsweet

Copy link
Copy Markdown
Member

Updated title and will consider.

You really need to sign your commits with GPG...

validates cupsNumColors in cups_raster_update() against the expected color space.
@Ashwinjali

Copy link
Copy Markdown
Author

I have updated my commit. Please review

@michaelrsweet michaelrsweet left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still not sure about the proposed changes, will get back to you when I have time to fully review them and determine whether this is the right way to "fix" this...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

investigating Investigating the issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants