[Bug 1935884] Re: avahi-daemon segfaults when a txt-record has no value
Paul White
1935884 at bugs.launchpad.net
Mon Aug 23 13:49:23 UTC 2021
'focal' is a release name and not the name of a
package currently in a supported release of Ubuntu.
** Changed in: focal (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to avahi in Ubuntu.
https://bugs.launchpad.net/bugs/1935884
Title:
avahi-daemon segfaults when a txt-record has no value
Status in Avahi:
Fix Released
Status in avahi package in Ubuntu:
New
Status in focal package in Ubuntu:
Invalid
Bug description:
This bug is reported upstream(
https://github.com/lathiat/avahi/issues/247 ) but ubuntu focal did not
fix it.
Version: avahi-daemon (0.7-4ubuntu7.1) on Focal Fossa
Service XML causing the segfault:
```
<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
<name replace-wildcards="yes">Printer</name>
<service protocol="ipv4">
<type>_ipp._tcp.</type>
<host-name>printer.local</host-name>
<port>631</port>
<txt-record>note=</txt-record>
</service>
</service-group>
```
The line `<txt-record>note=</txt-record>` causes avahi to segfault.
The Workaround I found was: `<txt-record>note=""</txt-record>` I.e. setting the `note` to an empty string.
It can fix to merge this ( https://github.com/lathiat/avahi/pull/226
).
This bug fixed on upstream version 0.8, so this bug remains on bionic
and focal.
To manage notifications about this bug go to:
https://bugs.launchpad.net/avahi/+bug/1935884/+subscriptions
More information about the foundations-bugs
mailing list