]> git.ipfire.org Git - thirdparty/strongswan.git/commit
auth-cfg: Fix crash after several reauthentications with multiple authentication...
authorTobias Brunner <tobias@strongswan.org>
Thu, 11 Sep 2014 15:33:52 +0000 (17:33 +0200)
committerTobias Brunner <tobias@strongswan.org>
Thu, 11 Sep 2014 15:52:37 +0000 (17:52 +0200)
commit8ca9a67fac597246cefaeaa3932446b6d053afc7
tree3be6d066871f90254130c38c35c373eb3838707f
parentea50394bf1853627920d7f9028b3749172467424
auth-cfg: Fix crash after several reauthentications with multiple authentication rounds

Due to the issue described in c641974, purge() inadvertently destroyed
CA certificates that should have been kept (while the pointer to these
objects remained in the array).  This lead to incorrect reference counts
and after a few reauthentications with multiple authentication rounds,
which cause calls to purge(TRUE), to crashes.
src/libstrongswan/credentials/auth_cfg.c