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.
This commit is contained in:
Anshul Maheshwari 2014-07-23 11:58:38 +05:30
parent 2894bcd7ff
commit 1a479a7199

View File

@ -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)),