mirror of
https://github.com/facebook/zstd.git
synced 2025-12-07 00:02:39 -05:00
fixed decoding error, reported by Maciej Adamczyk
This commit is contained in:
parent
27caf2afca
commit
afa60e0f14
@ -574,7 +574,7 @@ size_t ZSTD_decodeSeqHeaders(int* nbSeqPtr,
|
||||
/* SeqHead */
|
||||
{ int nbSeq = *ip++;
|
||||
if (!nbSeq) { *nbSeqPtr=0; return 1; }
|
||||
if (nbSeq >= 0x7F) {
|
||||
if (nbSeq > 0x7F) {
|
||||
if (nbSeq == 0xFF)
|
||||
nbSeq = MEM_readLE16(ip) + LONGNBSEQ, ip+=2;
|
||||
else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user