From 1de758179b279f2675ba2199ab0dad000f3c2397 Mon Sep 17 00:00:00 2001 From: nhmall Date: Fri, 1 Jul 2022 08:36:33 -0400 Subject: [PATCH] don't alter perm_invent during fuzzer --- src/options.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/options.c b/src/options.c index 42da3e524..1acff8f3f 100644 --- a/src/options.c +++ b/src/options.c @@ -4378,7 +4378,8 @@ optfn_boolean(int optidx, int req, boolean negated, char *opts, char *op) } if (iflags.debug_fuzzer && !g.opt_initial) { /* don't randomly toggle this/these */ - if (optidx == opt_silent) + if ((optidx == opt_silent) + || (optidx == opt_perm_invent)) return optn_ok; } /* Before the change */