Skip to content

Commit aeb5166

Browse files
wcawijngaardsk0ekk0ek
authored andcommitted
Review fix for check_nsec wrong block length.
1 parent 77117c2 commit aeb5166

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
@@ -193,7 +193,7 @@ static really_inline ssize_t check_nsec(
193193

194194
while ((count + 2) < length) {
195195
const size_t window = (size_t)data[0];
196-
const size_t blocks = 1 + (size_t)data[1];
196+
const size_t blocks = (size_t)data[1];
197197
if (window < last_window || !window != !last_window)
198198
SYNTAX_ERROR(parser, "Invalid %s in %s, windows are out-of-order",
199199
NAME(field), NAME(type));

0 commit comments

Comments
 (0)