mirror of
https://github.com/facebook/zstd.git
synced 2025-03-06 16:56:49 +02:00
Removing unnecessary check from decode side
This commit is contained in:
parent
24bc2e062d
commit
83749411a6
@ -856,8 +856,7 @@ static size_t decode_literals_compressed(frame_context_t *const ctx,
|
||||
// Impossible
|
||||
IMPOSSIBLE();
|
||||
}
|
||||
if (regenerated_size > MAX_LITERALS_SIZE ||
|
||||
compressed_size >= regenerated_size) {
|
||||
if (regenerated_size > MAX_LITERALS_SIZE) {
|
||||
CORRUPTION();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user