Closed andycowie closed 3 years ago
Indeed. Thank you. Your fix is correct.
I've fixed that (and analogous bugs in some related functions in the same file) in the dev code, and the fix will appear in the next HMMER and Infernal releases.
Thanks, that's great.
Reading Stockholm MSA for hmmbuild fails intermittently (around 1%-4% failure rate) when reading a Stockholm file with an empty description field like this:
It fails with a heap-buffer-overflow from a strlen call here.
This seems to be fixed by changing esl_msa.c line 1252 to use memstrdup for a zero length string, changing
n > 0
ton >= 0
, like this: