Skip to content

tls: fix assert in context._external accessor - #5521

Merged
bnoordhuis merged 1 commit into
nodejs:masterfrom
bnoordhuis:fix3682
Mar 2, 2016
Merged

tls: fix assert in context._external accessor#5521
bnoordhuis merged 1 commit into
nodejs:masterfrom
bnoordhuis:fix3682

Conversation

@bnoordhuis

Copy link
Copy Markdown
Member
  • Restrict the receiver to instances of the FunctionTemplate.
  • Use args.This() instead of args.Holder().

Fixes: #3682

R=@indutny

@bnoordhuisbnoordhuis added tls Issues and PRs related to the tls subsystem. crypto Issues and PRs related to the crypto subsystem. labels Mar 2, 2016
@bnoordhuis

Copy link
Copy Markdown
MemberAuthor

Tests pass locally. CI is timing out and I have to step out for a bit, will revisit when I get back.

@indutny

Copy link
Copy Markdown
Member

LGTM

@bnoordhuis

Copy link
Copy Markdown
MemberAuthor

* Restrict the receiver to instances of the FunctionTemplate.
* Use `args.This()` instead of `args.Holder()`.
Fixes: nodejs#3682
PR-URL: nodejs#5521
Reviewed-By: Fedor Indutny <fedor@indutny.com>
@bnoordhuis
bnoordhuis deleted the fix3682 branch March 2, 2016 16:16
@bnoordhuis
bnoordhuis merged commit 0bea786 into nodejs:masterMar 2, 2016
Fishrock123 pushed a commit that referenced this pull request Mar 2, 2016
* Restrict the receiver to instances of the FunctionTemplate.
* Use `args.This()` instead of `args.Holder()`.
Fixes: #3682
PR-URL: #5521
Reviewed-By: Fedor Indutny <fedor@indutny.com>
@MylesBorins

Copy link
Copy Markdown
Contributor

adding the lts-watch flag

@bnoordhuis it is safe to assume you think this should be backported

@MylesBorins

Copy link
Copy Markdown
Contributor

one more time pinging @bnoordhuis. Maybe @indutny knows.

This landed cleanly and tests passed locally

@indutny

Copy link
Copy Markdown
Member

If it builds - it is safe to land it.

MylesBorins pushed a commit that referenced this pull request Mar 17, 2016
* Restrict the receiver to instances of the FunctionTemplate.
* Use `args.This()` instead of `args.Holder()`.
Fixes: #3682
PR-URL: #5521
Reviewed-By: Fedor Indutny <fedor@indutny.com>
@bnoordhuis

Copy link
Copy Markdown
MemberAuthor

@thealphanerd For posterity, yes, it should be back-ported.

MylesBorins pushed a commit that referenced this pull request Mar 21, 2016
* Restrict the receiver to instances of the FunctionTemplate.
* Use `args.This()` instead of `args.Holder()`.
Fixes: #3682
PR-URL: #5521
Reviewed-By: Fedor Indutny <fedor@indutny.com>
MylesBorins pushed a commit that referenced this pull request Mar 21, 2016
* Restrict the receiver to instances of the FunctionTemplate.
* Use `args.This()` instead of `args.Holder()`.
Fixes: #3682
PR-URL: #5521
Reviewed-By: Fedor Indutny <fedor@indutny.com>
@mhdawson

Copy link
Copy Markdown
Member

We have an internal consumer that ran into what looked like nodejs/node-v0.x-archive#9028 and our tests have indicated that that the this PR has resolved the issue. Long way of saying +1 to getting this landed in the next 4.X releases.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cryptoIssues and PRs related to the crypto subsystem.tlsIssues and PRs related to the tls subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@bnoordhuis@indutny@MylesBorins@mhdawson