Skip to content

Fix assertion error with large canvases and toBuffer('raw') #1424

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

Merged
merged 1 commit into from
May 31, 2019

Conversation

zbjornson
Copy link
Collaborator

Also allows larger buffers to be returned on 64-bit platforms. Nan only allows 0x3FFFFFFF; Node/v8 allows 0x7FFFFFFF on 64-bit.

Fixes #1158

  • Have you updated CHANGELOG.md?

Also allows larger buffers to be returned on 64-bit platforms. Nan only allows 0x3FFFFFFF; Node/v8 allows 0x7FFFFFFF on 64-bit.

Fixes Automattic#1158
@zbjornson zbjornson merged commit c1cc378 into Automattic:master May 31, 2019
@zbjornson zbjornson deleted the zb/1158 branch May 31, 2019 22:46
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.

Assertion error in Nan::CopyBuffer
2 participants