hashclash
hashclash copied to clipboard
diffpathconnect segfault
I managed to run into a segfault in md5_diffpathconnect on these lines:
tsv[bit] = tunnelstrength[31][0];
bcv[bit] = colbitconditions[31][0];
tunnelstrength and colbitconditions are always declared, but they only only get populated if Qcondstart > tstep + 3. In my case, I was connecting paths at tstep 16 and didn't provide a Qcondstart argument so it defaulted to 18. The Qcondstart > tstep + 3
condition was false, so tunnelstrength
and colbitconditions
only contained zero-length vectors.
I've worked around the issue by manually specifying a higher Qcondstart.