Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix integer overflow in cram_compress_block2
The figure used here is somewhat arbitrary as it's simply a marker for something considerably worse than no compression, given it's used in places where the compression wasn't applied or fails. Although sz is long, it may get other modifiers and the CRAM block size is int so UINT_MAX seems like a natural "larger than possible" value to use. Credit to OSS-Fuzz Fixes oss-fuzz 64616
- Loading branch information