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

Buffer with too many invalid UTF-8 characters triggers abort #718

Open
natevw opened this issue Mar 6, 2015 · 0 comments · May be fixed by #719
Open

Buffer with too many invalid UTF-8 characters triggers abort #718

natevw opened this issue Mar 6, 2015 · 0 comments · May be fixed by #719

Comments

@natevw
Copy link
Contributor

natevw commented Mar 6, 2015

Code:

Buffer("ffffffffffffffff", 'hex').toString('utf8')

Result:

Assertion failed: (buf_pos + 6 < buf_len), function tm_str_from_utf8, file ../../src/tm_utf8.c, line 112.

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 a pull request may close this issue.

1 participant