From a078c9eeae8c2db7edf2b15ff1d25a3a297c7512 Mon Sep 17 00:00:00 2001 From: Evan Hunt 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 --- 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