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

Off by one error in ipp_finishings_vendor #5695

Merged
merged 1 commit into from Dec 4, 2019

Conversation

IslandCow
Copy link

When enumvalue is 101 and attrname is "finsishings-supported"
we were getting the memory after ipp_finishings_vendor
in the ipp_job_collation_types array.

When enumvalue is 101 and attrname is "finsishings-supported"
we were getting the memory after ipp_finishings_vendor
in the ipp_job_collation_types array.
@michaelrsweet
Copy link
Collaborator

I don't see how this happens with value 101. 0x40000066 maybe, but not 101.

Anyways, will take the fix.

@michaelrsweet michaelrsweet self-assigned this Dec 4, 2019
@michaelrsweet michaelrsweet added this to the CUPS 2.3.x milestone Dec 4, 2019
@michaelrsweet michaelrsweet merged commit 0f98a48 into apple:master Dec 4, 2019
@IslandCow
Copy link
Author

Thanks for pulling. The problematic value is 0x40000065 because the length of the array is 0x65 or 101.

@IslandCow IslandCow deleted the vendor_finishings branch December 5, 2019 00:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants