ssdeep-project / ssdeep

Fuzzy hashing API and fuzzy hashing tool
https://ssdeep-project.github.io/ssdeep/index.html
GNU General Public License v2.0
671 stars 115 forks source link

Crashes during recursive hashing if there is a file on the 7th level or deeper #12

Open vovcacik opened 6 years ago

vovcacik commented 6 years ago

Hi, when I run ssdeep recursively on a directory the program will crash if the target dir contains any file on 7th level or deeper.

More observations:

OS: Windows 10 Pro Reproducibility: 100 % ssdeep -V: 2.14.1

# won't crash
mkdir a\b\c\d\e\f
type nul > a\b\c\d\e\f\6th-level.txt
ssdeep -r a

# will crash
mkdir a\b\c\d\e\f\g
type nul > a\b\c\d\e\f\g\7th-level.txt
ssdeep -r a

# won't crash
hashdeep -r a
md5deep -r a
sha1deep -r a
sha256deep -r a
tigerdeep -r a
whirlpooldeep -r a
a4lg commented 6 years ago

Thanks for your report. I'll be investigating.

MaxPeal commented 4 years ago

any news on this?