[Dnsmasq-discuss] Announce: dnsmasq-2.77rc4

Matthias Andree matthias.andree at gmx.de
Mon May 22 19:46:56 BST 2017


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.

:-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20170522/589b13d6/attachment.sig>


More information about the Dnsmasq-discuss mailing list