We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b91e350 commit 0b9218aCopy full SHA for 0b9218a
src/generic/wks.h
@@ -224,7 +224,7 @@ static really_inline bool scan_service(
224
const int8_t *zero_mask = &zero_masks[32 - (length & 0xf)];
225
memcpy(&zero_mask0, zero_mask, 8);
226
memcpy(&zero_mask1, zero_mask+8, 8);
227
- uint8_t index = service_hash(key, length);
+ uint8_t index = service_hash(key & zero_mask0, length);
228
assert(index < 64);
229
230
input0 |= (input0 & letter_mask) >> 1;
0 commit comments