Skip to content

Conversation

@jasnell
Copy link
Member

Checklist
  • make -j8 test (UNIX), or vcbuild test nosign (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
Affected core subsystem(s)

src

Description of change

Alternative to #9280 ...
The proposed fix in 9280 breaks the calculation algorithm.

Variable was uninitialized in 72547fe Initialize the variable and add a static_check

/cc @bnoordhuis@addaleax

@nodejs-github-botnodejs-github-bot added the c++ Issues and PRs that require attention from people who are familiar with C++. label Oct 25, 2016
@jasnell
Copy link
MemberAuthor

@jasnell
Copy link
MemberAuthor

ping @addaleax@bnoordhuis

Copy link
Member

@bnoordhuisbnoordhuis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with nit. Does valgrind -q complain without this patch? If no, consider adding a regression test.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have an extraneous paren in the string.

Variable was uninitialized in 72547fe Initialize the variable and add a static_check
jasnell added a commit that referenced this pull request Oct 28, 2016
Variable was uninitialized in 72547fe Initialize the variable and add a static_check PR-URL: #9281 Reviewed-By: Ben Noordhuis <[email protected]>
@jasnell
Copy link
MemberAuthor

Landed in 2bd850b

@jasnelljasnell closed this Oct 28, 2016
evanlucas pushed a commit that referenced this pull request Nov 3, 2016
Variable was uninitialized in 72547fe Initialize the variable and add a static_check PR-URL: #9281 Reviewed-By: Ben Noordhuis <[email protected]>
@evanlucasevanlucas mentioned this pull request Nov 3, 2016
@MylesBorins
Copy link
Contributor

This does not land cleanly in LTS. Added dont-land label. Please feel free to manually backport

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

@jasnell@MylesBorins@bnoordhuis@nodejs-github-bot