Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#71781 - [avahi] avahi-browse -a breaks with "Invalid service type" if a device sends a malformed service

Attached to Project: Arch Linux
Opened by Asger Hautop Drewsen (tyilo) - Monday, 09 August 2021, 12:41 GMT
Last edited by Jan Alexander Steffens (heftig) - Tuesday, 31 August 2021, 21:45 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
If a device on the network which advertises a malformed service <code>avahi-browse -a</code> breaks.

Additional info:
* package version: 0.8+20+gd1e71b3-1
* Upstream bug: https://github.com/lathiat/avahi/issues/212

Steps to reproduce:
* Have a device on the network which advertises a malformed service
* Run <code>avahi-browse --all</code>
* No services are listed and the following is output:
<pre>
$ avahi-browse --al
avahi_service_browser_new() failed: Invalid service type
</pre>

I have attached a patch which fixes it for me based on https://github.com/lathiat/avahi/issues/212#issuecomment-568099149
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Tuesday, 31 August 2021, 21:45 GMT
Reason for closing:  Fixed
Additional comments about closing:  avahi 0.8+22+gfd482a7-1

Loading...