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

Pàgina inicial
Delete this message
Reply to this message
Autor: Heiko Schlittermann
Data:  
A: exim-dev
Assumpte: Re: [exim-dev] [PATCH] DMARC: fix use-after-free in dmarc_dns_lookup
Hi Lorenz,

Lorenz Brun via Exim-dev <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 is applied on to master:

commit 12fb3842f81bcbd4a4519d5728f2d7e0e3ca1445 (HEAD -> master, origin/master, origin/HEAD)
Author: Lorenz Brun <lorenz@???>
Date: Fri Oct 14 21:02:51 2022 +0200

    DMARC: fix use-after-free in dmarc_dns_lookup


    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")



--
Heiko