diff options
author | J. Bruce Fields <bfields@redhat.com> | 2015-11-20 22:42:40 +0100 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2015-11-24 18:39:18 +0100 |
commit | 920dd9bb7d7cf9ae339e15240326a28a22f08a74 (patch) | |
tree | 09637a832f3c4d4d1291ab990e162e903811b4f7 /net/sunrpc | |
parent | nfsd: minor consolidation of mach_cred handling code (diff) | |
download | linux-920dd9bb7d7cf9ae339e15240326a28a22f08a74.tar.xz linux-920dd9bb7d7cf9ae339e15240326a28a22f08a74.zip |
nfsd: fix unlikely NULL deref in mach_creds_match
We really shouldn't allow a client to be created with cl_mach_cred set
unless it also has a principal name.
This also allows us to fail such cases immediately on EXCHANGE_ID as
opposed to waiting and incorrectly returning WRONG_CRED on the following
CREATE_SESSION.
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc')
0 files changed, 0 insertions, 0 deletions