mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
vflash: modify out of memory bug
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user