don't alter perm_invent during fuzzer

This commit is contained in:
nhmall
2022-07-01 08:36:33 -04:00
parent 84baa5d7d4
commit 1de758179b
+2 -1
View File
@@ -4378,7 +4378,8 @@ optfn_boolean(int optidx, int req, boolean negated, char *opts, char *op)
} }
if (iflags.debug_fuzzer && !g.opt_initial) { if (iflags.debug_fuzzer && !g.opt_initial) {
/* don't randomly toggle this/these */ /* don't randomly toggle this/these */
if (optidx == opt_silent) if ((optidx == opt_silent)
|| (optidx == opt_perm_invent))
return optn_ok; return optn_ok;
} }
/* Before the change */ /* Before the change */