server-ref-list-20040729
authorAsanka Herath <asanka@mit.edu>
Thu, 29 Jul 2004 14:53:35 +0000 (14:53 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 29 Jul 2004 14:53:35 +0000 (14:53 +0000)
commit924fb5f5b96e4288a70bf64deee37886f78e2d38
tree43f594b02907d30e9cf44c70c4f878bc08dacf7f
parent2395eb60757025a47b5d729948baf1951cc4467a
server-ref-list-20040729

There was a race condition where between a thread calling cm_GetServerList and using the returned server list, another
thread could free the server list.  Now cm_GetServerList duplicates the server list with proper locks held.  Callers of
cm_GetServerList call cm_FreeServerList to free the returned list.
src/WINNT/afsd/cm_conn.c