Pull request 1769: 5584-invalid-host-panic

Merge in DNS/adguard-home from 5584-invalid-host-panic to master

Updates #5584.

Squashed commit of the following:

commit a09b59e279089c86b785b3c839dff10b3f327779
Author: Eugene Burkov <E.Burkov@AdGuard.COM>
Date:   Tue Mar 14 17:05:12 2023 +0300

    all: upd golibs, add test
This commit is contained in:
Eugene Burkov
2023-03-14 17:23:01 +03:00
parent 595484e0b3
commit c6706445c9
4 changed files with 30 additions and 18 deletions

View File

@@ -23,6 +23,13 @@ See also the [v0.107.27 GitHub milestone][ms-v0.107.27].
NOTE: Add new changes BELOW THIS COMMENT.
-->
### Fixed
- Panic caused by empty top-level domain name label in `/etc/hosts` files
([#5584]).
[#5584]: https://github.com/AdguardTeam/AdGuardHome/issues/5584
<!--
NOTE: Add new changes ABOVE THIS COMMENT.
-->