Fix seek table descriptor check when loading

dev
Fotis Xenakis 2021-03-12 23:07:15 +02:00
parent a3feed8dcd
commit 21697b9c9e
1 changed files with 1 additions and 1 deletions

View File

@ -332,7 +332,7 @@ static size_t ZSTD_seekable_loadSeekTable(ZSTD_seekable* zs)
checksumFlag = sfd >> 7;
/* check reserved bits */
if ((checksumFlag >> 2) & 0x1f) {
if ((sfd >> 2) & 0x1f) {
return ERROR(corruption_detected);
} }