code-format - and afl-cmin/afl-showmap was fixed in the bugfix for afl-tmin
MODIFY
src/afl-common.c
src/afl-common.c
@@ -58,6 +58,7 @@ void detect_file_args(char** argv, u8* prog_in, u8 *use_stdin) {
PFATAL("getcwd() failed");
}
+
#endif
if (!cwd) PFATAL("getcwd() failed");
@@ -135,12 +136,15 @@ void argv_cpy_free(char **argv) {
u32 i = 0;
while (argv[i]) {
+
ck_free(argv[i]);
i++;
+
}
+
ck_free(argv);
-}
+}
/* Rewrite argv for QEMU. */
@@ -360,7 +364,7 @@ char* get_afl_env(char* env) {
if ((val = getenv(env)) != NULL)
if (!be_quiet)
- OKF("Loaded environment variable %s with value %s\n", env, val);
+ OKF("Loaded environment variable %s with value %s", env, val);
return val;

MODIFY
src/afl-forkserver.c
src/afl-forkserver.c
@@ -135,7 +135,8 @@ void handle_timeout(int sig) {
void afl_fsrv_init(afl_forkserver_t *fsrv) {
- // this structure needs default so we initialize it if this was not done already
+ // this structure needs default so we initialize it if this was not done
+ // already
if (!fsrv->use_stdin) {

code-format - and afl-cmin/afl-showmap was fixed in the bugfix for afl-tmin