Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inspector: do not dereference null pointer #9233

Closed
wants to merge 1 commit into from
Closed

inspector: do not dereference null pointer #9233

wants to merge 1 commit into from

Conversation

eugeneo
Copy link
Contributor

@eugeneo eugeneo commented Oct 21, 2016

Checklist
  • make -j8 test (UNIX), or vcbuild test nosign (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

inspector - just a minor bugfix

Description of change

This issue was caught by Coverity. Apparently, nullptr in std::string
ctor is undefined behaviour.

This issue was caught by Coverity. Apparently, nullptr in std::string
ctor is undefined behaviour.
@nodejs-github-bot nodejs-github-bot added the c++ Issues and PRs that require attention from people who are familiar with C++. label Oct 21, 2016
@mscdex mscdex added the inspector Issues and PRs related to the V8 inspector protocol label Oct 21, 2016
@bnoordhuis
Copy link
Member

Already fixed by #9184 which I'll be landing later today. That pull request also comes with regression tests.

@eugeneo eugeneo closed this Oct 24, 2016
@eugeneo eugeneo deleted the more_coverity branch October 24, 2016 16:25
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.

4 participants