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 crash in find_canonical_position #38

Merged

Conversation

mroch
Copy link
Contributor

@mroch mroch commented Aug 17, 2023

get_offset returns a byte offset, but find_canonical_position was interpreting the offset in chars, which could lead to a "Could not determine canonical value for ..." crash.

@GiveMe-A-Name GiveMe-A-Name merged commit 9182a21 into GiveMe-A-Name:main Aug 18, 2023
3 checks passed
@mroch mroch deleted the find_canonical_position_crash branch August 18, 2023 02:32
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.

None yet

2 participants