Public bug reported:

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.

** Affects: avahi (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: avahi bionic focal

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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 package in Ubuntu:
  New

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/ubuntu/+source/avahi/+bug/1935884/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to