diff options
author | Amir Goldstein <amir73il@gmail.com> | 2018-09-28 20:41:48 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-11-13 22:17:02 +0300 |
commit | 5c22b67bc29defe0a68f603f22456ee5c1024cbe (patch) | |
tree | fcf5756fb51d18fd640d6df46132189adcf9034c /drivers | |
parent | 5727dbcd2628f30b7063c89f6b1eb028e9fef540 (diff) | |
download | linux-5c22b67bc29defe0a68f603f22456ee5c1024cbe.tar.xz |
lockd: fix access beyond unterminated strings in prints
commit 93f38b6fae0ea8987e22d9e6c38f8dfdccd867ee upstream.
printk format used %*s instead of %.*s, so hostname_len does not limit
the number of bytes accessed from hostname.
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions