diff options
author | Scott Mayhew | 2015-04-28 16:29:53 -0400 |
---|---|---|
committer | J. Bruce Fields | 2015-05-04 12:02:40 -0400 |
commit | 9507271d960a1911a51683888837d75c171cd91f (patch) | |
tree | 51ae70d0b2257ec9e32c78ade5e953dca00acdc2 /fs/nfsd/nfs4callback.c | |
parent | 8287f009bd95a5e548059dba62a67727bb9549cd (diff) |
svcrpc: fix potential GSSX_ACCEPT_SEC_CONTEXT decoding failures
In an environment where the KDC is running Active Directory, the
exported composite name field returned in the context could be large
enough to span a page boundary. Attaching a scratch buffer to the
decoding xdr_stream helps deal with those cases.
The case where we saw this was actually due to behavior that's been
fixed in newer gss-proxy versions, but we're fixing it here too.
Signed-off-by: Scott Mayhew <smayhew@redhat.com>
Cc: stable@vger.kernel.org
Reviewed-by: Simo Sorce <simo@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfs4callback.c')
0 files changed, 0 insertions, 0 deletions