-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. Compute deathSignal correctly 2. Redirect output to tmp file. Very long piped strings sometimes get mishandled.
- Loading branch information
Showing
1 changed file
with
22 additions
and
7 deletions.
There are no files selected for viewing
This file contains 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
f15e61e
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.
Re very long piped strings sometimes get mishandled: I hit the same problem, for the record I eventually tracked it down to nodejs/node#6456 and nodejs/node#1741 (comment)
My fix was to simply delete the call to
process.exit
at https://github.com/davisjam/vuln-regex-detector/blob/master/src/validate/src/javascript/query-node.js#L60 but then I noticed you've already fixed it upstream :-)f15e61e
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.
Wow, really interesting that it was due to something in Node. Unexpected!