glaslos/ssdeep

Hang if file length less than 192 bytes

oneumyvakin opened this issue · 1 comments

STEPS

  1. Create file of 191 byte:
12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901
  1. Try to execute code:
deepSig := ssdeep.NewSSDEEP()
sigStr := deepSig.Fuzzy("191.txt")

ACTUAL RESULT

  • program hangs with high CPU usage

Fixed.