mDNSResponder spins checking interfaces
There's a bug in mdnsd causing it to spin in a tight loop when checking interfaces. I can easily reproduce it just by moving my laptop out of the range of my wifi - as soon as it loses connectivity, mdnsd starts spinning.
The culprit is SetupInterfaceList() in mDNSPosix/mDNSPosix.c, where it just continues processing the same interface over and over again if the interface index is 0.
Updated by Electric Monk 7 months ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit dc5774e5554edd469013b4fe1c42fbd63f5212e1 Author: Hans Rosenfeld <email@example.com> Date: 2022-01-23T08:37:00.000Z 14354 mDNSResponder spins checking interfaces Reviewed by: Yuri Pankov <firstname.lastname@example.org> Reviewed by: Toomas Soome <email@example.com> Approved by: Garrett D'Amore <firstname.lastname@example.org>