From 1a479a719970b474b5a56be24df8e999e8874898 Mon Sep 17 00:00:00 2001 From: Anshul Maheshwari Date: Wed, 23 Jul 2014 11:58:38 +0530 Subject: [PATCH] looking for writing beyond the memory increasing memory to 40, though only 38 is required but to make it multiple of 4 and 8 looking at 32bit and 64 bit system. --- src/asf_functions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/asf_functions.c b/src/asf_functions.c index c3532265..d36dec51 100644 --- a/src/asf_functions.c +++ b/src/asf_functions.c @@ -36,7 +36,7 @@ uint32_t asf_readval(void *val, int ltype) char *guidstr(void *val) { - static char sbuf[32]; + static char sbuf[40]; sprintf(sbuf,"%08lX-%04X-%04X-", (long)*((uint32_t*)((char*)val+0)),