Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions cram/cram_external.c
Original file line number Diff line number Diff line change
Expand Up @@ -793,6 +793,10 @@ int cram_filter_container(cram_fd *in, cram_fd *out, cram_container *c,
if (!blk)
return -1;
c->comp_hdr = cram_decode_compression_header(in, blk);
if (!c->comp_hdr) {
cram_free_block(blk);
return -1;
}
in->ctr = c;

// If it's multi-ref but a constant ref-id, then we can still do
Expand Down
Loading