From 5f87544a0d6d50f3e0b51dad61dd10c8f2baa2a2 Mon Sep 17 00:00:00 2001 From: Anshul Maheshwari Date: Sun, 13 Jul 2014 01:43:27 +0530 Subject: [PATCH] Invalid memory access at boundary --- src/utility.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utility.c b/src/utility.c index 86f750a3..b930c981 100644 --- a/src/utility.c +++ b/src/utility.c @@ -255,7 +255,7 @@ void dump (LLONG mask, unsigned char *start, int l, unsigned long abs_start, uns mprint (" | "); for (int j=0; j<16; j++) { - if (x+j<=l && start[x+j]>=' ') + if (x+j=' ') mprint ("%c",start[x+j] & (clear_high_bit?0x7F:0xFF)); // 0x7F < remove high bit, convenient for visual CC inspection else mprint (" ");