projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bdf414
)
vflash: modify out of memory bug
author
hwg
<hwg@rock-chips.com>
Thu, 27 Dec 2012 07:31:51 +0000
(15:31 +0800)
committer
hwg
<hwg@rock-chips.com>
Thu, 27 Dec 2012 07:31:51 +0000
(15:31 +0800)
drivers/bluetooth/vflash.c
patch
|
blob
|
history
diff --git
a/drivers/bluetooth/vflash.c
b/drivers/bluetooth/vflash.c
index e889e823f7cb1367a33ef1a3dd7a539cc944ed71..266ea175f5c8e9a87ec75916f24b4dc7488c658d 100755
(executable)
--- a/
drivers/bluetooth/vflash.c
+++ b/
drivers/bluetooth/vflash.c
@@
-78,7
+78,7
@@
static long vflash_ioctl(struct file *file,
}
\r
#else
\r
char *tempBuf = (char *)kmalloc(512, GFP_KERNEL);
\r
- char bd_addr[
6
] = {0};
\r
+ char bd_addr[
7
] = {0};
\r
int i;
\r
\r
GetSNSectorInfo(tempBuf);
\r