]> 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:30:51 +0000 (10:30 +1100)
commit7258465d28bd90e8a5a246ce3201fac727723033
tree8bdf2decd6540924a103777a2df1ae23fb60c2f5
parent219e808ff27a6209699eda6151e14cee79f3d641
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.

(cherry picked from commit 8ce163bbc5de7048b338638f89edd4bb261f4c17)
bin/dig/dig.c