mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
lockd: fix access beyond unterminated strings in prints
commit 93f38b6fae 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>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
This commit is contained in:
parent
e49b812f93
commit
75b4ee977f
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue