Ticket #64 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

bonjour compat API needs more love

Reported by: lennart Owned by: lathiat
Milestone: Avahi 0.6.16 Component: avahi-compat-libdns_sd
Keywords: Cc:

Description

Quoting a mail form JP Roseavear:

Attached is a patch to improve mDNSResponder compatability.  For
DNSServiceBrowse and DNSServiceBrowser the apple lib returns an error if
ret_sdref is NULL and always guarantees the ret_sdref does not return
garbage (worst case it sets it to NULL).  Apps definitely rely on the
latter, see https://bugzilla.novell.com/show_bug.cgi?id=213891 for
gphoto2 at least.  Registering a service with an empty regtype should
also fail gracefully.

I remove the callback assert because apple allows that as well (maybe
not so good for avahi?)

Attachments

avahi-mdns-compat-browse-register.patch (0.9 kB) - added by lennart 5 years ago.

Change History

Changed 5 years ago by lennart

Changed 5 years ago by lathiat

lennart - any reason not to apply this?

Changed 5 years ago by lennart

Looks fine to me.

Changed 5 years ago by lathiat

  • owner changed from lennart to lathiat
  • status changed from new to assigned
  • milestone set to Avahi 0.6.16

Changed 5 years ago by lathiat

  • status changed from assigned to closed
  • resolution set to fixed

Fixed in R1345

Note: See TracTickets for help on using tickets.