Skip to content

Fix ArrayIndexOutOfBoundsException for surrogate pair in comment at buffer boundary - #356

Merged
slachiewicz merged 1 commit into
plexus-utils-3.xfrom
agent/mxparser-comment-surrogate-3x
Nov 14, 2026
Merged

slachiewicz merged 1 commit into
plexus-utils-3.xfrom
agent/mxparser-comment-surrogate-3x

Conversation

@slachiewicz

Copy link
Copy Markdown
Member

Ports the plexus-xml 3.1.1 fix (codehaus-plexus/plexus-xml@6ad09e0) to the MXParser copy that plexus-utils 3.x still bundles. 4.x gets it through plexus-xml 3.1.1 (#354).

Verified: mvn verify (JDK 17) → 466 tests, 0 failures; the new test fails with ArrayIndexOutOfBoundsException without the fix

…uffer boundary

Fixes #103

(cherry picked from commit d1139beed150439ade8d66bb6e1e8d433215b1ea)

(cherry picked from codehaus-plexus/plexus-xml@6ad09e0)
@slachiewicz slachiewicz added the bug Something isn't working label Nov 14, 2026
@slachiewicz
slachiewicz marked this pull request as ready for review November 14, 2026 23:26
@slachiewicz
slachiewicz merged commit cef1dbe into plexus-utils-3.x Nov 14, 2026
13 checks passed
@slachiewicz
slachiewicz deleted the agent/mxparser-comment-surrogate-3x branch November 14, 2026 23:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant