unbound: update to version 1.9.0

Issue #320
parent 92999a62
......@@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=unbound
PKG_VERSION:=1.8.3
PKG_RELEASE:=2
PKG_VERSION:=1.9.0
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.unbound.net/downloads
PKG_MD5SUM:=2b692b8311edfad41e7d0380aac34576060d4176add81dc5db419c79b2a4cecc
PKG_MD5SUM:=415af94b8392bc6b2c52e44ac8f17935cc6ddf2cc81edfb47c5be4ad205ab917
PKG_BUILD_DEPENDS:=libexpat
PKG_BUILD_PARALLEL:=1
......
From 023411f97505c8c7e375112ad853b6a40ef848a6 Mon Sep 17 00:00:00 2001
From: Wouter Wijngaards <wouter@nlnetlabs.nl>
Date: Wed, 12 Dec 2018 16:03:05 +0000
Subject: [PATCH] - Fix for crash in dns64 module if response is null.
git-svn-id: file:///svn/unbound/trunk@5025 be551aaa-1e26-0410-a405-d3ace91eadb9
---
dns64/dns64.c | 1 +
doc/Changelog | 3 +++
2 files changed, 4 insertions(+)
diff --git a/dns64/dns64.c b/dns64/dns64.c
index 77e68900..f2834da2 100644
--- a/dns64/dns64.c
+++ b/dns64/dns64.c
@@ -628,6 +628,7 @@ handle_event_moddone(struct module_qstate* qstate, int id)
/* Store the response in cache. */
if ( (!iq || !iq->started_no_cache_store) &&
+ qstate->return_msg && qstate->return_msg->rep &&
!dns_cache_store(qstate->env, &qstate->qinfo, qstate->return_msg->rep,
0, 0, 0, NULL, qstate->query_flags))
log_err("out of memory");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment