Closed ErikLarsson82 closed 4 years ago
Is it correct to assume that we can no longer get results with a pattern of length 32? Since the code is checking for patternLen <= 31
?
No, @alexsaaf I just tried specifically pattern length of 31, 32, 33 in a local test and that worked fine. The fix is pretty crude and I found the break point by trial and error, "wrapping" before the overflow happens. I'd love to hear comments on the code if you have them.
Solving these issues: