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

Cherrypick into 1.3: Fix off-by-one in look checks for QName iterators. #33279

Merged
merged 1 commit into from
May 2, 2024

Conversation

andy31415
Copy link
Contributor

This cherrypicks #33273

Unit test sizes for the string test were off by one which masked a off-by-one comparison in QName handling.
Update unit test and comparisons. This will disallow backward references to "self" for qnames.

Unit test sizes for the string `test` were off by one which
masked a off-by-one comparison in QName handling.

Update unit test and comparisons. This will disallow
backward references to "self" for qnames.

Co-authored-by: Andrei Litvin <andreilitvin@google.com>
@github-actions github-actions bot added the lib label May 2, 2024
@andy31415 andy31415 merged commit 0bafd3b into project-chip:v1.3-branch May 2, 2024
68 checks passed
dvagner pushed a commit to NXP/matter that referenced this pull request May 17, 2024
…oject-chip#33273) (project-chip#33279)

Unit test sizes for the string `test` were off by one which
masked a off-by-one comparison in QName handling.

Update unit test and comparisons. This will disallow
backward references to "self" for qnames.

Co-authored-by: Andrei Litvin <andreilitvin@google.com>
(cherry picked from commit 0bafd3b)
maciejbaczmanski pushed a commit to maciejbaczmanski/connectedhomeip that referenced this pull request Jan 16, 2025
…hip#33273) (project-chip#33279)"

This reverts commit 0bafd3b.

Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant