close
Skip to content

CSS Processor: Fix consume_ident_start_codepoint bounds check#219

Merged
adamziel merged 3 commits intoWordPress:trunkfrom
sirreal:fix/consume_ident_codepoint-off-by-one
Mar 12, 2026
Merged

CSS Processor: Fix consume_ident_start_codepoint bounds check#219
adamziel merged 3 commits intoWordPress:trunkfrom
sirreal:fix/consume_ident_codepoint-off-by-one

Conversation

@sirreal
Copy link
Member

@sirreal sirreal commented Mar 12, 2026

Fixes out-of-bounds string offset access when the input string ends while consuming an ident start.

@sirreal sirreal requested a review from adamziel March 12, 2026 12:44
@adamziel
Copy link
Collaborator

Good catch!

@adamziel adamziel merged commit de13df1 into WordPress:trunk Mar 12, 2026
22 checks passed
@sirreal sirreal deleted the fix/consume_ident_codepoint-off-by-one branch March 13, 2026 09:21
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