]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
dict-sql: Fix crash if dict iteration is destroyed early
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Fri, 14 Aug 2020 21:56:36 +0000 (00:56 +0300)
committertimo.sirainen <timo.sirainen@open-xchange.com>
Wed, 23 Sep 2020 11:33:34 +0000 (11:33 +0000)
commit645a30a6c74bdfe3cb167382c275222cb9f7a5f5
treebc2564c2620fe9b4143b08a1163190faed6dbeab
parentdba3d866254fedb48e1eb9f71c95509459f6b007
dict-sql: Fix crash if dict iteration is destroyed early

If the iteration callback is still called after the iterator is freed, the
callback accesses freed memory and crashes.
src/lib-dict-backend/dict-sql.c