diff options
author | Amir Goldstein <amir73il@gmail.com> | 2018-09-28 20:41:48 +0300 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2018-10-29 23:58:04 +0300 |
commit | 93f38b6fae0ea8987e22d9e6c38f8dfdccd867ee (patch) | |
tree | a422a5a6985dfe2fe3ec75cd132eece3fd93616f /fs/lockd/clntlock.c | |
parent | bb6ad5572c0022e17e846b382d7413cdcf8055be (diff) | |
download | linux-93f38b6fae0ea8987e22d9e6c38f8dfdccd867ee.tar.xz |
lockd: fix access beyond unterminated strings in prints
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>
Diffstat (limited to 'fs/lockd/clntlock.c')
0 files changed, 0 insertions, 0 deletions