Skip to content

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

Merged
zcbenz merged 2 commits into1-8-xfrom
fix-buffer-crash
Dec 27, 2017
Merged

1-8-x: Fix crash when using crypto module#11526
zcbenz merged 2 commits into1-8-xfrom
fix-buffer-crash

Conversation

@zcbenz
Copy link
Copy Markdown
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