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

Raw telegram event - Buffer.from(value) must not use number #49

Merged
merged 2 commits into from
Apr 14, 2017
Merged

Raw telegram event - Buffer.from(value) must not use number #49

merged 2 commits into from
Apr 14, 2017

Conversation

snowdd1
Copy link
Contributor

@snowdd1 snowdd1 commented Apr 13, 2017

For security reasons the Buffer.from() does not take numbers (any more?) to initialize a new Buffer. To pass a value to a new buffer, it needs either to be a buffer itself, or an array.
Not sure how that could have slipped, but it has, apparently.

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