[Dnsmasq-discuss] Patch to cache SRV records - updated version.

Paul Smith paul at mad-scientist.net
Thu Dec 20 22:03:53 GMT 2018


On Thu, 2018-12-20 at 12:20 -0800, Jeremy Allison wrote:
> Sigh. Found a bug when testing. free_mx_srv_record()
> wasn't checking for NULL pointers on free(),
> which can be the case for negative cache
> records.

C has required free(NULL) to be a no-op since ANSI C 1989/ISO C 1990...
Is dnsmasq still targetting C runtimes that don't adhere to that
standard?

Just curious...




More information about the Dnsmasq-discuss mailing list