diff options
author | Jeff Layton <jlayton@redhat.com> | 2009-04-20 12:23:25 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2009-04-20 12:23:25 -0400 |
commit | 8f840586d9ceba6d682ab424ae48a0cf08f7ea41 (patch) | |
tree | d0bd7aafc6a0fcfd2f60cf37bfda12fb6b177b79 | |
parent | 54ad86c29bcd40dbb6b9f1f9e611778add4227ea (diff) | |
download | ti-rpc-8f840586d9ceba6d682ab424ae48a0cf08f7ea41.tar.gz |
http://web.mit.edu/kerberos/advisories/MITKRB5-SA-2006-002-rpc.txtlibtirpc-0.1.12-rc1
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r-- | src/svc.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -78,6 +78,7 @@ static struct svc_callout extern rwlock_t svc_lock; extern rwlock_t svc_fd_lock; +extern struct svc_auth_ops svc_auth_gss_ops; static struct svc_callout *svc_find (rpcprog_t, rpcvers_t, struct svc_callout **, char *); @@ -715,6 +716,11 @@ svc_getreq_common (fd) SVC_DESTROY (xprt); break; } + else if ((xprt->xp_auth != NULL) && + (xprt->xp_auth->svc_ah_ops != &svc_auth_gss_ops)) + { + xprt->xp_auth = NULL; + } } while (stat == XPRT_MOREREQS); } |