-
Notifications
You must be signed in to change notification settings - Fork 30k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
src: throw if functions used as constructors in node_crypto.cc #23582
Conversation
Throw an error if verify_error_getter_templ or verify_error_getter_templ2 are used as constructors.
Resume Build CI: https://ci.nodejs.org/job/node-test-pull-request/17787 |
Resume Build CI: https://ci.nodejs.org/job/node-test-pull-request/17801 ✔️ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/ping @TimothyGu as their TODO comments are cleared here.
Landed in 20b3698 Thanks for the contribution! 🎉 (If you're interested in other possible contributions to Node.js but don't have a good idea of where to start looking, some ideas are posted at https://www.nodetodo.org/next-steps/.) |
Throw an error if verify_error_getter_templ or verify_error_getter_templ2 are used as constructors. PR-URL: #23582 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Throw an error if verify_error_getter_templ or verify_error_getter_templ2 are used as constructors. PR-URL: #23582 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Throw an error if verify_error_getter_templ or
verify_error_getter_templ2 are used as constructors.
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes