Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move the "start<1" error check in cram_get_ref to before thread locking.
This fixes #1329, which was discovered by code scanning and reported by Github @ryancaicse. I do not believe it is likely to be triggered, but the value of this file can sometimes come from a CRAM file so it is possible malformed data could lead to a threading deadlock. (Untested)
- Loading branch information