Skip to content

Commit

Permalink
corrected an error in function run_target
Browse files Browse the repository at this point in the history
  • Loading branch information
onezibo committed Sep 25, 2023
1 parent 3b31848 commit 8f4ab7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion binsec/src/uafuzz/afl-2.52b/afl-fuzz.c
Original file line number Diff line number Diff line change
Expand Up @@ -2427,7 +2427,7 @@ static u8 run_target(char** argv, u32 timeout) {
must prevent any earlier operations from venturing into that
territory. */

memset(trace_bits, 0, MAP_SIZE);
memset(trace_bits, 0, MAP_SIZE + DISTANCE_SIZE);
// UAFuzz
if (run_uafuzz) {
memset(trace_bits + MAP_SIZE + DISTANCE_SIZE, 0, TRACE_TARGETS);
Expand Down

0 comments on commit 8f4ab7f

Please sign in to comment.