summaryrefslogtreecommitdiff
path: root/net/decnet
diff options
context:
space:
mode:
authorAlexander Potapenko <glider@google.com>2017-06-06 16:56:54 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-07-05 15:37:13 +0300
commite79948e2d90bfe19267b35850c83c7cd98a78a60 (patch)
treebcf0811c5d148cd861d237cdaec5bc840f1c7c31 /net/decnet
parentd68a4e380ff55d2c9fe630ec7cb984bb57eeb6b3 (diff)
downloadlinux-e79948e2d90bfe19267b35850c83c7cd98a78a60.tar.xz
net: don't call strlen on non-terminated string in dev_set_alias()
[ Upstream commit c28294b941232931fbd714099798eb7aa7e865d7 ] KMSAN reported a use of uninitialized memory in dev_set_alias(), which was caused by calling strlcpy() (which in turn called strlen()) on the user-supplied non-terminated string. Signed-off-by: Alexander Potapenko <glider@google.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/decnet')
0 files changed, 0 insertions, 0 deletions