summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/bind/bind/fix-typo-in-CVE-2016-1285.patch
blob: 5858c805dffac199298784b3e5ea7a2bbe781baf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From a078c9eeae8c2db7edf2b15ff1d25a3a297c7512 Mon Sep 17 00:00:00 2001
From: Evan Hunt <each@isc.org>
Date: Wed, 17 Feb 2016 19:13:22 -0800
Subject: [PATCH] [v9_9] fix backport error

This fixes typo in the: 
CVE-2016-1285.patch [upstream commit 31e4657cf246e41d4c5c890315cb6cf89a0db25a]

Upstream-Status: Backport

Signed-off-by: Sona Sarmadi <sona.sarmadi@enea.com>
---
 lib/isccc/cc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/isccc/cc.c b/lib/isccc/cc.c
index ffcd584..9c7d18c 100644
--- a/lib/isccc/cc.c
+++ b/lib/isccc/cc.c
@@ -287,7 +287,7 @@ verify(isccc_sexpr_t *alist, unsigned char *data, unsigned int length,
 	if (!isccc_alist_alistp(_auth))
 		return (ISC_R_FAILURE);
 	hmd5 = isccc_alist_lookup(_auth, "hmd5");
-	if (!isccc_sexpr_binaryp(hmac))
+	if (!isccc_sexpr_binaryp(hmd5))
 		return (ISC_R_FAILURE);
 	/*
 	 * Compute digest.
-- 
1.9.1