Skip to content

Fixed CharacterSet crash on Linux#139

Open
Amzd wants to merge 1 commit into
JohnSundell:masterfrom
Amzd:amzd/characterset-linux-crash-fix
Open

Fixed CharacterSet crash on Linux#139
Amzd wants to merge 1 commit into
JohnSundell:masterfrom
Amzd:amzd/characterset-linux-crash-fix

Conversation

@Amzd
Copy link
Copy Markdown

@Amzd Amzd commented May 2, 2026

void CFCharacterSetRemoveCharactersInRange(CFMutableCharacterSetRef, CFRange): Immutable character set passed to mutable function

Mutating a CharacterSet causes crashes on Linux. This change avoids the crash by not mutating.

void CFCharacterSetRemoveCharactersInRange(CFMutableCharacterSetRef, CFRange): Immutable character set passed to mutable function
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.

1 participant