Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | 1 | -3/+1 | |
| | ||||||
* | created LZ4_initStreamHC() | Yann Collet | 2019-04-05 | 1 | -21/+21 | |
| | | | | | | | | - 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 | 1 | -2/+2 | |
| | | | | updated modification | |||||
* | fixed strict C++ compilation | Yann Collet | 2019-01-09 | 1 | -1/+1 | |
| | ||||||
* | 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 | |
| | ||||||
* | 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. | |||||
* | 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 | |
| | ||||||
* | Adding information about dirty context for _HC_ family of functions | Oleg Khabinov | 2018-10-10 | 1 | -8/+24 | |
| | ||||||
* | Some followups and renamings | Oleg Khabinov | 2018-10-01 | 1 | -5/+5 | |
| | ||||||
* | 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. | |||||
* | fixed minor warning in fuzzer.c | Yann Collet | 2018-09-10 | 1 | -1/+0 | |
| | | | | added a few more comments and assert() | |||||
* | fixed fuzzer test | Yann Collet | 2018-09-08 | 1 | -3/+4 | |
| | | | | and removed one blind copy, since there is no more guarantee that at least 4 bytes are still available in output buffer | |||||
* | first sketch for a byte-accurate partial decoder | Yann Collet | 2018-09-07 | 1 | -11/+11 | |
| | ||||||
* | removed one assert() condition | Yann Collet | 2018-09-05 | 1 | -5/+10 | |
| | | | | which is not correct when using LZ4_HC with dictionary and starting from a low address (<0x10000). | |||||
* | Fix AIX 32 bit build problem of fuzzer.c | Norm Green | 2018-06-01 | 1 | -1/+5 | |
| | ||||||
* | removed test that might be optimized away | Yann Collet | 2018-05-02 | 1 | -2/+1 | |
| | | | | under UB rule "no overflow on int" | |||||
* | introduce LZ4_decoderRingBufferSize() | Yann Collet | 2018-05-02 | 1 | -36/+53 | |
| | | | | fuzzer : fix and robustify ring buffer tests | |||||
* | Merge pull request #515 from svpv/refactorDec | Yann Collet | 2018-04-29 | 1 | -40/+81 | |
|\ | | | | | lz4.c: refactor the decoding routines | |||||
| * | fuzzer.c: enabled ring buffer tests for decompress_fast | Alexey Tourbin | 2018-04-27 | 1 | -40/+81 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Ring buffer tests were performed only with LZ4_decompress_safe_continue, leaving my buggy changes to LZ4_decompress_safe_continue undetected. The tests are now replicated and performed in a similar manner for both LZ4_decompress_safe_continue and LZ4_decompress_safe_continue (except for the small buffer case where only one function can be tested, because part of the dictionary is overwritten with the output). I also updated function names in the messages (changed them to the actual ones). The error was reported for LZ4_decompress_safe(), which I found misleading. | |||||
* | | Merge pull request #512 from lz4/HC_dict | Yann Collet | 2018-04-24 | 1 | -1/+49 | |
|\ \ | | | | | | | In-place unmutable dictionaries for LZ4HC | |||||
| * | | Add Some Simple Fuzzer Tests | W. Felix Handte | 2018-04-20 | 1 | -1/+49 | |
| |/ | ||||||
* | | Fix compilation error and assert. | Nick Terrell | 2018-04-23 | 1 | -1/+0 | |
| | | ||||||
* | | Fix input size validation edge cases | Nick Terrell | 2018-04-23 | 1 | -0/+26 | |
|/ | | | | | | | | | | | | | | | | | The bug is a read up to 2 bytes past the end of the buffer. There are three cases for this bug, one for each test case added. * An empty input causes `token = *ip++` to read one byte too far. * A one byte input with `(token >> ML_BITS) == RUN_MASK` causes one extra byte to be read without validation. This could be combined with the first bug to cause 2 extra bytes to be read. * The case pointed out in issue #508, where `ip == iend` at the beginning of the loop after taking the shortcut. Benchmarks show no regressions on clang or gcc-7 on both my mac and devserver. Fixes #508. | |||||
* | edited a few traces for debugging | Yann Collet | 2018-04-17 | 1 | -3/+3 | |
| | ||||||
* | fixed fuzzer tests | Yann Collet | 2018-04-16 | 1 | -15/+17 | |
| | | | | which were modified in parallel within branc `dev` | |||||
* | Merge branch 'dev' into lowAddr | Yann Collet | 2018-04-16 | 1 | -2/+99 | |
|\ | ||||||
| * | Further Test that ExtDictCtx Mode Produces the Exact Same Output | W. Felix Handte | 2018-04-13 | 1 | -2/+21 | |
| | | ||||||
| * | Add Tests for LZ4_attach_dictionary and Friends | W. Felix Handte | 2018-04-13 | 1 | -0/+78 | |
| | | ||||||
* | | modified a few traces for debug | test4973 | 2018-04-12 | 1 | -1/+3 | |
| | | ||||||
* | | fix minor conversion warning | test4973 | 2018-04-10 | 1 | -1/+1 | |
| | | | | | | | | cast from void not implicit for C++ | |||||
* | | noticed a bug when re-using hash table | test4973 | 2018-04-06 | 1 | -30/+29 | |
| | | | | | | | | ./fuzzer -vv -s4217 -t7518 | |||||
* | | fixed lz4 compression starting at small address | test4973 | 2018-04-05 | 1 | -1/+1 | |
| | | | | | | | | when using byU32 and byU16 modes | |||||
* | | added low address fuzzer tests | test4973 | 2018-03-21 | 1 | -52/+61 | |
| | | ||||||
* | | fuzzer: added low address compression test | Yann Collet | 2018-02-05 | 1 | -1/+45 | |
|/ | | | | is expected to work on linux+gcc only. | |||||
* | lz4opt supports _destSize | Yann Collet | 2017-12-22 | 1 | -7/+8 | |
| | | | | no longer limited to level 9 | |||||
* | /tests programs compiled with LZ4_DEBUG=1 | Yann Collet | 2017-12-22 | 1 | -23/+21 | |
| | | | | to enable assert() within /lib | |||||
* | unified HC levels | Yann Collet | 2017-11-03 | 1 | -6/+6 | |
| | | | | | LZ4_setCompressionLevel() can be users accross the whole range of HC levels No more transition issue between Optimal and HC modes | |||||
* | added `extern C` for lz4.h static section | Yann Collet | 2017-03-17 | 1 | -1/+1 | |
| | | | | should make the file more compatible with C++ compiler, such as Visual or g++ | |||||
* | LZ4_compress_HC_continue_destSize() works as intended up to level 10 | Yann Collet | 2017-03-16 | 1 | -1/+1 | |
| | | | | | It's incompatible with btopt though, so cLevel >= 11 feature much reduced performance (degraded mode) | |||||
* | LZ4_compress_HC_destSize() uses LZ4HC_compress_generic() code path | Yann Collet | 2017-03-16 | 1 | -29/+55 | |
| | | | | | Limits compression level to 10, to remain compatible with Hash Chain. | |||||
* | created LZ4_HC_STATIC_LINKING_ONLY section | Yann Collet | 2017-03-16 | 1 | -3/+4 | |
| | | | | where are exposed new prototypes *_destSize() | |||||
* | tests: fuzzer: Add test for LZ4_compressHC_destSize | remittor | 2017-03-08 | 1 | -2/+38 | |
| | ||||||
* | fuzzer: tests more compression levels | Przemyslaw Skibinski | 2016-12-28 | 1 | -17/+17 | |
| | ||||||
* | LZ4HC_getSearchNum | Przemyslaw Skibinski | 2016-12-28 | 1 | -1/+1 | |
| | ||||||
* | added FUZ_CLEVEL_DEFAULT | Przemyslaw Skibinski | 2016-12-28 | 1 | -7/+8 | |
| | ||||||
* | util.h and platform.h based on zstd | Przemyslaw Skibinski | 2016-12-21 | 1 | -1/+2 | |
| | ||||||
* | fixed gcc 4.4 support | Przemyslaw Skibinski | 2016-12-21 | 1 | -4/+12 | |
| |