From 9359a704e50df111d4646c2233076dd56d545489 Mon Sep 17 00:00:00 2001 From: Scott Mayhew Date: Mon, 15 Mar 2021 16:46:12 -0400 Subject: libtirpc: disallow calling auth_refresh from clnt_call with RPCSEC_GSS Disallow calling auth_refresh from clnt_{dg,vc}_call if the client is using RPCSEC_GSS. Doing so can recurse back into clnt_{dg,vc}_call, where we'll self-deadlock waiting on the condition variable. Signed-off-by: Scott Mayhew Signed-off-by: Steve Dickson --- tirpc/rpc/auth_gss.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tirpc') diff --git a/tirpc/rpc/auth_gss.h b/tirpc/rpc/auth_gss.h index 5316ed6..f2af6e9 100644 --- a/tirpc/rpc/auth_gss.h +++ b/tirpc/rpc/auth_gss.h @@ -120,6 +120,8 @@ void gss_log_debug (const char *fmt, ...); void gss_log_status (char *m, OM_uint32 major, OM_uint32 minor); void gss_log_hexdump (const u_char *buf, int len, int offset); +bool_t is_authgss_client (CLIENT *); + #ifdef __cplusplus } #endif -- cgit v1.2.1