1
linux/net/sunrpc/auth_gss
J. Bruce Fields b620754bfe svcrpc: fix handling of garbage args
To return garbage_args, the accept_stat must be 0, and we must have a
verifier.  So we shouldn't be resetting the write pointer as we reject
the call.

Also, we must add the two placeholder words here regardless of success
of the unwrap, to ensure the output buffer is left in a consistent state
for svcauth_gss_release().

This fixes a BUG() in svcauth_gss.c:svcauth_gss_release().

Thanks to Aime Le Rouzic for bug report, debugging help, and testing.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Tested-by: Aime Le Rouzic <aime.le-rouzic@bull.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-07-03 12:46:56 -07:00
..
auth_gss.c Merge branch 'devel' 2008-04-24 14:01:02 -04:00
gss_generic_token.c sunrpc: make token header values less confusing 2008-04-23 16:13:41 -04:00
gss_krb5_crypto.c Correct grammer/typos in dprintks 2008-04-23 16:13:40 -04:00
gss_krb5_mech.c sunrpc: return error if unsupported enctype or cksumtype is encountered 2007-11-17 13:08:46 -05:00
gss_krb5_seal.c sunrpc: make token header values less confusing 2008-04-23 16:13:41 -04:00
gss_krb5_seqnum.c gss_krb5: consistently use unsigned for seqnum 2008-04-23 16:13:41 -04:00
gss_krb5_unseal.c gss_krb5: consistently use unsigned for seqnum 2008-04-23 16:13:41 -04:00
gss_krb5_wrap.c sunrpc: make token header values less confusing 2008-04-23 16:13:41 -04:00
gss_mech_switch.c [SUNRPC]: net/* NULL noise 2008-03-17 22:48:03 -07:00
gss_spkm3_mech.c knfsd: rpc: add gss krb5 and spkm3 oid values 2007-07-17 10:23:08 -07:00
gss_spkm3_seal.c sunrpc: make token header values less confusing 2008-04-23 16:13:41 -04:00
gss_spkm3_token.c Merge branch 'master' of /home/trondmy/kernel/linux-2.6/ 2007-02-12 22:43:25 -08:00
gss_spkm3_unseal.c Merge branch 'master' of /home/trondmy/kernel/linux-2.6/ 2007-02-12 22:43:25 -08:00
Makefile
svcauth_gss.c svcrpc: fix handling of garbage args 2008-07-03 12:46:56 -07:00