dnsmasq segfaults on cnames referring to themselves
Bug #1782362 reported by
Frank Klaassen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dnsmasq (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Trusty |
Won't Fix
|
Undecided
|
Unassigned | ||
Xenial |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
If one would add a CNAME-record that would point to itself like so:
CNAME=test.
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.
Segfault on 16.04 / dnsmasq 2.75:
dnsmasq[21097]: segfault at 7ffc4bf90ff8 ip 00007f268bf7ebbc sp 00007ffc4bf90ff0 error 6 in libc-2.
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.
Changed in dnsmasq (Ubuntu): | |
status: | New → Fix Released |
To post a comment you must log in.
This was fixed upstream, in release 2.77.
Simon.
On 18/07/18 14:59, Frank Klaassen wrote: example. com,test. example. com 19.so[7f7c60c5e 000+1be000] 23.so[7f268befd 000+1c0000] 16.04.5
> Public bug reported:
>
> If one would add a CNAME-record that would point to itself like so:
> CNAME=test.
>
> 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.
>
> Segfault on 16.04 / dnsmasq 2.75:
> dnsmasq[21097]: segfault at 7ffc4bf90ff8 ip 00007f268bf7ebbc sp 00007ffc4bf90ff0 error 6 in libc-2.
>
>
> 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.
>
> ** Affects: dnsmasq (Ubuntu)
> Importance: Undecided
> Status: New
>