8000 1-8-x: Fix crash when using crypto module by zcbenz · Pull Request #11526 · electron/electron · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

1-8-x: Fix crash when using crypto module #11526

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 2 commits into from
Dec 27, 2017
Merged

1-8-x: Fix crash when using crypto module #11526

merged 2 commits into from
Dec 27, 2017

Conversation

zcbenz
Copy link
Contributor
@zcbenz zcbenz commented Dec 27, 2017

Node.js added a few new C++ code in the crypto module, which passes some memory allocated with Node's allocator to blink, while blink then would try to free the memory with Chromium's allocator.

This is fixed by patching Node's code to use Chromium's allocator.

The patch on Node can be found at electron/node@b6a9b91.

Close #11457.

@zcbenz zcbenz requested a review from a team December 27, 2017 11:22
@zcbenz zcbenz merged commit ab3811e into 1-8-x Dec 27, 2017
@zcbenz zcbenz deleted the fix-buffer-crash branch December 27, 2017 12:45
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.

1 participant
0