Comment 1 for bug 1782362

Revision history for this message
Simon Kelley (simon-thekelleys) wrote : Re: [Bug 1782362] [NEW] dnsmasq segfaults on cnames referring to themselves

This was fixed upstream, in release 2.77.

Simon.

On 18/07/18 14:59, Frank Klaassen wrote:
> Public bug reported:
>
> If one would add a CNAME-record that would point to itself like so:
> CNAME=test.example.com,test.example.com
>
> This will result in a segfault and crash of the dnsmasq process.
>
> Segfault on 14.04 / dnsmasq 2.68:
> dnsmasq[22762]: segfault at 7ffe1727dff8 ip 00007f7c60cde755 sp 00007ffe1727dff0 error 6 in libc-2.19.so[7f7c60c5e000+1be000]
>
> Segfault on 16.04 / dnsmasq 2.75:
> dnsmasq[21097]: segfault at 7ffc4bf90ff8 ip 00007f268bf7ebbc sp 00007ffc4bf90ff0 error 6 in libc-2.23.so[7f268befd000+1c0000]
>
>
> Ubuntu versions affected: Ubuntu 14.04.5 LTS & Ubuntu 16.04.4 LTS
>
> dnsmasq version (14.04) 2.68-1ubuntu0.2
> dnsmasq version (16.04): 2.75-1ubuntu0.16.04.5
>
> ** Affects: dnsmasq (Ubuntu)
> Importance: Undecided
> Status: New
>