We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6cd8a3b commit 8f19188Copy full SHA for 8f19188
src/generic/svcb.h
@@ -598,7 +598,7 @@ static int32_t parse_mandatory(
598
while (octets < rdata->octets) {
599
memcpy(&smaller_key, octets, sizeof(smaller_key));
600
smaller_key = be16toh(smaller_key);
601
- if (key < smaller_key)
+ if (key <= smaller_key)
602
break;
603
octets += 2;
604
}
@@ -692,7 +692,7 @@ static int32_t parse_mandatory_lax(
692
693
694
695
696
697
698
0 commit comments