a9e6df4ffc
- apply fixes from Tom Yu for MITKRB5-SA-2006-003 (CVE-2006-6144) (#218456) Related: #218456
28 lines
639 B
Plaintext
28 lines
639 B
Plaintext
Index: src/lib/rpc/svc.c
|
|
===================================================================
|
|
*** src/lib/rpc/svc.c (revision 18864)
|
|
--- src/lib/rpc/svc.c (working copy)
|
|
***************
|
|
*** 437,442 ****
|
|
--- 437,444 ----
|
|
#endif
|
|
}
|
|
|
|
+ extern struct svc_auth_ops svc_auth_gss_ops;
|
|
+
|
|
static void
|
|
svc_do_xprt(SVCXPRT *xprt)
|
|
{
|
|
***************
|
|
*** 518,523 ****
|
|
--- 520,528 ----
|
|
if ((stat = SVC_STAT(xprt)) == XPRT_DIED){
|
|
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);
|
|
|