Skip to content

Commit 77117c2

Browse files
wcawijngaardsk0ekk0ek
authored andcommitted
Review fix parse of type RRSIG in unknown RR format.
1 parent f530535 commit 77117c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/generic/types.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1580,7 +1580,7 @@ static int32_t check_rrsig_rr(
15801580
(r = check(&c, check_name(parser, type, &f[7], o+c, n-c))))
15811581
return r;
15821582

1583-
if (c != n)
1583+
if (c > n)
15841584
SYNTAX_ERROR(parser, "Invalid %s", NAME(type));
15851585
return accept_rr(parser, type, rdata);
15861586
}

0 commit comments

Comments
 (0)