Fix segfault when sweeping realms and communities
authorJennifer Richards <jennifer@painless-security.com>
Thu, 22 Feb 2018 18:48:09 +0000 (13:48 -0500)
committerJennifer Richards <jennifer@painless-security.com>
Thu, 22 Feb 2018 18:48:09 +0000 (13:48 -0500)
commit3485c59e1faa3df7df6064059388e6502d4c77c8
tree78583967453485696ffd1ad91a02709d1a0d3712
parent3d5b32212a270065a09f6c605ec0632275ed5b86
Fix segfault when sweeping realms and communities

Mutation of linked lists led to dereferencing a "next" pointer when the
last item in the list was removed. Fixed in three places.
common/tr_comm.c
common/tr_idp.c
common/tr_rp.c