Resolve "fix initialisation of local. in isdotlocal in dig" [v9_18]
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.
Backport of !7213 (merged)
Closes #3737 (closed)
Edited by Michał Kępień