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

Fix validation rejecting all NAME and TEXT attrs - #5330

Closed
heftig wants to merge 1 commit into
apple:masterfrom
heftig:master
Closed

heftig wants to merge 1 commit into
apple:masterfrom
heftig:master

Conversation

@heftig

@heftig heftig commented Jun 8, 2018

Copy link
Copy Markdown

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
Copy Markdown
Contributor

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants