blob: a8744698db00d36ae85c201ea80b68153c1bb986 (
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
|
From 6bed6ea11b1880e0a078bd02c1d31d21f0540583 Mon Sep 17 00:00:00 2001
From: Mark Andrews <marka@isc.org>
Date: Thu, 29 Dec 2016 10:48:46 +1100
Subject: [PATCH] fix back port issue
This patch is needed for CVE-2016-9444 fix.
Upstream-Status: Backport [backport from v9_10_6_patch: https://source.isc.org/cgi-bin/gitweb.cgi?p=bind9.git;a=patch;h=6bed6ea11b1880e0a078bd02c1d31d21f0540583]
Signed-off-by: Sona Sarmadi <sona.sarmadi@enea.com>
---
lib/dns/message.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/dns/message.c b/lib/dns/message.c
index fe8e5d0..5b8166a 100644
--- a/lib/dns/message.c
+++ b/lib/dns/message.c
@@ -1639,7 +1639,7 @@ getsection(isc_buffer_t *source, dns_message_t *msg, dns_decompress_t *dctx,
((msg->flags & DNS_MESSAGEFLAG_TC) == 0) &&
!preserve_order &&
!auth_signed(section))
- DO_ERROR(DNS_R_FORMERR);
+ DO_FORMERR;
if (seen_problem)
return (DNS_R_RECOVERABLE);
--
1.9.1
|