Skip to content

Conversation

@viniciuslrangel
Copy link

  • Using utf8 chars with more than 1 bytes adds a wrong offset to the loop (accessing the wrong index from val)
  • Chars that starts with a zero (like 0x0A), toRadixString(16) gives a string with length == 1 resulting in a index out of range

- Using utf8 chars with more than 1 bytes adds a wrong offset to the loop (accessing the wrong index from val)
- Chars that starts with a zero (like 0x0A),  `toRadixString(16)` gives a string with length == 1 resulting in a index out of range
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