diff options
author | J. Bruce Fields | 2008-07-03 21:26:35 +0200 |
---|---|---|
committer | Linus Torvalds | 2008-07-03 21:46:56 +0200 |
commit | b620754bfeb8b0e0c6622b03d5ee2f1af1d3082f (patch) | |
tree | a91c96f8200904a0fe4224f05a43698b2f8cb4cb /MAINTAINERS | |
parent | Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus (diff) | |
download | kernel-qcow2-linux-b620754bfeb8b0e0c6622b03d5ee2f1af1d3082f.tar.gz kernel-qcow2-linux-b620754bfeb8b0e0c6622b03d5ee2f1af1d3082f.tar.xz kernel-qcow2-linux-b620754bfeb8b0e0c6622b03d5ee2f1af1d3082f.zip |
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>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions