-
Notifications
You must be signed in to change notification settings - Fork 551
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
utf8_hop_forward: Don't go over edge of buffer
even in the presence of malformed UTF-8. This preserves previous behavior of if you start at one byte past the edge of the buffer, it returns that position.
- Loading branch information
1 parent
cfe4427
commit 5613dc6
Showing
1 changed file
with
13 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters