diff options
author | Scott Mayhew <smayhew@redhat.com> | 2021-03-15 16:46:12 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2021-03-15 17:01:02 -0400 |
commit | 9359a704e50df111d4646c2233076dd56d545489 (patch) | |
tree | 06bcbfd25a13c5e51204e882a5f7fdbb84fb8940 /tirpc | |
parent | 70be47354154ea32e12af6dd9252fdc5c5e27815 (diff) | |
download | ti-rpc-9359a704e50df111d4646c2233076dd56d545489.tar.gz |
libtirpc: disallow calling auth_refresh from clnt_call with RPCSEC_GSSlibtirpc-1-3-2-rc1
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 <smayhew@redhat.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'tirpc')
-rw-r--r-- | tirpc/rpc/auth_gss.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 |