Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Safe multibyte char string splitting #430

Merged
merged 5 commits into from
Sep 17, 2021
Merged

Conversation

flub
Copy link
Contributor

@flub flub commented Sep 17, 2021

This was splitting strings in an unsafe way, assuming you could always
split at 33 bytes from the end which is not true in UTF-8 strings.

Fixes SYMBOLICATOR-GE

This was splitting strings in an unsafe way, assuming you could always
split at 33 bytes from the end which is not true in UTF-8 strings.
@flub flub requested a review from a team September 17, 2021 14:54
symbolic-demangle/src/lib.rs Outdated Show resolved Hide resolved
symbolic-demangle/src/lib.rs Show resolved Hide resolved
@flub flub enabled auto-merge (squash) September 17, 2021 15:21
@flub flub merged commit 5a52a67 into master Sep 17, 2021
@flub flub deleted the fix/multibyte-char-split branch September 17, 2021 15:31
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