mirror of
https://github.com/facebook/zstd.git
synced 2025-10-05 00:07:15 -04:00
Merge pull request #1828 from bimbashrestha/education_decoder_check
Removing unnecessary check on education decoder
This commit is contained in:
commit
edca7970ac
@ -856,8 +856,7 @@ static size_t decode_literals_compressed(frame_context_t *const ctx,
|
|||||||
// Impossible
|
// Impossible
|
||||||
IMPOSSIBLE();
|
IMPOSSIBLE();
|
||||||
}
|
}
|
||||||
if (regenerated_size > MAX_LITERALS_SIZE ||
|
if (regenerated_size > MAX_LITERALS_SIZE) {
|
||||||
compressed_size >= regenerated_size) {
|
|
||||||
CORRUPTION();
|
CORRUPTION();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user