]> git.ipfire.org Git - thirdparty/bind9.git/commit
Properly initialise local_ndata in isdotlocal in dig
authorMark Andrews <marka@isc.org>
Tue, 13 Dec 2022 01:03:49 +0000 (12:03 +1100)
committerMark Andrews <marka@isc.org>
Tue, 13 Dec 2022 23:05:30 +0000 (23:05 +0000)
commit8ce163bbc5de7048b338638f89edd4bb261f4c17
tree4366202157bcff693c3266c21cd85954ce311c6e
parent5f6ec1fbe370c6daf1e8b734f049e90624be52dd
Properly initialise local_ndata in isdotlocal in dig

Remove the trailing '\0' so that the length field of the dns_name_t
structure is correct.  The old data just happens to work with
dns_name_issubdomain but would fail with dns_name_equal.
bin/dig/dig.c