vflash: modify out of memory bug

This commit is contained in:
hwg
2012-12-27 15:31:51 +08:00
parent 1bdf414f0e
commit 2b6bc330c1

View File

@@ -78,7 +78,7 @@ static long vflash_ioctl(struct file *file,
}
#else
char *tempBuf = (char *)kmalloc(512, GFP_KERNEL);
char bd_addr[6] = {0};
char bd_addr[7] = {0};
int i;
GetSNSectorInfo(tempBuf);