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

Fix a minor memory leak in malformed CRAM EXTERNAL blocks. #1671

Merged
merged 1 commit into from
Sep 13, 2023

Conversation

jkbonfield
Copy link
Contributor

If we have an unofficial CRAM v4.0 encoded file and are attempting to use non-byte based data in an EXTERNAL encoded block, then we didn't free the cram_codecs structure when failing to parse and initialise.

Credit to OSS-Fuzz
Fixes oss-fuzz 62144

If we have an unofficial CRAM v4.0 encoded file and are attempting to
use non-byte based data in an EXTERNAL encoded block, then we didn't
free the cram_codecs structure when failing to parse and initialise.

Credit to OSS-Fuzz
Fixes oss-fuzz 62144
@vasudeva8 vasudeva8 merged commit 9683431 into samtools:develop Sep 13, 2023
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