Skip to content
This repository was archived by the owner on Mar 10, 2026. It is now read-only.

Fix cupsCheckDestSupported() handling of "job-password" option#5557

Closed
Nikitosh wants to merge 1 commit into
apple:masterfrom
Nikitosh:fix-job-password-supported
Closed

Fix cupsCheckDestSupported() handling of "job-password" option#5557
Nikitosh wants to merge 1 commit into
apple:masterfrom
Nikitosh:fix-job-password-supported

Conversation

@Nikitosh

@Nikitosh Nikitosh commented Apr 5, 2019

Copy link
Copy Markdown

CUPS doesn't handle correctly "job-password" option in cupsCheckDestSupported() function, since it expects the integer value when IPP tag of "X-supported" attribute is IPP_TAG_INTEGER, but in case of "job-password" we have string value.
This commit adds separate check for that and fixes it.

@michaelrsweet

Copy link
Copy Markdown
Contributor

Hmm, I think we want to make this more general. Investigating.

@michaelrsweet

Copy link
Copy Markdown
Contributor

[master 677e4ca] For octetString values, compare the length against the -supported value (Issue #5557)

[branch-2.2 0ad7895] For octetString values, compare the length against the -supported value (Issue #5557)

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants