summaryrefslogtreecommitdiffstats
path: root/src/lib/rpc/svc_auth_gssapi.c
diff options
context:
space:
mode:
authorEzra Peisach <epeisach@mit.edu>1997-10-21 18:33:55 +0000
committerEzra Peisach <epeisach@mit.edu>1997-10-21 18:33:55 +0000
commita3522a0e98c4ddebfc599a8eaa1a3e81aad8a7e9 (patch)
tree323eb044b83ac9e0e23afaf136faf02586425d53 /src/lib/rpc/svc_auth_gssapi.c
parentec00e91dc3c1c27e407b5869a20ab9e7e6b61220 (diff)
downloadkrb5-a3522a0e98c4ddebfc599a8eaa1a3e81aad8a7e9.tar.gz
krb5-a3522a0e98c4ddebfc599a8eaa1a3e81aad8a7e9.tar.xz
krb5-a3522a0e98c4ddebfc599a8eaa1a3e81aad8a7e9.zip
Fix to not lose entries in the chain linked client list
A pointer was not being updated resulting in the situation where random clients would sudenly fail with a misc. rpc. error as the client handle could not be found. The scenario required three active clients to trigger the problem. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10241 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/rpc/svc_auth_gssapi.c')
-rw-r--r--src/lib/rpc/svc_auth_gssapi.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/lib/rpc/svc_auth_gssapi.c b/src/lib/rpc/svc_auth_gssapi.c
index 20bf95a741..d69a43ecb4 100644
--- a/src/lib/rpc/svc_auth_gssapi.c
+++ b/src/lib/rpc/svc_auth_gssapi.c
@@ -5,6 +5,14 @@
* $Source$
*
* $Log$
+ * Revision 1.43 1997/10/21 18:33:55 epeisach
+ * Fix to not lose entries in the chain linked client list.
+ *
+ * A pointer was not being updated resulting in the situation where
+ * random clients would sudenly fail with a misc. rpc. error as the client
+ * handle could not be found. The scenario required three active clients
+ * to trigger the problem.
+ *
* Revision 1.42 1996/12/04 17:47:18 bjaspan
* * Various changes to allow channel bindings to work with both UDP
* and TCP cleanly [krb5-libs/180]:
@@ -1015,8 +1023,10 @@ static void destroy_client(client_data)
c2->next = c->next;
free(c);
goto done;
- } else
+ } else {
+ c2 = c;
c = c->next;
+ }
}
PRINTF(("destroy_client: client_handle delete failed\n"));
abort();