Home
last modified time | relevance | path

Searched refs:corruption_detected (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/lib/zstd/
H A Dentropy_common.c151 return ERROR(corruption_detected); in FSE_readNCount()
153 return ERROR(corruption_detected); in FSE_readNCount()
185 return ERROR(corruption_detected); in HUF_readStats_wksp()
209 return ERROR(corruption_detected); in HUF_readStats_wksp()
215 return ERROR(corruption_detected); in HUF_readStats_wksp()
221 return ERROR(corruption_detected); in HUF_readStats_wksp()
230 return ERROR(corruption_detected); /* last value must be a clean power of 2 */ in HUF_readStats_wksp()
238 return ERROR(corruption_detected); /* by construction : at least 2 elts of rank 1, must be even */ in HUF_readStats_wksp()
H A Dhuf_decompress.c219 return ERROR(corruption_detected); in HUF_decompress1X2_usingDTable_internal()
251 return ERROR(corruption_detected); /* strict minimum : jump table + 1 byte per stream */ in HUF_decompress4X2_usingDTable_internal()
286 return ERROR(corruption_detected); /* overflow */ in HUF_decompress4X2_usingDTable_internal()
332 return ERROR(corruption_detected); in HUF_decompress4X2_usingDTable_internal()
334 return ERROR(corruption_detected); in HUF_decompress4X2_usingDTable_internal()
336 return ERROR(corruption_detected); in HUF_decompress4X2_usingDTable_internal()
348 return ERROR(corruption_detected); in HUF_decompress4X2_usingDTable_internal()
678 return ERROR(corruption_detected); in HUF_decompress1X4_usingDTable_internal()
710 return ERROR(corruption_detected); /* strict minimum : jump table + 1 byte per stream */ in HUF_decompress4X4_usingDTable_internal()
745 return ERROR(corruption_detected); /* overflo in HUF_decompress4X4_usingDTable_internal()
[all...]
H A Ddecompress.c407 return ERROR(corruption_detected); in ZSTD_getcBlockSize()
435 return ERROR(corruption_detected); in ZSTD_decodeLiteralsBlock()
448 return ERROR(corruption_detected); /* srcSize >= MIN_CBLOCK_SIZE == 3; here we need up to 5 for case 3 */ in ZSTD_decodeLiteralsBlock()
478 return ERROR(corruption_detected); in ZSTD_decodeLiteralsBlock()
480 return ERROR(corruption_detected); in ZSTD_decodeLiteralsBlock()
491 return ERROR(corruption_detected); in ZSTD_decodeLiteralsBlock()
524 return ERROR(corruption_detected); in ZSTD_decodeLiteralsBlock()
555 return ERROR(corruption_detected); /* srcSize >= MIN_CBLOCK_SIZE == 3; here we need lhSize+1 = 4 */ in ZSTD_decodeLiteralsBlock()
559 return ERROR(corruption_detected); in ZSTD_decodeLiteralsBlock()
566 return ERROR(corruption_detected); /* impossibl in ZSTD_decodeLiteralsBlock()
1124 CHECK_E(BIT_initDStream(&seqState.DStream, ip, iend - ip), corruption_detected); ZSTD_decompressSequences() local
1390 CHECK_E(BIT_initDStream(&seqState.DStream, ip, iend - ip), corruption_detected); ZSTD_decompressSequencesLong() local
[all...]
/kernel/linux/linux-6.6/lib/zstd/common/
H A Dentropy_common.c81 if (countSize > hbSize) return ERROR(corruption_detected); in FSE_readNCount_body()
196 if (remaining != 1) return ERROR(corruption_detected); in FSE_readNCount_body()
199 if (bitCount > 32) return ERROR(corruption_detected); in FSE_readNCount_body()
279 if (oSize >= hwSize) return ERROR(corruption_detected); in HUF_readStats_body()
297 if (huffWeight[n] > HUF_TABLELOG_MAX) return ERROR(corruption_detected); in HUF_readStats_body()
301 if (weightTotal == 0) return ERROR(corruption_detected); in HUF_readStats_body()
305 if (tableLog > HUF_TABLELOG_MAX) return ERROR(corruption_detected); in HUF_readStats_body()
312 if (verif != rest) return ERROR(corruption_detected); /* last value must be a clean power of 2 */ in HUF_readStats_body()
318 if ((rankStats[1] < 2) || (rankStats[1] & 1)) return ERROR(corruption_detected); /* by construction : at least 2 elts of rank 1, must be even */ in HUF_readStats_body()
H A Derror_private.c30 case PREFIX(corruption_detected): return "Corrupted block detected"; in ERR_getErrorString()
H A Dbitstream.h298 if (lastByte == 0) return ERROR(corruption_detected); /* endMark not present */ in BIT_initDStream()
/kernel/linux/linux-6.6/lib/zstd/decompress/
H A Dhuf_decompress.c177 return ERROR(corruption_detected); in HUF_DecompressAsmArgs_init()
205 if (length4 > srcSize) return ERROR(corruption_detected); /* overflow */ in HUF_DecompressAsmArgs_init()
251 return ERROR(corruption_detected); in HUF_initRemainingDStream()
258 return ERROR(corruption_detected); in HUF_initRemainingDStream()
543 if (!BIT_endOfDStream(&bitD)) return ERROR(corruption_detected); in HUF_decompress1X1_usingDTable_internal_body()
555 if (cSrcSize < 10) return ERROR(corruption_detected); /* strict minimum : jump table + 1 byte per stream */ in HUF_decompress4X1_usingDTable_internal_body()
589 if (length4 > cSrcSize) return ERROR(corruption_detected); /* overflow */ in HUF_decompress4X1_usingDTable_internal_body()
590 if (opStart4 > oend) return ERROR(corruption_detected); /* overflow */ in HUF_decompress4X1_usingDTable_internal_body()
625 if (op1 > opStart2) return ERROR(corruption_detected); in HUF_decompress4X1_usingDTable_internal_body()
626 if (op2 > opStart3) return ERROR(corruption_detected); in HUF_decompress4X1_usingDTable_internal_body()
[all...]
H A Dzstd_decompress_block.c67 RETURN_ERROR_IF(bpPtr->blockType == bt_reserved, corruption_detected, ""); in ZSTD_getcBlockSize()
124 RETURN_ERROR_IF(srcSize < MIN_CBLOCK_SIZE, corruption_detected, ""); in ZSTD_decodeLiteralsBlock()
137 RETURN_ERROR_IF(srcSize < 5, corruption_detected, "srcSize >= MIN_CBLOCK_SIZE == 3; here we need up to 5 for case 3"); in ZSTD_decodeLiteralsBlock()
167 RETURN_ERROR_IF(litSize > ZSTD_BLOCKSIZE_MAX, corruption_detected, ""); in ZSTD_decodeLiteralsBlock()
168 RETURN_ERROR_IF(litCSize + lhSize > srcSize, corruption_detected, ""); in ZSTD_decodeLiteralsBlock()
215 RETURN_ERROR_IF(HUF_isError(hufSuccess), corruption_detected, ""); in ZSTD_decodeLiteralsBlock() local
248 RETURN_ERROR_IF(litSize+lhSize > srcSize, corruption_detected, ""); in ZSTD_decodeLiteralsBlock()
287 RETURN_ERROR_IF(srcSize<4, corruption_detected, "srcSize >= MIN_CBLOCK_SIZE == 3; here we need lhSize+1 = 4"); in ZSTD_decodeLiteralsBlock()
291 RETURN_ERROR_IF(litSize > ZSTD_BLOCKSIZE_MAX, corruption_detected, ""); in ZSTD_decodeLiteralsBlock()
308 RETURN_ERROR(corruption_detected, "impossibl in ZSTD_decodeLiteralsBlock()
641 RETURN_ERROR_IF(FSE_isError(headerSize), corruption_detected, ""); ZSTD_buildSeqTable() local
700 RETURN_ERROR_IF(ZSTD_isError(llhSize), corruption_detected, "ZSTD_buildSeqTable failed"); ZSTD_decodeSeqHeaders() local
712 RETURN_ERROR_IF(ZSTD_isError(ofhSize), corruption_detected, "ZSTD_buildSeqTable failed"); ZSTD_decodeSeqHeaders() local
724 RETURN_ERROR_IF(ZSTD_isError(mlhSize), corruption_detected, "ZSTD_buildSeqTable failed"); ZSTD_decodeSeqHeaders() local
1001 RETURN_ERROR_IF(UNLIKELY(sequence.offset > (size_t)(oLitEnd - virtualStart)), corruption_detected, ""); ZSTD_execSequence() local
1093 RETURN_ERROR_IF(UNLIKELY(sequence.offset > (size_t)(oLitEnd - virtualStart)), corruption_detected, ""); ZSTD_execSequenceSplitLitBuffer() local
1508 RETURN_ERROR_IF(BIT_reloadDStream(&seqState.DStream) < BIT_DStream_completed, corruption_detected, ""); global() local
1609 RETURN_ERROR_IF(BIT_reloadDStream(&seqState.DStream) < BIT_DStream_completed, corruption_detected, ""); global() local
[all...]
H A Dzstd_decompress.c902 RETURN_ERROR(corruption_detected, "invalid block type"); in ZSTD_decompressFrame()
918 corruption_detected, ""); in ZSTD_decompressFrame()
1152 RETURN_ERROR_IF(cBlockSize > dctx->fParams.blockSizeMax, corruption_detected, "Block Size Exceeds Maximum"); in ZSTD_decompressContinue()
1200 RETURN_ERROR(corruption_detected, "invalid block type"); in ZSTD_decompressContinue()
1203 RETURN_ERROR_IF(rSize > dctx->fParams.blockSizeMax, corruption_detected, "Decompressed Block Size Exceeds Maximum"); in ZSTD_decompressContinue()
1219 corruption_detected, ""); in ZSTD_decompressContinue()
2056 corruption_detected, in ZSTD_decompressStream()
/kernel/linux/linux-6.6/lib/zstd/compress/
H A Dzstd_compress.c5573 RETURN_ERROR_IF(offCode > STORE_OFFSET(offsetBound), corruption_detected, "Offset too large!"); in ZSTD_validateSequence()
5574 RETURN_ERROR_IF(matchLength < MINMATCH, corruption_detected, "Matchlength too small"); in ZSTD_validateSequence()
5645 RETURN_ERROR_IF(ip != iend, corruption_detected, "Blocksize doesn't agree with block delimiter!"); in ZSTD_copySequencesToSeqStoreExplicitBlockDelim()

Completed in 27 milliseconds