Skip to content

diffpathconnect segfault #49

Description

@llamasoft

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions