aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2013-12-05 17:53:50 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-13 13:59:45 +0200
commit67876f85f8cd0282c652a14e227e16121dc54ed8 (patch)
treeccad1d97c95852dd3c3cac5a2d5eb80f2f65259c /net/lapb/lapb_timer.c
parentb5c4957067ada52d90ac2b5b52e56999aae2b4d5 (diff)
mtd: sm_ftl: heap corruption in sm_create_sysfs_attributes()
commit b4c233057771581698a13694ab6f33b48ce837dc upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions