mangle: number of minimum changes
@@ -423,10 +423,10 @@ void mangle_mangleContent(honggfuzz_t * hfuzz, fuzzer_t * fuzzer)
};
/* *INDENT-ON* */
- /* Minimal number of changes is 1 */
uint64_t changesCnt = fuzzer->dynamicFileSz * fuzzer->flipRate;
if (changesCnt == 0ULL) {
- changesCnt = 1;
+ /* Mini-max number of changes is 3 */
+ changesCnt = 3;
}
changesCnt = util_rndGet(1, changesCnt);
