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…
Reference in New Issue
Block a user