summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorTobin C. Harding <me@tobin.cc>2017-02-15 06:27:23 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-03-06 11:16:59 +0300
commit8414fe11ba2ff2422c4b73bbef3b035a2562c88a (patch)
treee465234e548c8b8862bb41ab451afcc7703a4d94 /scripts/stackusage
parentca5af1f303d16cdf183354abffba46528b72a163 (diff)
downloadlinux-8414fe11ba2ff2422c4b73bbef3b035a2562c88a.tar.xz
staging: fbtft: Fix buffer overflow vulnerability
Module copies a user supplied string (module parameter) into a buffer using strncpy() and does not check that the buffer is null terminated. Replace call to strncpy() with call to strlcpy() ensuring that the buffer is null terminated. Signed-off-by: Tobin C. Harding <me@tobin.cc> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions