mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2026-03-03 01:51:32 +00:00
Merge 688d97e9ed into 3d707f9173
This commit is contained in:
commit
9f94fb3f41
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user