Skip to content
Commit 93f38b6f authored by Amir Goldstein's avatar Amir Goldstein Committed by J. Bruce Fields
Browse files

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: default avatarAmir Goldstein <amir73il@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent bb6ad557
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment