Skip to content

Fixed buffer overrun in error message generation#2042

Open
kperryua wants to merge 1 commit into
swiftlang:release/6.4.xfrom
kperryua:pr/179416511
Open

Fixed buffer overrun in error message generation#2042
kperryua wants to merge 1 commit into
swiftlang:release/6.4.xfrom
kperryua:pr/179416511

Conversation

@kperryua

Copy link
Copy Markdown
Contributor

In the previous fix, I coalesced two scenarios in the error generation—getting a non-hex character right after \U, and getting EOF. In the attempt to helpfully print out the character in the former, I introduced a buffer overrun in the latter.

@kperryua kperryua requested a review from a team as a code owner June 16, 2026 23:33
@kperryua

Copy link
Copy Markdown
Contributor Author

@swift-ci please test

@kperryua kperryua requested a review from jmschonfeld June 17, 2026 17:02
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