2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-22 01:49:11 +00:00

We can now rely on LLVMFuzzerTestOneInput to flush stdout.

This commit is contained in:
Todd C. Miller 2021-03-18 13:40:26 -06:00
parent bac0579134
commit 5498c6a938

View File

@ -107,7 +107,6 @@ main(int argc, char *argv[])
fprintf(stderr, "Running: %s\n", argv[i]);
sudo_gettime_mono(&start_time);
LLVMFuzzerTestOneInput(buf, nread);
fflush(stdout);
sudo_gettime_mono(&stop_time);
sudo_timespecsub(&stop_time, &start_time, &stop_time);
ms = (stop_time.tv_sec * 1000) + (stop_time.tv_nsec / 1000000);