summaryrefslogtreecommitdiffstats
path: root/arch/m68k
diff options
context:
space:
mode:
authorAlexander Usyskin <alexander.usyskin@intel.com>2014-08-25 16:46:53 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-10-30 09:40:13 -0700
commit9d170b6818204ced9a1cc6cda1a48df409588660 (patch)
tree6165e96985ea719d1f6c3cdfae607f8f45462bd2 /arch/m68k
parent897ede3425a094a37cc6f1a34560de05aec7fdcd (diff)
downloadlinux-stable-9d170b6818204ced9a1cc6cda1a48df409588660.tar.gz
linux-stable-9d170b6818204ced9a1cc6cda1a48df409588660.tar.bz2
linux-stable-9d170b6818204ced9a1cc6cda1a48df409588660.zip
mei: bus: fix possible boundaries violation
commit cfda2794b5afe7ce64ee9605c64bef0e56a48125 upstream. function 'strncpy' will fill whole buffer 'id.name' of fixed size (32) with string value and will not leave place for NULL-terminator. Possible buffer boundaries violation in following string operations. Replace strncpy with strlcpy. Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com> Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/m68k')
0 files changed, 0 insertions, 0 deletions