no more (?) statics

This commit is contained in:
Dominik Maier
2020-03-19 22:54:09 +01:00
parent 0fa47bb867
commit 5b9d306cdf
10 changed files with 209 additions and 160 deletions

View File

@ -465,6 +465,8 @@ static void write_crash_readme(afl_state_t *afl) {
s32 fd;
FILE *f;
u8 int_buf[16];
fd = open(fn, O_WRONLY | O_CREAT | O_EXCL, 0600);
ck_free(fn);
@ -501,7 +503,9 @@ static void write_crash_readme(afl_state_t *afl) {
" https://github.com/AFLplusplus/AFLplusplus\n\n",
afl->orig_cmdline, DMS(afl->fsrv.mem_limit << 20)); /* ignore errors */
afl->orig_cmdline,
DMS(int_buf, sizeof(int_buf),
afl->fsrv.mem_limit << 20)); /* ignore errors */
fclose(f);