From 4da3cd3eeedc88f3de2b7f88514075e46eed33e6 Mon Sep 17 00:00:00 2001 From: Willem Toorop Date: Thu, 8 Sep 2022 19:12:40 +0200 Subject: [PATCH] policy interfaces cann be NULL and updated stubby --- src/context.c | 2 ++ stubby | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/context.c b/src/context.c index 742eb418..5f2e80ba 100644 --- a/src/context.c +++ b/src/context.c @@ -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; diff --git a/stubby b/stubby index edb3d27f..3d563285 160000 --- a/stubby +++ b/stubby @@ -1 +1 @@ -Subproject commit edb3d27fa51c1fd5aedae1b473bed20707de76cd +Subproject commit 3d5632852826736b14a5b86b6f19117f7bce97da