SAM
SAM copied to clipboard
Fix infinite loop from some inputs
Example input: "AAAAAAAAHHHHHHHH!!!!!!!!"
Infinite loop was here: https://github.com/vidarh/SAM/blob/c86ea395743b8ea4ad071c2167fd1f7f96648f7b/src/sam.c#L156
Looks like 'ML' figured it out many years ago