forked from samtools/htslib
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix cram_encode fuzzer issue caused by negative reference lengths.
Introduced in 24e4e31 with the cache of the LN_length field. We now validate this as positive. The check in cram_encode.c should now not be necessary, but it's fixed in two places incase we ever get this cropping up via another route. Credit to OSS_Fuzz Fixes oss-fuzz issue 382922241
- Loading branch information
1 parent
a662866
commit c705bec
Showing
3 changed files
with
13 additions
and
2 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
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