]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-mail: istream-header-filter - Add refcount to hdr_buf
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Thu, 9 Oct 2025 11:54:39 +0000 (14:54 +0300)
committertimo.sirainen <timo.sirainen@open-xchange.com>
Mon, 13 Oct 2025 12:30:58 +0000 (12:30 +0000)
commit1f383819329d7637dc2f4a91b264af24a15f0256
treeed687d7c6b7ec13c99042d9960da5c8df7e071a0
parent47c53c4e5d88177870af6db7e52dd76efcb6eff4
lib-mail: istream-header-filter - Add refcount to hdr_buf

If more than one snapshot referred to the hdr_buf, it would have been
double-freed. This didn't seem to happen until the following changes.
src/lib-mail/istream-header-filter.c