Skip to content

Conversation

@addaleax
Copy link
Member

Throw a DataCloneError exception when encountering duplicate
ArrayBuffers or MessagePorts in the transfer list.

Fixes: #25786

(Fyi @chjj)

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

Throw a `DataCloneError` exception when encountering duplicate `ArrayBuffer`s or `MessagePort`s in the transfer list. Fixes: nodejs#25786
@nodejs-github-botnodejs-github-bot added the c++ Issues and PRs that require attention from people who are familiar with C++. label Jan 30, 2019
@addaleax
Copy link
MemberAuthor

@addaleaxaddaleax added the worker Issues and PRs related to Worker support. label Jan 30, 2019
@addaleax
Copy link
MemberAuthor

addaleax commented Jan 30, 2019

Resume CI: https://ci.nodejs.org/job/node-test-pull-request/20448/ (:heavy_check_mark:)

@addaleaxaddaleax added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Jan 30, 2019
@addaleax
Copy link
MemberAuthor

Landed in 0ff0af5

@addaleaxaddaleax closed this Feb 1, 2019
@addaleaxaddaleax deleted the message-duplicate-transfers branch February 1, 2019 15:12
addaleax added a commit that referenced this pull request Feb 1, 2019
Throw a `DataCloneError` exception when encountering duplicate `ArrayBuffer`s or `MessagePort`s in the transfer list. Fixes: #25786 PR-URL: #25815 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
addaleax added a commit that referenced this pull request Feb 1, 2019
Throw a `DataCloneError` exception when encountering duplicate `ArrayBuffer`s or `MessagePort`s in the transfer list. Fixes: #25786 PR-URL: #25815 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
@targostargos mentioned this pull request Feb 14, 2019
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.c++Issues and PRs that require attention from people who are familiar with C++.workerIssues and PRs related to Worker support.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

worker_threads: multiple crashes caused by duplicate objects in transferList

6 participants

@addaleax@nodejs-github-bot@jasnell@cjihrig@joyeecheung@richardlau