summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2013-12-05 17:53:50 +0300
committerBrian Norris <computersforpeace@gmail.com>2014-03-10 22:42:21 -0700
commitb4c233057771581698a13694ab6f33b48ce837dc (patch)
tree6d74a193de02e9e531bcc3981e15373dd49894fa /Makefile
parentf5e00838e83f6fc93f42c7a01b0c612031955b31 (diff)
downloadop-kernel-dev-b4c233057771581698a13694ab6f33b48ce837dc.zip
op-kernel-dev-b4c233057771581698a13694ab6f33b48ce837dc.tar.gz
mtd: sm_ftl: heap corruption in sm_create_sysfs_attributes()
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>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud