We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 295eea4 commit b1d91baCopy full SHA for b1d91ba
1 file changed
fuzz/fuzz_targets/fuzz_cmp_args.rs
@@ -11,6 +11,9 @@ fn os(s: &str) -> OsString {
11
}
12
13
fuzz_target!(|x: Vec<OsString>| -> Corpus {
14
+ if x.iter().any(|a| a == "--help") {
15
+ return Corpus::Reject;
16
+ }
17
if x.len() > 6 {
18
// Make sure we try to parse an option when we get longer args. x[0] will be
19
// the executable name.
0 commit comments