]> git.ipfire.org Git - thirdparty/openldap.git/commit
ITS#9249 librewrite: fix malloc/free corruption
authorHoward Chu <hyc@openldap.org>
Sat, 22 Aug 2020 11:38:10 +0000 (12:38 +0100)
committerQuanah Gibson-Mount <quanah@openldap.org>
Wed, 26 Aug 2020 15:01:51 +0000 (15:01 +0000)
commitd0f6b6068c0f99e817513644f3b53c12116e2118
tree2bea77aba25a20318455a77f5370ae1544d9a81e
parenta6805505cc6d812f5c3f23198a8e323c8082aab0
ITS#9249 librewrite: fix malloc/free corruption

If substitution parsing fails, would attempt to free a mapping
that hadn't been allocated yet.

Also, on failure, caller in saslauthz would attempt to free a
rwinfo struct that hadn't been allocated.
libraries/librewrite/subst.c