mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 18:28:25 +00:00
Fix DNSSEC validation errors introduced in 4fe6744a22
This commit is contained in:
@@ -1610,7 +1610,7 @@ static int prove_non_existence(struct dns_header *header, size_t plen, char *key
|
||||
int type_covered;
|
||||
unsigned char *psav = p1;
|
||||
|
||||
if (rdlen < 18)
|
||||
if (rdlen1 < 18)
|
||||
return 0; /* bad packet */
|
||||
|
||||
GETSHORT(type_covered, p1);
|
||||
|
||||
Reference in New Issue
Block a user