Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fuzzer: added tests to detect LZ4_decompress_fast() out of bound read | Yann Collet | 2019-04-17 | 1 | -19/+27 |
| | |||||
* | Fix AIX errors/warnings | Norm Green | 2019-04-17 | 1 | -0/+4 |
| | |||||
* | Merge branch 'dev' into fixframe | Yann Collet | 2019-04-15 | 1 | -1/+1 |
|\ | |||||
| * | added a fake initialization to please an analyzer | Yann Collet | 2019-04-15 | 1 | -1/+1 |
| | | | | | | | | | | which is unable to understand that the variable is necessarily initialized in spite of an assert just before. | ||||
* | | fix fuzzer tests on dirty context | Yann Collet | 2019-04-15 | 1 | -3/+3 |
|/ | | | | | | context is no longer dirty after a failed compressed block. Actually, all indexes are fine. It remains compatible with continued streaming, and reset*_fast(). | ||||
* | added more margin for canary in frametest | Yann Collet | 2019-04-15 | 1 | -5/+4 |
| | |||||
* | frametest: removed uninitialized warning | Yann Collet | 2019-04-15 | 1 | -17/+26 |
| | | | | was a false positive, but better remove it anyway | ||||
* | assert() the failed test | Yann Collet | 2019-04-15 | 1 | -0/+1 |
| | | | | ensure canary remains within buffer limits | ||||
* | fixed frametest | Yann Collet | 2019-04-15 | 1 | -10/+14 |
| | | | | | | One test could write a canary value out of bound in exceptional conditions involving multiple flushes triggered by -s3421 -t462948. | ||||
* | and even more visual conversion warnings | Yann Collet | 2019-04-13 | 1 | -9/+11 |
| | |||||
* | fixed minor Visual conversion warnings | Yann Collet | 2019-04-13 | 1 | -1/+1 |
| | |||||
* | added tests for -d -m -c | Yann Collet | 2019-04-12 | 1 | -10/+24 |
| | | | | seems to work properly | ||||
* | fixed lz4 -m -c | Yann Collet | 2019-04-12 | 1 | -3/+12 |
| | | | | can compress multiple files into stdout | ||||
* | added command -BI for "Independent Blocks" | Yann Collet | 2019-04-12 | 1 | -1/+1 |
| | | | | | | | | This is the reverse of `-BD`, and the current default. This command can be useful to reverse a previous `-BD` command. It may in the future be more important if `lz4` switches to generating dependent blocks by default. | ||||
* | made LZ4F_getHeaderSize() public | Yann Collet | 2019-04-10 | 1 | -3/+8 |
| | |||||
* | fixed loadDictHC | Yann Collet | 2019-04-09 | 1 | -4/+4 |
| | | | | | by making a full initialization instead of a fast reset. | ||||
* | modified LZ4_initStreamHC() to look like LZ4_initStream() | Yann Collet | 2019-04-09 | 2 | -20/+21 |
| | | | | | it is now a pure initializer, for statically allocated states. It can initialize any memory area, and because of this, requires size. | ||||
* | checkFrame: removed %zu | Yann Collet | 2019-04-08 | 1 | -7/+12 |
| | | | | not liked by mingw | ||||
* | fullbench: assert lz4_stream_t initialization | Yann Collet | 2019-04-08 | 1 | -2/+4 |
| | |||||
* | fixed cleaning tmp directory | Yann Collet | 2019-04-08 | 1 | -3/+3 |
| | |||||
* | slightly faster huge file test | Yann Collet | 2019-04-08 | 1 | -1/+1 |
| | | | | | level down 5->4 size down 6G->5G | ||||
* | added make list target to tests | Yann Collet | 2019-04-08 | 1 | -0/+6 |
| | |||||
* | created LZ4_initStream() | Yann Collet | 2019-04-05 | 2 | -5/+5 |
| | | | | | | | | | | - promoted LZ4_resetStream_fast() to stable - moved LZ4_resetStream() into deprecate, but without triggering a compiler warning - update all sources to no longer rely on LZ4_resetStream() note : LZ4_initStream() proposal is slightly different : it's able to initialize any buffer, provided that it's large enough. To this end, it accepts a void*, and returns an LZ4_stream_t*. | ||||
* | fixed _GNU_SOURCE duplicate | Yann Collet | 2019-04-05 | 1 | -0/+1 |
| | |||||
* | fuzzer: fixed strict c99 with mmap+MAP_ANONYMOUS | Yann Collet | 2019-04-05 | 2 | -8/+5 |
| | |||||
* | created LZ4_initStreamHC() | Yann Collet | 2019-04-05 | 2 | -27/+30 |
| | | | | | | | | - promoted LZ4_resetStreamHC_fast() to stable - moved LZ4_resetStreamHC() to deprecated (but do not generate a warning yet) - Updated doc, to highlight difference between init and reset - switched all invocations of LZ4_resetStreamHC() onto LZ4_initStreamHC() - misc: ensure `make all` also builds /tests | ||||
* | make `_fast*()` decoder generate a deprecation warning | Yann Collet | 2019-04-04 | 2 | -2/+3 |
| | | | | updated modification | ||||
* | Fix pass-through mode | Tim Zakian | 2019-01-10 | 1 | -3/+6 |
| | |||||
* | fixed strict C++ compilation | Yann Collet | 2019-01-09 | 2 | -1/+2 |
| | |||||
* | fixed long sequence overflow test | Yann Collet | 2019-01-09 | 1 | -1/+3 |
| | |||||
* | minor explicit cast warning | Yann Collet | 2019-01-09 | 1 | -1/+1 |
| | |||||
* | Merge pull request #634 from lz4/longSeqTest | Yann Collet | 2019-01-09 | 1 | -40/+76 |
|\ | | | | | add a test to check long sequences (#631) | ||||
| * | add a test to check long sequences (#631) | Yann Collet | 2019-01-09 | 1 | -40/+76 |
| | | | | | | | | | | the test fails, as intended, since #631 is not merged yet in this branch. | ||||
* | | Fix C90 compatibility issue | Tim Zakian | 2019-01-09 | 1 | -1/+2 |
| | | |||||
* | | Make LZ4F_getBlockSize public and publis in experimental section | Tim Zakian | 2019-01-09 | 1 | -0/+22 |
|/ | |||||
* | Add test to cover issue #596 | Ruben O. Chiavone | 2019-01-09 | 1 | -0/+5 |
| | |||||
* | clang: Fix -Wcomma | Lzu Tao | 2018-12-02 | 1 | -1/+1 |
| | |||||
* | clang: Fix -Wcast-qual | Lzu Tao | 2018-12-02 | 1 | -2/+3 |
| | |||||
* | Fix clang warnings: -Wformat-pedantic and -Werror=overflow | Lzu Tao | 2018-12-02 | 1 | -4/+5 |
| | |||||
* | [amalgamation] lz4frame.c | Bing Xu | 2018-11-26 | 1 | -0/+1 |
| | |||||
* | [amalgamation] add test | Bing Xu | 2018-11-16 | 1 | -1/+7 |
| | |||||
* | Adding information about dirty context for _HC_ family of functions | Oleg Khabinov | 2018-10-10 | 1 | -8/+24 |
| | |||||
* | Merge pull request #592 from lz4/compressEnd | Yann Collet | 2018-10-09 | 1 | -2/+12 |
|\ | | | | | fix LZ4F_compressEnd() | ||||
| * | added a test for LZ4F_compressEnd() | Yann Collet | 2018-10-09 | 1 | -2/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | which actively tries to make it write out of bound. For this scenario to be possible, it's necessary to set dstCapacity < LZ4F_compressBound() When a compression operation fails, the CCtx context is left in an undefined state, therefore compression cannot resume. As a consequence : - round trip tests must be aborted, since there is nothing valid to decompress - most users avoid this situation, by ensuring that dstCapacity >= LZ4F_compressBound() For these reasons, this use case was poorly tested up to now. | ||||
* | | Merge pull request #588 from khabinov/stream-dirty-followups | Yann Collet | 2018-10-09 | 1 | -5/+5 |
|\ \ | |/ |/| | Some followups and renamings | ||||
| * | Some followups and renamings | Oleg Khabinov | 2018-10-01 | 1 | -5/+5 |
| | | |||||
* | | support custom block sizes: fix memory leak to make CI builds happy | Blaise Sanouillet | 2018-10-02 | 1 | -21/+55 |
| | | |||||
* | | support custom block sizes: remove unneeded fudging, fix leaked filehandles, ↵ | Blaise Sanouillet | 2018-10-01 | 2 | -98/+101 |
| | | | | | | | | other nits | ||||
* | | Merge branch 'dev' into custom_block_sizes | Blaise Sanouillet | 2018-10-01 | 1 | -3/+8 |
|\ \ | |/ | |||||
| * | Rename initCheck to dirtyContext and use it in LZ4_resetStream_fast() to ↵ | Oleg Khabinov | 2018-09-28 | 1 | -3/+8 |
| | | | | | | | | check if full reset is needed. |