summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2021-08-30Merge tag 'v1.9.3' into lineage-18.1HEADlineage-18.1alk3pInjection
Change-Id: Iad56c1b17a32f9f356a4c1ff9557f0e79addf481
2020-11-15update docYann Collet
2020-11-14fix minor win32 warningYann Collet
2020-11-14better visual conformanceYann Collet
only include <intrin.h> on vs2005+ (#947) remove some useless #pragma fix a few minor Visual warnings
2020-11-14Merge branch 'dev' of github.com:Cyan4973/lz4 into devYann Collet
2020-11-14restrict BitScanForward() to VS2005+Yann Collet
suggested by @aqrit in #947
2020-11-13minor refactor of lz4ioYann Collet
for readability. Mostly around --list capability
2020-11-09minor : lz4frame include stdlib only if neededYann Collet
2020-11-09changed LZ4_calloc() to a 2-arguments signatureYann Collet
to remain similar to stdlib's calloc(). Updated test to use c++ compiler for stricter signature check.
2020-11-08Merge branch 'dev' into customMemYann Collet
2020-11-08first proposal for LZ4_USER_MEMORY_FUNCTIONSYann Collet
makes it possible to replace at link time malloc, calloc and free by user-provided functions which must be named LZ4_malloc(), LZ4_calloc() and LZ4_free(). answer #937
2020-11-08Merge pull request #944 from lz4/fix874Yann Collet
fix #874
2020-11-08Merge pull request #945 from lz4/fix926Yann Collet
fixed remaining ubsan warnings
2020-11-08fixed remaining ubsan warningsYann Collet
2020-11-08fix #874Yann Collet
coverity reported a warning regarding a memcpy() overwrite. This is a false positive (the memory area is large enough), but it's true that it's not trivial to determine (encompassing struct), and it's proper anyway to only memcpy() just the right amount of data.
2020-11-08update obsolete section documentationYann Collet
and update manuals. fix #712
2020-11-07fix minor UBsYann Collet
- check alignment before casting a pointer - saveDict : don't memmove() on NULL dst
2020-11-07fix #926Yann Collet
fix incorrect behavior of LZ4_saveDictHC() when invoked right after initialization.
2020-11-07Merge pull request #941 from lz4/revertinlineYann Collet
Revert "Replace "static" to "LZ4_FORCE_INLINE" for small functions"
2020-11-07Revert "Replace "static" to "LZ4_FORCE_INLINE" for small functions"Yann Collet
This reverts commit 0e3933edd435c54cc2e21e38f5d4ba7bf644a24e.
2020-11-07fix #935Yann Collet
minor: identical declaration and prototypes of `LZ4HC_compress_optimal()` also : very minor optimization of `LZ4_memcpy_using_offset()`
2020-11-06LZ4F_decompress requires a valid dctx stateYann Collet
This is now explicitly documented and asserted. fix #927
2020-11-06Merge pull request #936 from lz4/alignTestYann Collet
More alignment tests
2020-11-06static state sizeYann Collet
for better inter-version compatibility
2020-11-06re-enable alignment test on all targetsYann Collet
2020-11-06unified internal state declarationYann Collet
align on `void*` instead : there is no `long long` inside the structure
2020-11-06document LZ4_ALIGN_TESTYann Collet
2020-11-06unified alignment testYann Collet
across lz4.c and lz4hc.c
2020-10-31Merge pull request #930 from remittor-pr/fix_msvcYann Collet
Fix: The "inline" specifier do not use for LZ4_wildCopy8 and LZ4_wildCopy32
2020-10-07Replace "static" to "LZ4_FORCE_INLINE" for small functionsremittor
The "static" specifier does not guarantee that the function will be inlined.
2020-10-07Replace define LZ4_FORCE_O2_INLINE_GCC_PPC64LE to LZ4_FORCE_INLINEremittor
There is no reason to separate these two definitions!
2020-10-06Fix: The "inline" specifier do not use for LZ4_wildCopy8 and LZ4_wildCopy32remittor
This problem was reproduced on MSVC 2015 (32-bit). Both functions were called using the operator "call".
2020-10-03[lz4hc] Made function LZ4HC_encodeSequence a human readableremittor
2020-10-02preserver alignment test on Visual Studio x64Yann Collet
this it works fine in this environment (only x86 is suspicious)
2020-10-01add LZ4F_decompress() tests with (NULL,0) input and outputYann Collet
fix one (rare & complex) issue discovered by this test
2020-10-01make scan-build accept assert()Yann Collet
2020-09-30fix bad init scenarioYann Collet
2020-09-30added memcpy() related SA warning fixesYann Collet
memcpy() on NULL is UB, even if length is 0.
2020-09-29fix conversion warningYann Collet
2020-09-29Merge branch 'dev' into safixesYann Collet
2020-09-29fix minor static analyzer warningsYann Collet
detected by scan-build, cppcheck and advanved compilation flags fix #786
2020-09-29bump version numberYann Collet
to v1.9.3
2020-09-28Merge pull request #923 from lz4/fix784Yann Collet
fix efficiency of LZ4_compress_HC_destSize()
2020-09-28improved last literals run on LZ4_compress_destSizeYann Collet
applying new more accurate formula from LZ4_compress_HC_destSize() also : fix some minor display issue in tests/frametest
2020-09-27ensure last match not too close to endYann Collet
must respect MFLIMIT distance from oend
2020-09-27fix incorrect countingYann Collet
after truncation of last sequence
2020-09-27Merge pull request #921 from lz4/doubleNullYann Collet
fix compressing into NULL
2020-09-27fix efficiency of LZ4_compress_HC_destSize()Yann Collet
LZ4_compress_HC_destSize() had a tendency to discard its last match when this match overflowed specified dstBuffer limit. The impact is generally moderate, but occasionally huge, typically when this last match is very large (such as compressing a bunch of zeroes). Issue #784 fixed for both Chain and Opt implementations. Added a unit test suggested by @remittor checking this topic.
2020-09-27Fix compilation with TinyCCAnton Kochkov
2020-09-26fix compressing into NULLYann Collet
fails properly bug discovered by oss-fuzz