google / fuzzbench

FuzzBench - Fuzzer benchmarking as a service.
https://google.github.io/fuzzbench/
Apache License 2.0
1.09k stars 266 forks source link

Fix log in retry wrap #1968

Closed gustavogaldinoo closed 5 months ago

gustavogaldinoo commented 5 months ago

Logs made in retries always should check for the log_retries parameter, to avoid the following cyclic scenario:

  1. A log fails (e.g. permission issue)
  2. The logging method uses a retry wrapper, so it tries again
  3. The code inside the retry wrapper also calls a log method, so we go back to step 1