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

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

Closed
wants to merge 1 commit into from
Closed

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

wants to merge 1 commit into from

Conversation

Nikitosh
Copy link

@Nikitosh Nikitosh commented Apr 5, 2019

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
Collaborator

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

@michaelrsweet
Copy link
Collaborator

[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 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