Re: [exim-dev] [PATCH] DMARC: fix use-after-free in dmarc_dns_lookup

2022-10-18 Thread Heiko Schlittermann via Exim-dev
Hi Lorenz, Lorenz Brun via Exim-dev (Fr 14 Okt 2022 21:02:51 CEST): > This fixes a use-after-free in dmarc_dns_lookup where the result > of dns_lookup in dnsa is freed before the required data is copied out. > > Fixes: 9258363 ("DNS: explicit alloc/free of workspace") … Thanks for the fix, it

[exim-dev] [PATCH] DMARC: fix use-after-free in dmarc_dns_lookup

2022-10-18 Thread Lorenz Brun via Exim-dev
This fixes a use-after-free in dmarc_dns_lookup where the result of dns_lookup in dnsa is freed before the required data is copied out. Fixes: 9258363 ("DNS: explicit alloc/free of workspace") --- src/src/dmarc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git