commit | cd7df612b14ec1bf831a966ccaf076be0dae7404 | [log] [tgz] |
---|---|---|
author | Simon Kelley <simon@thekelleys.org.uk> | Sat Jan 20 00:10:55 2018 +0000 |
committer | Simon Kelley <simon@thekelleys.org.uk> | Sat Jan 20 00:10:55 2018 +0000 |
tree | c3559a801a8608a476248907027e885a9e23ef68 | |
parent | c1a4e257a3ee914d7a7dcf1ddb654a42c642ff78 [diff] |
Fix DNSSEC validation errors introduced in 4fe6744a220eddd3f1749b40cac3dfc510787de6
diff --git a/src/dnssec.c b/src/dnssec.c index a54a0b4..c47e335 100644 --- a/src/dnssec.c +++ b/src/dnssec.c
@@ -1610,7 +1610,7 @@ int type_covered; unsigned char *psav = p1; - if (rdlen < 18) + if (rdlen1 < 18) return 0; /* bad packet */ GETSHORT(type_covered, p1);