Skip to content

Conversation

zhao-gang
Copy link
Contributor

Should check array size before accessing the second to fourth bytes of
utf8 as there might be not enough data left in the array.

Should check array size before accessing the second to fourth bytes of
utf8 as there might be not enough data left in the array.
@haoel haoel merged commit 51ea33c into haoel:master Nov 12, 2021
qinyafee pushed a commit to qinyafee/leetcode that referenced this pull request Jan 28, 2022
Should check array size before accessing the second to fourth bytes of
utf8 as there might be not enough data left in the array.
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