Am 21.05.2017 um 23:24 schrieb Simon Kelley:
> I think my code has beaten the compiler.
>
>
> opt->source_netmask  will remain set to zero on any code path which
> doesn't set addrp and inhibit the execution of the memcpy()

Wasn't obvious to me, and chances are that clang either didn't check, or
could (other than GCC) prove that it was safe.

> Nevertheless I'll add a check, it took me 10 minutes to conince myself
> the able was true.

:-)


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Reply via email to