Skip to content

Conversation

@Fishrock123
Copy link
Contributor

replacement for #1559

This also adds the "Working on v1.8.2" commit.

R=@chrisdickinson

chrisdickinson and others added 3 commits April 20, 2015 16:02
Buffer#copy() immediately does a ToObject() on the first argument before
it checks if it's even an Object. This causes
Object::HasIndexedPropertiesInExternalArrayData() to be run on nothing,
triggering the segfault. Instead run HasInstance() on the args Value.
Which will check if it's actually an Object, before checking if it
contains data.

Fixes: nodejs#1519
PR-URL: nodejs#1520
Reviewed-by: Evan Lucas <evanlucas@me.com>
PR-URL: nodejs#1517
Reviewed-By: Brian White <mscdex@mscdex.net>
@Fishrock123 Fishrock123 added this to the 2.0.0 milestone May 1, 2015
@mscdex mscdex added the meta Issues and PRs related to the general management of the project. label May 1, 2015
@chrisdickinson
Copy link
Contributor

LGTM.

PR-URL: nodejs#1582
Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>

Conflicts:
	src/node_version.h
@Fishrock123 Fishrock123 force-pushed the master-with-v1.x-merge branch from daa05ca to 79a7a86 Compare May 2, 2015 00:12
@Fishrock123 Fishrock123 merged commit 79a7a86 into nodejs:master May 2, 2015
@rvagg rvagg mentioned this pull request May 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

meta Issues and PRs related to the general management of the project.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants