Skip to content

Conversation

@AZero13
Copy link
Contributor

@AZero13 AZero13 commented Jan 4, 2026

We were only moving half the buffer, as Unichar is 2 bytes.

Bug also affects macOS CoreFoundation.

@AZero13
Copy link
Contributor Author

AZero13 commented Jan 5, 2026

@jmschonfeld

We were only moving half the buffer, as Unichar is 2 bytes.
}
}

func test_SurrogatePairsChecking() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you elaborate on how this unit test tests the code change that you made? If I run the unit test on macOS today, it passes as-is successfully, and if I run it on Linux it crashes due to what looks like a different bug.

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