add controls over streaming buffers
This commit is contained in:
1 parent
224e7a1053
commit
ecb0f46866
1 file changed
+2
@@ -3743,7 +3743,9 @@ static size_t ZSTD_compressStream_generic(ZSTD_CStream* zcs,
|
|||||||
/* check expectations */
|
/* check expectations */
|
||||||
DEBUGLOG(5, "ZSTD_compressStream_generic");
|
DEBUGLOG(5, "ZSTD_compressStream_generic");
|
||||||
assert(zcs->inBuff != NULL);
|
assert(zcs->inBuff != NULL);
|
||||||
|
assert(zcs->inBuffSize>0);
|
||||||
assert(zcs->outBuff!= NULL);
|
assert(zcs->outBuff!= NULL);
|
||||||
|
assert(zcs->outBuffSize>0);
|
||||||
assert(output->pos <= output->size);
|
assert(output->pos <= output->size);
|
||||||
assert(input->pos <= input->size);
|
assert(input->pos <= input->size);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user