Skip to content

Improve cram-size error handling.#2313

Merged
whitwham merged 1 commit into
samtools:developfrom
daviesrob:cram-size
Feb 26, 2026
Merged

Improve cram-size error handling.#2313
whitwham merged 1 commit into
samtools:developfrom
daviesrob:cram-size

Conversation

@daviesrob

Copy link
Copy Markdown
Member

Properly deal with compression header decode failure.

Ensure the compression header and hash table get cleaned up in error handling code.

In main_cram_size(), close the input hFILE if it fails to covert to a samFile.

Properly deal with compression header decode failure.

Ensure the compression header and hash table get cleaned up in
error handling code.

In main_cram_size(), close the input hFILE if it fails to covert
to a samFile.
@whitwham whitwham self-assigned this Feb 26, 2026
@whitwham whitwham merged commit 06fc2a2 into samtools:develop Feb 26, 2026
6 checks passed
@daviesrob daviesrob deleted the cram-size branch March 19, 2026 09:58
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