SUNRPC: Obscure Kerberos session key
authorChuck Lever <chuck.lever@oracle.com>
Sun, 15 Jan 2023 17:20:48 +0000 (12:20 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 20 Feb 2023 14:20:34 +0000 (09:20 -0500)
commit01c4e326327a635e1fac75b1aedd2c2c1e8123b5
tree122a52c53273eba2c2d5e4e954c0e1988c6ab493
parent7f675ca7757bfeb70e19d187dc3be44deb836da8
SUNRPC: Obscure Kerberos session key

ctx->Ksess is never used after import has completed. Obscure it
immediately so it cannot be re-used or copied.

Tested-by: Scott Mayhew <smayhew@redhat.com>
Reviewed-by: Simo Sorce <simo@redhat.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
net/sunrpc/auth_gss/gss_krb5_mech.c