Commit cd7df612 authored by Simon Kelley's avatar Simon Kelley

Fix DNSSEC validation errors introduced in 4fe6744a

parent c1a4e257
...@@ -1610,7 +1610,7 @@ static int prove_non_existence(struct dns_header *header, size_t plen, char *key ...@@ -1610,7 +1610,7 @@ static int prove_non_existence(struct dns_header *header, size_t plen, char *key
int type_covered; int type_covered;
unsigned char *psav = p1; unsigned char *psav = p1;
if (rdlen < 18) if (rdlen1 < 18)
return 0; /* bad packet */ return 0; /* bad packet */
GETSHORT(type_covered, p1); GETSHORT(type_covered, p1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment