diff options
-rw-r--r-- | dns/unbound/Makefile | 1 | ||||
-rw-r--r-- | dns/unbound/files/patch-validator-autotrust.c | 13 |
2 files changed, 14 insertions, 0 deletions
diff --git a/dns/unbound/Makefile b/dns/unbound/Makefile index 9c392c8ee038..6c9414dcad90 100644 --- a/dns/unbound/Makefile +++ b/dns/unbound/Makefile @@ -7,6 +7,7 @@ PORTNAME= unbound PORTVERSION= 1.4.0 +PORTREVISION= 1 CATEGORIES= dns MASTER_SITES= http://unbound.net/downloads/ diff --git a/dns/unbound/files/patch-validator-autotrust.c b/dns/unbound/files/patch-validator-autotrust.c new file mode 100644 index 000000000000..95de254dce4c --- /dev/null +++ b/dns/unbound/files/patch-validator-autotrust.c @@ -0,0 +1,13 @@ +Index: validator/autotrust.c +=================================================================== +--- validator/autotrust.c (revision 1923) ++++ validator/autotrust.c (revision 1924) +@@ -100,6 +100,8 @@ + autr_get_num_anchors(struct val_anchors* anchors) + { + size_t res = 0; ++ if(!anchors) ++ return 0; + lock_basic_lock(&anchors->lock); + if(anchors->autr) + res = anchors->autr->probe.count; |