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

[v20.x] vm: harden module type checks by legendecas · Pull Request #53109 · nodejs/node · GitHub

/ node Public

[v20.x] vm: harden module type checks - #53109

Closed
legendecas wants to merge 1 commit into
nodejs:v20.x-stagingfrom
legendecas:backport-52162-to-20
Closed

[v20.x] vm: harden module type checks#53109
legendecas wants to merge 1 commit into
nodejs:v20.x-stagingfrom
legendecas:backport-52162-to-20

Conversation

Copy link
Copy Markdown
Member

Check if the value returned from user linker function is a null-ish value.

validateInternalField should be preferred when checking this argument to guard against null-ish this.

Co-authored-by: Mike Ralphson mike.ralphson@gmail.com
PR-URL: #52162
Reviewed-By: Vinícius Lourenço Claro Cardoso contact@viniciusl.com.br
Reviewed-By: Yagiz Nizipli yagiz.nizipli@sentry.io

nodejs-github-bot added needs-ci PRs that need a full CI run. v20.x vm Issues and PRs related to the vm subsystem. labels May 22, 2024
marco-ippolito added the request-ci Add this label to start a Jenkins CI on a PR. label May 23, 2024
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label May 23, 2024

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

marco-ippolito added the request-ci Add this label to start a Jenkins CI on a PR. label Jun 17, 2024
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jun 17, 2024

Copy link
Copy Markdown
Collaborator

marco-ippolito force-pushed the v20.x-staging branch 2 times, most recently from d702971 to 044bcce Compare June 17, 2024 14:26
Comment thread lib/internal/vm/module.js Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Isn't the freezing (from #49720) semver-major?

marco-ippolito left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Blocking on #53109 (comment)

Check if the value returned from user linker function is a null-ish
value.

`validateInternalField` should be preferred when checking `this`
argument to guard against null-ish `this`.

Co-authored-by: Mike Ralphson <mike.ralphson@gmail.com>
PR-URL: nodejs#52162
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
legendecas force-pushed the backport-52162-to-20 branch from f9c85f3 to 5081f84 Compare June 18, 2024 09:10
legendecas added the request-ci Add this label to start a Jenkins CI on a PR. label Jun 18, 2024
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jun 18, 2024

Copy link
Copy Markdown
Collaborator

targos added the request-ci Add this label to start a Jenkins CI on a PR. label Sep 21, 2024
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Sep 21, 2024

Copy link
Copy Markdown
Collaborator

targos commented Sep 21, 2024

Copy link
Copy Markdown
Member

@marco-ippolito I believe the comment has been addressed.

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

targos pushed a commit that referenced this pull request Sep 26, 2024
Check if the value returned from user linker function is a null-ish
value.

`validateInternalField` should be preferred when checking `this`
argument to guard against null-ish `this`.

Co-authored-by: Mike Ralphson <mike.ralphson@gmail.com>
PR-URL: #52162
Backport-PR-URL: #53109
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>

targos commented Sep 26, 2024

Copy link
Copy Markdown
Member

Landed in f88bf05

targos closed this Sep 26, 2024
legendecas deleted the backport-52162-to-20 branch September 26, 2024 08:46
targos pushed a commit that referenced this pull request Oct 2, 2024
Check if the value returned from user linker function is a null-ish
value.

`validateInternalField` should be preferred when checking `this`
argument to guard against null-ish `this`.

Co-authored-by: Mike Ralphson <mike.ralphson@gmail.com>
PR-URL: #52162
Backport-PR-URL: #53109
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
targos pushed a commit that referenced this pull request Oct 2, 2024
Check if the value returned from user linker function is a null-ish
value.

`validateInternalField` should be preferred when checking `this`
argument to guard against null-ish `this`.

Co-authored-by: Mike Ralphson <mike.ralphson@gmail.com>
PR-URL: #52162
Backport-PR-URL: #53109
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
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

needs-ci PRs that need a full CI run. vm Issues and PRs related to the vm subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants


Back | FazBrowse Home | New Git URL