Created attachment 1907017[details]
candidate patch
Candidate fix ensuring server_domains_cleanup() is called before every cleanup_servers() unconditionally. It is required in any case server might be removed.
This is a regression caused by bug #1919894 change, which in some cases produces dangling pointer. That is not easily detected, but can cause endless loop. Previous change were incomplete for few cases of changing used servers, including just /etc/resolv.conf server changes.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (Moderate: dnsmasq security and bug fix update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2022:7633
Created attachment 1907017 [details] candidate patch Candidate fix ensuring server_domains_cleanup() is called before every cleanup_servers() unconditionally. It is required in any case server might be removed.