[Dnsmasq-discuss] [PATCH] nettle hash lookup

Petr Menšík pemensik at redhat.com
Mon Feb 26 20:12:21 GMT 2018


Hi again,

We at Fedora use dynamic linking for all libraries. We had breakage of
dnsmasq build more than once, because dnsmasq is using directly
nettle_hash array. If its size changes, dynamic linker will refuse to
link it. For that reason, accessing hash array directly makes trouble.
There is however special function that looks like very similar to
hash_find() of dnsmasq, that iterates the array internally. It requires
nettle 3.4, but I think that is already old enough. It would help
preventing any more linker conflict, if library data changes.

Do you think older library version should be supported as well?

Best regards,
-- 
Petr Menšík
Software Engineer
Red Hat, http://www.redhat.com/
email: pemensik at redhat.com  PGP: 65C6C973
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Do-not-use-nettle_hashes-use-function-for-hash-looku.patch
Type: text/x-patch
Size: 1192 bytes
Desc: not available
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20180226/716f595c/attachment.bin>


More information about the Dnsmasq-discuss mailing list