Skip to content

src: fix use-after-free in v8 inspector - #7490

Closed
bnoordhuis wants to merge 1 commit into
nodejs:masterfrom
bnoordhuis:fix7489
Closed

bnoordhuis wants to merge 1 commit into
nodejs:masterfrom
bnoordhuis:fix7489

Conversation

@bnoordhuis

@bnoordhuis bnoordhuis commented Jun 29, 2016 •

Copy link
Copy Markdown
Member

AgentImp::OnInspectorHandshakeIO() should not delete the socket because
its caller, data_received_cb(), takes care of that.
@bnoordhuis bnoordhuis added the inspector Issues and PRs related to the V8 inspector protocol. label Jun 29, 2016
@nodejs-github-bot nodejs-github-bot added the c++ Issues and PRs that require attention from people who are familiar with C++. label Jun 29, 2016
@MylesBorins

Copy link
Copy Markdown
Contributor

@bnoordhuis is there no instance where handshake fails and there is an instance of the socket?

@bnoordhuis

Copy link
Copy Markdown
Member Author

Fixed by 08aff14.

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

Labels

c++ Issues and PRs that require attention from people who are familiar with C++. inspector Issues and PRs related to the V8 inspector protocol.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants