Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More CRAM fuzz fixes (integer overflows) #1713

Merged
merged 2 commits into from
Dec 4, 2023

Conversation

jkbonfield
Copy link
Contributor

A couple minor fuzz fixes.

Credit to OSS-Fuzz
Fixes oss-fuzz 64646
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
@daviesrob daviesrob merged commit 8db4cfa into samtools:develop Dec 4, 2023
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants