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

src: gracefully handle errors in GetX509NameObject by tniessen · Pull Request #41490 · nodejs/node · GitHub

/ node Public

src: gracefully handle errors in GetX509NameObject - #41490

Closed
tniessen wants to merge 1 commit into
nodejs:masterfrom
tniessen:src-gracefully-handle-errors-in-getx509nameobject
Closed

src: gracefully handle errors in GetX509NameObject#41490
tniessen wants to merge 1 commit into
nodejs:masterfrom
tniessen:src-gracefully-handle-errors-in-getx509nameobject

Conversation

Copy link
Copy Markdown
Member

When V8 reports an exception, fail gracefully instead of terminating the process in GetX509NameObject.
A huge thanks to @addaleax for pointing this out.

While this function was added as part of a security release (a336444), this patch does not affect security. Exceptions can realistically only occur due to custom setters on the Array prototype.

Co-authored-by: Anna Henningsen <anna@addaleax.net>
tniessen requested a review from addaleax January 12, 2022 13:43

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/crypto

nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. crypto Issues and PRs related to the crypto subsystem. needs-ci PRs that need a full CI run. labels Jan 12, 2022
tniessen added the request-ci Add this label to start a Jenkins CI on a PR. label Jan 12, 2022
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jan 12, 2022

This comment has been minimized.

Copy link
Copy Markdown
Collaborator

VoltrexKeyva added author ready PRs that have at least one approval, no outstanding review comments, and a CI started. and removed needs-ci PRs that need a full CI run. labels Jan 14, 2022
tniessen added a commit that referenced this pull request Jan 14, 2022
Co-authored-by: Anna Henningsen <anna@addaleax.net>

PR-URL: #41490
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>

tniessen commented Jan 14, 2022
edited
Loading

Copy link
Copy Markdown
Member Author

Landed in 4dd1f42, thanks for reviewing.

tniessen closed this Jan 14, 2022
tniessen added a commit that referenced this pull request Jan 14, 2022
PR-URL: #41490
Co-authored-by: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
targos pushed a commit that referenced this pull request Jan 14, 2022
PR-URL: #41490
Co-authored-by: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
tniessen deleted the src-gracefully-handle-errors-in-getx509nameobject branch January 15, 2022 16:10
danielleadams pushed a commit that referenced this pull request Feb 1, 2022
PR-URL: #41490
Co-authored-by: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
danielleadams mentioned this pull request Feb 1, 2022
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. c++ Issues and PRs that require attention from people who are familiar with C++. 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