Skip to content

Conversation

@fowles
Copy link
Contributor

An empty buffer can have a null environment. Previously, we were
getting away with with this, but -fsanitize=null in clang caught it.

Cherry-pick of #32892 to
v12.x branch.

Ref: #32892

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows [commit guidelines]

An empty buffer can have a null environment. Previously, we were getting away with with this, but -fsanitize=null in clang caught it.
@nodejs-github-botnodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. v12.x labels Apr 16, 2020
@fowles
Copy link
ContributorAuthor

@soldair FYI

@himself65
Copy link
Member

I think you shouldn't pr to v12 branch, only master branch is ok

@addaleax
Copy link
Member

Yes, unless the change only applies to v12.x, PRs go into master first. Unless there is a reason not to, they will be backported to LTS release lines, too. I’ll close this, as #32892 already takes care of everything here.

Sign up for freeto 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++.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@fowles@himself65@addaleax@nodejs-github-bot