]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
auth: Fix LDAP user iteration to not access already freed memory
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Tue, 26 Jun 2018 20:50:03 +0000 (23:50 +0300)
committerAki Tuomi <aki.tuomi@open-xchange.com>
Wed, 27 Jun 2018 12:06:24 +0000 (12:06 +0000)
commit90bd9600a0e38e55c02c6266c1270fdd4138c07d
treed5e52947ca70f690b887b328fe6ea54c7c828087
parent0aeddafb0d047a3edbdfaf13417043102e5abff7
auth: Fix LDAP user iteration to not access already freed memory

db_ldap_request_free() was called on already freed request. Changed to use
auth_request's pool to fix this, since the request is correctly referenced.
src/auth/userdb-ldap.c