mirror of
https://github.com/aaru-dps/libaaruformat.git
synced 2025-12-16 19:24:40 +00:00
Fix return status in process_data_block for zero-length compressed blocks
This commit is contained in:
@@ -256,8 +256,8 @@ int32_t process_data_block(aaruformat_context *ctx, IndexEntry *entry)
|
|||||||
TRACE("Compressed payload present for zero-length block, continuing...");
|
TRACE("Compressed payload present for zero-length block, continuing...");
|
||||||
free(cmp_data);
|
free(cmp_data);
|
||||||
|
|
||||||
TRACE("Exiting process_data_block() = AARUF_ERROR_CANNOT_DECOMPRESS_BLOCK");
|
TRACE("Exiting process_data_block() = AARUF_STATUS_OK");
|
||||||
return AARUF_ERROR_CANNOT_DECOMPRESS_BLOCK;
|
return AARUF_STATUS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(block_header.compression == LzmaClauniaSubchannelTransform && block_header.length != 0)
|
if(block_header.compression == LzmaClauniaSubchannelTransform && block_header.length != 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user