about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/afl-fuzz-init.c6
-rw-r--r--src/afl-fuzz-stats.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/afl-fuzz-init.c b/src/afl-fuzz-init.c
index e12b1e07..c3f3fac0 100644
--- a/src/afl-fuzz-init.c
+++ b/src/afl-fuzz-init.c
@@ -323,7 +323,7 @@ void read_testcases(afl_state_t *afl) {
   u32             i;
   u8 *            fn1;
 
-  u8 int_buf[12][16];
+  u8 int_buf[2][16];
 
   /* Auto-detect non-in-place resumption attempts. */
 
@@ -556,7 +556,7 @@ void perform_dry_run(afl_state_t *afl) {
 
         if (afl->fsrv.mem_limit) {
 
-          u8 int_tmp[16];
+          u8 int_buf[16];
 
           SAYF("\n" cLRD "[-] " cRST
                "Oops, the program crashed with one of the test cases provided. "
@@ -598,7 +598,7 @@ void perform_dry_run(afl_state_t *afl) {
                "other options\n"
                "      fail, poke <afl-users@googlegroups.com> for "
                "troubleshooting tips.\n",
-               DMS(int_tmp, sizeof(int_tmp), afl->fsrv.mem_limit << 20),
+               DMS(int_buf, sizeof(int_buf), afl->fsrv.mem_limit << 20),
                afl->fsrv.mem_limit - 1, doc_path);
 
         } else {
diff --git a/src/afl-fuzz-stats.c b/src/afl-fuzz-stats.c
index 34fdea25..55b60408 100644
--- a/src/afl-fuzz-stats.c
+++ b/src/afl-fuzz-stats.c
@@ -205,7 +205,7 @@ void show_stats(afl_state_t *afl) {
   u8  tmp[256];
   u8  time_tmp[64];
 
-  u8 int_buf[16][16];
+  u8 int_buf[8][16];
 #define IB(i) int_buf[(i)], sizeof(int_buf[(i)])
 
   cur_ms = get_cur_time();
@@ -789,8 +789,8 @@ void show_init_stats(afl_state_t *afl) {
   u64                 avg_us = 0;
   u32                 max_len = 0;
 
-  u8 int_buf[12][16];
-#define IB(i) int_buf[(i)], sizeof(int_buf[(i)])
+  u8 int_bufs[4][16];
+#define IB(i) int_bufs[(i)], sizeof(int_bufs[(i)])
 
   if (afl->total_cal_cycles) avg_us = afl->total_cal_us / afl->total_cal_cycles;