aports/community/afl++/0003-fix-wrong-format-specifier.patch
Marian Buschsieweke 1404a80395
community/afl++: new aport
https://aflplus.plus/
Fuzzer relying on genetic algorithms instead of brute force
2022-04-21 21:26:30 +02:00

15 lines
476 B
Diff

The format specifier for size_t is %zu and not %lu. Fixing this to
prevent issues on 32 bit machines.
--- AFLplusplus-4.00c/instrumentation/SanitizerCoverageLTO.so.cc
+++ AFLplusplus-4.00c/instrumentation/SanitizerCoverageLTO.so.cc
@@ -1080,7 +1080,7 @@
}
if (!be_quiet)
- printf("AUTODICTIONARY: %lu string%s found\n", count,
+ printf("AUTODICTIONARY: %zu string%s found\n", count,
count == 1 ? "" : "s");
if (count) {