policy interfaces cann be NULL and updated stubby

This commit is contained in:
Willem Toorop 2022-09-08 19:12:40 +02:00
parent fe8dcd4aab
commit 4da3cd3eee
2 changed files with 3 additions and 1 deletions

View File

@ -3771,6 +3771,8 @@ fprintf(stderr, "in getdns_context_set_local_proxy_policy\n");
}
else if (r != GETDNS_RETURN_NO_SUCH_DICT_NAME)
goto error;
else
policies->policies[i].interface = NULL;
}
_getdns_proxy_policies_dereference(context->proxy_policies);
context->proxy_policies = policies;

2
stubby

@ -1 +1 @@
Subproject commit edb3d27fa51c1fd5aedae1b473bed20707de76cd
Subproject commit 3d5632852826736b14a5b86b6f19117f7bce97da