Merge pull request #423 from terrelln/exec-seq-patch

Fix small bug in ZSTD_execSequence()
This commit is contained in:
Yann Collet
2016-10-21 17:02:06 -07:00
committed by GitHub
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -882,7 +882,7 @@ size_t ZSTD_execSequence(BYTE* op,
sequence.matchLength -= length1;
match = base;
if (op > oend_w) {
memmove(op, match, sequence.matchLength);
while (op < oMatchEnd) *op++ = *match++;
return sequenceLength;
}
} }