Hang if file length less than 192 bytes
oneumyvakin opened this issue · 1 comments
oneumyvakin commented
STEPS
- Create file of 191 byte:
12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901
- Try to execute code:
deepSig := ssdeep.NewSSDEEP()
sigStr := deepSig.Fuzzy("191.txt")
ACTUAL RESULT
- program hangs with high CPU usage
glaslos commented
Fixed.