]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - package/dnsmasq/0002-Fix-DNSSEC-validation-errors-introduced-in-4fe6744a2.patch
dbus: bump to version 1.12.6
[coffee/buildroot.git] / package / dnsmasq / 0002-Fix-DNSSEC-validation-errors-introduced-in-4fe6744a2.patch
1 From cd7df612b14ec1bf831a966ccaf076be0dae7404 Mon Sep 17 00:00:00 2001
2 From: Simon Kelley <simon@thekelleys.org.uk>
3 Date: Sat, 20 Jan 2018 00:10:55 +0000
4 Subject: [PATCH] Fix DNSSEC validation errors introduced in
5  4fe6744a220eddd3f1749b40cac3dfc510787de6
6
7 Signed-off-by: Baruch Siach <baruch@tkos.co.il>
8 ---
9 Upstream status: upstream commit cd7df612b14ec
10
11  src/dnssec.c | 2 +-
12  1 file changed, 1 insertion(+), 1 deletion(-)
13
14 diff --git a/src/dnssec.c b/src/dnssec.c
15 index a54a0b4f14cf..c47e33569f96 100644
16 --- a/src/dnssec.c
17 +++ b/src/dnssec.c
18 @@ -1610,7 +1610,7 @@ static int prove_non_existence(struct dns_header *header, size_t plen, char *key
19                        int type_covered;
20                        unsigned char *psav = p1;
21                        
22 -                      if (rdlen < 18)
23 +                      if (rdlen1 < 18)
24                          return 0; /* bad packet */
25  
26                        GETSHORT(type_covered, p1);
27 -- 
28 2.15.1
29