-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix vcf_var_has_info_key()'s key comparison
Previously any key would be returned as being matched by the empty "key=value" at the start of ";HRUN=3" (which is invalid VCF). This resulted in a crash when e.g. lofreq_filter.c looking for "SB" expected a value but in this case the returned sb_char was NULL. Crash fixed by no longer returning a hit for "SB" in this case. (Also convert a couple of previously missed legacy samtools API usages.)
- Loading branch information
Showing
2 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters