Skip to content

-1 array index in ArrayCompare  #3

@mtholdefer

Description

@mtholdefer

I am running into an issue when I run your implementation of the fuzzy hash comparison. The idx2 parameter of ArrayCompare() is being passed in as -1, and then trying to reference data at index -1. This obviously crashes the program. I thought you might be interested in this issue, as when I run the ssdeep comparison in C on the same hashes it finds a match with score of 60 and does not crash.

The two hashes are:

384:Y2yjcXqXJ64g1WG8jWEMsKf9bfdkFtbH2:Yrjc6564wWT2sKf9b1kzC
192:lKEtF3iJUeF9dPdCmhsqMUGzw6c9PY1fR/rA:Y2yjcXqXJ64g1m

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions