Skip to content

Fixed a panic when the checksum contained multi-byte characters#50

Open
fullylegit wants to merge 1 commit intozaari:masterfrom
fullylegit:bugfix/utf8-panic
Open

Fixed a panic when the checksum contained multi-byte characters#50
fullylegit wants to merge 1 commit intozaari:masterfrom
fullylegit:bugfix/utf8-panic

Conversation

@fullylegit
Copy link
Copy Markdown

Ensure the entire sentence is ASCII.

This prevents a panic that could be caused with invalid input when slicing in the middle of multi-byte characters.

- Check that the entire sentence is ASCII as per the standard
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