Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In NuProcessBuilder throw an IllegalArgumentException if commands that include a null character are passed. This hardens against command line injection type attacks in applications that use NuProcess. Throwing a IllegalArgumentException is what Java's ProcessBuilder does when nulls are passed so this solution was chosen to maintain some consistency with that.
- Loading branch information
1 parent
4953d61
commit d4005b6
Showing
1 changed file
with
13 additions
and
1 deletion.
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