Skip to content

Commit

Permalink
Mangle: minimum upper number of mutations
Browse files Browse the repository at this point in the history
  • Loading branch information
robertswiecki committed Feb 4, 2017
1 parent 5d16f2d commit 99d3142
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mangle.c
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ void mangle_mangleContent(honggfuzz_t * hfuzz, fuzzer_t * fuzzer)
};

uint64_t changesCnt = fuzzer->dynamicFileSz * fuzzer->flipRate;
if (changesCnt == 0ULL) {
if (changesCnt < 3ULL) {
/* Mini-max number of changes is 3 */
changesCnt = 3;
}
Expand Down

0 comments on commit 99d3142

Please sign in to comment.