git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5e0083
)
mtd: sm_ftl: heap corruption in sm_create_sysfs_attributes()
author
Dan Carpenter
<dan.carpenter@oracle.com>
Thu, 5 Dec 2013 14:53:50 +0000
(17:53 +0300)
committer
Brian Norris
<computersforpeace@gmail.com>
Tue, 11 Mar 2014 05:42:21 +0000
(22:42 -0700)
We always put a NUL terminator one space past the end of the "vendor"
buffer. Walter Harms also pointed out that this should just use
kstrndup().
Fixes:
7d17c02a01a1
('mtd: Add new SmartMedia/xD FTL')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/sm_ftl.c
patch
|
blob
|
history
diff --cc
drivers/mtd/sm_ftl.c
Simple merge