hashclash icon indicating copy to clipboard operation
hashclash copied to clipboard

diffpathconnect segfault

Open llamasoft opened this issue 1 month ago • 0 comments

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.

llamasoft avatar Jan 23 '25 15:01 llamasoft