This commit is contained in:
Yi Liu 2026-03-02 17:05:20 -08:00 committed by GitHub
commit 9f94fb3f41
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -74,6 +74,9 @@ ns_lookup_list_search(char **list, const char *host)
{
size_t host_len = strlen(host), suffix_len;
if (!list)
return false;
while (*list) {
if (*list[0] == '*') {
suffix_len = strlen(*list) - 1;