FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

crypto: add null check to outputLength logic by cjihrig · Pull Request #28864 · nodejs/node · GitHub

/ node Public

crypto: add null check to outputLength logic - #28864

Merged
cjihrig merged 1 commit into
nodejs:masterfrom
cjihrig:hash
Jul 29, 2019
Merged

crypto: add null check to outputLength logic#28864
cjihrig merged 1 commit into
nodejs:masterfrom
cjihrig:hash

Conversation

cjihrig commented Jul 26, 2019

Copy link
Copy Markdown
Contributor

The Hash constructor's outputLength logic checks if the options input is an object, but doesn't check for null objects. This commit adds that check.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

nodejs-github-bot added the crypto Issues and PRs related to the crypto subsystem. label Jul 26, 2019

nodejs-github-bot commented Jul 29, 2019
edited by cjihrig
Loading

Copy link
Copy Markdown
Collaborator

CI: https://ci.nodejs.org/job/node-test-pull-request/24741/

EDIT(cjihrig): CI was yellow.

cjihrig added the author ready PRs that have at least one approval, no outstanding review comments, and a CI started. label Jul 29, 2019
The Hash constructor's outputLength logic checks if the options
input is an object, but doesn't check for null objects. This
commit adds that check.

PR-URL: nodejs#28864
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
cjihrig merged commit 92ca2c2 into nodejs:master Jul 29, 2019
cjihrig deleted the hash branch July 29, 2019 13:36
targos pushed a commit that referenced this pull request Aug 2, 2019
The Hash constructor's outputLength logic checks if the options
input is an object, but doesn't check for null objects. This
commit adds that check.

PR-URL: #28864
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no outstanding review comments, and a CI started. crypto Issues and PRs related to the crypto subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants


Back | FazBrowse Home | New Git URL