diff options
author | van Hauser <vh@thc.org> | 2023-06-29 18:00:46 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-29 18:00:46 +0300 |
commit | 641d02ab7211585e72e215405cd49c0712a8b4df (patch) | |
tree | 6bf544caf53f4ef7f7ca8ad02c2a412150758aa9 /src/afl-fuzz-init.c | |
parent | af8c68a774d0271ae6a2145ac566e1c7024e95d5 (diff) | |
parent | 3e1d7941077b1457f702988063d6b9fdd9b80740 (diff) | |
download | afl++-641d02ab7211585e72e215405cd49c0712a8b4df.tar.gz |
Merge pull request #1780 from AFLplusplus/dev
push to stable
Diffstat (limited to 'src/afl-fuzz-init.c')
-rw-r--r-- | src/afl-fuzz-init.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/afl-fuzz-init.c b/src/afl-fuzz-init.c index 13802f40..24fd7077 100644 --- a/src/afl-fuzz-init.c +++ b/src/afl-fuzz-init.c @@ -1542,8 +1542,8 @@ double get_runnable_processes(void) { processes well. */ FILE *f = fopen("/proc/stat", "r"); - u8 tmp[1024]; - u32 val = 0; + u8 tmp[1024]; + u32 val = 0; if (!f) { return 0; } @@ -2226,7 +2226,7 @@ void check_crash_handling(void) { *BSD, so we can just let it slide for now. */ s32 fd = open("/proc/sys/kernel/core_pattern", O_RDONLY); - u8 fchar; + u8 fchar; if (fd < 0) { return; } @@ -2365,7 +2365,7 @@ void check_cpu_governor(afl_state_t *afl) { FATAL("Suboptimal CPU scaling governor"); #elif defined __APPLE__ - u64 min = 0, max = 0; + u64 min = 0, max = 0; size_t mlen = sizeof(min); if (afl->afl_env.afl_skip_cpufreq) return; |