summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/bind/bind/fix-typo-in-CVE-2016-1285.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/bind/bind/fix-typo-in-CVE-2016-1285.patch')
-rw-r--r--meta/recipes-connectivity/bind/bind/fix-typo-in-CVE-2016-1285.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/bind/bind/fix-typo-in-CVE-2016-1285.patch b/meta/recipes-connectivity/bind/bind/fix-typo-in-CVE-2016-1285.patch
new file mode 100644
index 0000000000..5858c805df
--- /dev/null
+++ b/meta/recipes-connectivity/bind/bind/fix-typo-in-CVE-2016-1285.patch
@@ -0,0 +1,31 @@
1From a078c9eeae8c2db7edf2b15ff1d25a3a297c7512 Mon Sep 17 00:00:00 2001
2From: Evan Hunt <each@isc.org>
3Date: Wed, 17 Feb 2016 19:13:22 -0800
4Subject: [PATCH] [v9_9] fix backport error
5
6This fixes typo in the:
7CVE-2016-1285.patch [upstream commit 31e4657cf246e41d4c5c890315cb6cf89a0db25a]
8
9Upstream-Status: Backport
10
11Signed-off-by: Sona Sarmadi <sona.sarmadi@enea.com>
12---
13 lib/isccc/cc.c | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/lib/isccc/cc.c b/lib/isccc/cc.c
17index ffcd584..9c7d18c 100644
18--- a/lib/isccc/cc.c
19+++ b/lib/isccc/cc.c
20@@ -287,7 +287,7 @@ verify(isccc_sexpr_t *alist, unsigned char *data, unsigned int length,
21 if (!isccc_alist_alistp(_auth))
22 return (ISC_R_FAILURE);
23 hmd5 = isccc_alist_lookup(_auth, "hmd5");
24- if (!isccc_sexpr_binaryp(hmac))
25+ if (!isccc_sexpr_binaryp(hmd5))
26 return (ISC_R_FAILURE);
27 /*
28 * Compute digest.
29--
301.9.1
31