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

Reply via email to