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 validation rejecting all NAME and TEXT attrs #5330

Closed
wants to merge 1 commit into from

Conversation

heftig
Copy link

@heftig heftig commented Jun 8, 2018

When the UTF-8 validation loop finishes successfully, *ptr points at
the '\0' at the end of the string. The code misinterpreted this as a
control character (*ptr < ' ') and failed the validation.

Fixes #5325

When the UTF-8 validation loop finishes successfully, `*ptr` points at
the `'\0'` at the end of the string. The code misinterpreted this as a
control character (`*ptr < ' '`) and failed the validation.

Fixes apple#5325
@michaelrsweet
Copy link
Collaborator

I've chosen to fix this a little differently:

[master 592a7a7b5] Fix regressions in ippValidateAttribute (Issue #5322, Issue #5330)

[branch-2.2 18545a5] Fix regressions in ippValidateAttribute (Issue #5322, Issue #5330)

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.

2 participants