[Dnsmasq-discuss] segv using 2.75 with dnssec

Andre Heider a.heider at gmail.com
Tue Dec 8 07:48:10 GMT 2015


Hi Simon,

On Tue, Dec 8, 2015 at 12:08 AM, Simon Kelley <simon at thekelleys.org.uk> wrote:
> I think the problem may be the code-path in get_new_frec() which frees
> old frecs. Warping the time will make all the records suddenly old,
> and they'll get freed by the loop. The problem is that some will be
> freed by the recursive calls to free_frec within the loop and then
> free'd again by the loop.
>
> I think the solution is to add
>
> if (f->sentto == NULL)
>   return;
>
> at the very start of free_frec()
>
> Are you in a position to try that?

I am, and I'll try just that, thanks.

Regards,
Andre



More information about the Dnsmasq-discuss mailing list