Skip to content

dnsmasq: update DNS records after pruning DHCP leases

Erik Karlsson requested to merge erik-dnsmasq-update-dns-after-lease-prune into devel

Not doing so can result in a use after free since the name for DHCP derived DNS records is represented as a pointer into the DHCP lease table. Update will only happen when necessary since lease_update_dns tests internally on dns_dirty and the force argument is zero.

Solves this ticket:

https://project.iopsys.eu/issues/14015

Merge request reports