Fix seek table descriptor check when loading
parent
a3feed8dcd
commit
21697b9c9e
|
@ -332,7 +332,7 @@ static size_t ZSTD_seekable_loadSeekTable(ZSTD_seekable* zs)
|
||||||
checksumFlag = sfd >> 7;
|
checksumFlag = sfd >> 7;
|
||||||
|
|
||||||
/* check reserved bits */
|
/* check reserved bits */
|
||||||
if ((checksumFlag >> 2) & 0x1f) {
|
if ((sfd >> 2) & 0x1f) {
|
||||||
return ERROR(corruption_detected);
|
return ERROR(corruption_detected);
|
||||||
} }
|
} }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue