CCacheServer crashes iterating over creds which have been destroyed
authorAlexandra Ellwood <lxs@mit.edu>
Thu, 10 Jul 2008 20:17:51 +0000 (20:17 +0000)
committerAlexandra Ellwood <lxs@mit.edu>
Thu, 10 Jul 2008 20:17:51 +0000 (20:17 +0000)
commitc144ea40b4fa1dfa1fb405022bd92010c8cd018e
treecf58617a79aa3466bd1c233d017985a362f48704
parenta8e308c6edb4af85236a97f019dda6718d76afde
CCacheServer crashes iterating over creds which have been destroyed

ccs_list_release was trying to manually delete the iterators with a
broken for loop which skipped iterators.  Since the iterators were referenced
by the client, when the client exited it would tell the iterators to release
themselves.  The orphaned itertors would attempt to remove themselves from
their list (which had been released) resulting in a crash.

ticket: new

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20510 dc483132-0cff-0310-8789-dd5450dbe970
src/ccapi/server/ccs_list_internal.c