Skip to content

v8: fix template literal NULL pointer deref#534

Merged
bnoordhuis merged 1 commit into
nodejs:v1.xfrom
bnoordhuis:fix-v8-null-ptr-deref
Jan 21, 2015
Merged

v8: fix template literal NULL pointer deref#534
bnoordhuis merged 1 commit into
nodejs:v1.xfrom
bnoordhuis:fix-v8-null-ptr-deref

Conversation

@bnoordhuis

Copy link
Copy Markdown
Member

Fixes a NULL pointer dereference with unterminated template literals.

This is a back-port of commit v8/v8@02218ad from the V8
master branch, see https://code.google.com/p/v8/issues/detail?id=3820.

R=@indutny @caitp

I'm going to send this upstream after make x64.release.quickcheck completes...

@caitp

caitp commented Jan 21, 2015

Copy link
Copy Markdown
Contributor

You're sending the backport CL? LGTM

@caitp

caitp commented Jan 21, 2015

Copy link
Copy Markdown
Contributor

I thought dslomov was going to do it but maybe not

@indutny

indutny commented Jan 21, 2015

Copy link
Copy Markdown
Member

LGTM if it works

Fixes a NULL pointer dereference with unterminated template literals.

This is a back-port of commit v8/v8@02218ad from the V8
master branch, see https://code.google.com/p/v8/issues/detail?id=3820.

PR-URL: nodejs#534
Reviewed-By: Caitlin Potter <caitpotter88@gmail.com>
Reviewed-By: Fedor Indutny <fedor@indutny.com>
@bnoordhuis bnoordhuis force-pushed the fix-v8-null-ptr-deref branch from bbe16c0 to 803883b Compare January 21, 2015 12:36
@bnoordhuis bnoordhuis merged commit 803883b into nodejs:v1.x Jan 21, 2015
@bnoordhuis bnoordhuis deleted the fix-v8-null-ptr-deref branch January 21, 2015 12:36
@bnoordhuis

Copy link
Copy Markdown
Member Author

@caitp I may have missed it but I didn't see any CRs targeted for 4.1.

@caitp

caitp commented Jan 21, 2015

Copy link
Copy Markdown
Contributor

yeah I haven't sent one... if you're going to do it you can go for it, otherwise I'll do that today

@bnoordhuis

Copy link
Copy Markdown
Member Author

@caitp I got stumped by https://code.google.com/p/v8/issues/detail?id=3835. The patch from this PR applies cleanly but I couldn't get the test suite to build because of that.

@bnoordhuis

Copy link
Copy Markdown
Member Author

dslomov filed one: https://codereview.chromium.org/861173005/ - lots of buildbot failures, though.

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.

3 participants