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

V8 upgrade to 4.6.85.23: Can no longer create a Buffer instance with nullptr #3781

Closed
TooTallNate opened this issue Nov 11, 2015 · 4 comments

Comments

@TooTallNate
Copy link
Contributor

In ref we do:

Nan::NewBuffer(nullptr, 0, wrap_pointer_cb, nullptr);

i.e. a Buffer instance backed by the null pointer, useful for ffi and other things. d8011d1 seems to have broken this functionality. Summoning a V8 guru (@indutny 😉) to possibly find out what's going on?

Thanks!

@indutny
Copy link
Member

indutny commented Nov 11, 2015

This is fixed by 827ee49, AFAIK. It just hasn't yet made its way to v5.0.0

@TooTallNate
Copy link
Contributor Author

Confirmed working correctly on master. I do remember seeing that commit when it landed, forgot about it I guess. 🍻 for the added test case!

@TooTallNate
Copy link
Contributor Author

And thanks for the fast response Fedor!

@indutny
Copy link
Member

indutny commented Nov 11, 2015

No problem! :)

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

No branches or pull requests

2 participants