Home
last modified time | relevance | path

Searched refs:safeDecode (Results 1 – 1 of 1) sorted by relevance

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dlz4.c555 const int safeDecode = (endOnInput==endOnInputSize); in LZ4_decompress_generic() local
556 const int checkOffset = ((safeDecode) && (dictSize < (int)(64 KB))); in LZ4_decompress_generic()
603 …if ((safeDecode) && unlikely((uptrval)(op)+length<(uptrval)(op))) { goto _output_error; } /* overf… in LZ4_decompress_generic()
604 …if ((safeDecode) && unlikely((uptrval)(ip)+length<(uptrval)(ip))) { goto _output_error; } /* overf… in LZ4_decompress_generic()
648 …if ((safeDecode) && unlikely((uptrval)(op)+length<(uptrval)op)) { goto _output_error; } /* overflo… in LZ4_decompress_generic()
773 …if ((safeDecode) && unlikely((uptrval)(op)+length<(uptrval)(op))) { goto _output_error; } /* overf… in LZ4_decompress_generic()
774 …if ((safeDecode) && unlikely((uptrval)(ip)+length<(uptrval)(ip))) { goto _output_error; } /* overf… in LZ4_decompress_generic()
858 …if ((safeDecode) && unlikely((uptrval)(op)+length<(uptrval)op)) goto _output_error; /* overflow … in LZ4_decompress_generic()