Skip to content

[8.x] src: fix util abort - #19224

Closed
BridgeAR wants to merge 1 commit into
nodejs:v8.x-stagingfrom
BridgeAR:v8-fix-util-abort
Closed

[8.x] src: fix util abort#19224
BridgeAR wants to merge 1 commit into
nodejs:v8.x-stagingfrom
BridgeAR:v8-fix-util-abort

Conversation

@BridgeAR

Copy link
Copy Markdown
Member

This makes sure util.isRegExp and util.isDate will not abort in case
more than one argument is passed to the function.

This got fixed in #18415 in 10.x. So this is a direct fix for 8.x instead of a backport. I also opened #19223 for 9.x.

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

This makes sure util.isRegExp and util.isDate will not abort in case
more than one argument is passed to the function.
@nodejs-github-botnodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. util Issues and PRs related to the built-in util module. v8.x labels Mar 8, 2018
@BridgeAR

Copy link
Copy Markdown
MemberAuthor

@BridgeARBridgeAR added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Mar 8, 2018
@BridgeARBridgeAR mentioned this pull request Mar 20, 2018
4 tasks
@MylesBorins

Copy link
Copy Markdown
Contributor

This has not yet landed on v9.x, so please hold off until the next release

@MylesBorins
MylesBorinsforce-pushed the v8.x-staging branch 2 times, most recently from 44cb0d3 to 16bf5feCompareMarch 30, 2018 03:28
@BridgeARBridgeAR removed the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Apr 9, 2018
@gibfahn

Copy link
Copy Markdown
Member

@gibfahn

gibfahn commented Apr 12, 2018

Copy link
Copy Markdown
Member

This got fixed in #18415 in 10.x. So this is a direct fix for 8.x instead of a backport. I also opened #19223 for 9.x.

I'm not following, isn't this the same change as 8181c60, and thus a straight backport?

EDIT: nvm, worked it out.

@gibfahn
gibfahn requested a review from addaleaxApril 13, 2018 01:37
gibfahn pushed a commit that referenced this pull request Apr 13, 2018
This makes sure util.isRegExp and util.isDate will not abort in case
more than one argument is passed to the function.
PR-URL: #19224
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
@gibfahn

Copy link
Copy Markdown
Member

I'm pretty sure this is fine, and thus have landed it, but @addaleax if you could take a quick look just to double-check that would be great for my peace of mind!

Landed in 9ac91b1

@gibfahngibfahn closed this Apr 13, 2018
@addaleax

Copy link
Copy Markdown
Member

@gibfahn Yes, this patch LGTM :)

@MylesBorinsMylesBorins mentioned this pull request May 2, 2018
@BridgeAR
BridgeAR deleted the v8-fix-util-abort branch April 1, 2019 23:39
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++.utilIssues and PRs related to the built-in util module.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@BridgeAR@MylesBorins@gibfahn@addaleax@nodejs-github-bot