summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* address a few minor Visual warningsYann Collet2019-04-187-26/+35
| | | | and created target cxx17build
* Merge pull request #678 from lz4/decFastYann Collet2019-04-186-87/+107
|\ | | | | Fix out-of-bound read in LZ4_decompress_fast()
| * fix several minor static analyzer warningsYann Collet2019-04-184-40/+52
| |
| * fuzzer: fixed scan-build leak warningYann Collet2019-04-181-19/+10
| | | | | | | | | | the program exit(), so there is no need to track and dealloc every buffer.
| * fuzzer: fix explicit cast for C++Yann Collet2019-04-171-1/+1
| |
| * re-enable FORCE_INLINEYann Collet2019-04-171-3/+0
| | | | | | | | was disabled for tests
| * fix out-of-bound read within LZ4_decompress_fast()Yann Collet2019-04-172-11/+23
| | | | | | | | | | | | | | | | | | | | | | and deprecate LZ4_decompress_fast(), with deprecation warnings enabled by default. Note that, as a consequence of the fix, LZ4_decompress_fast is now __slower__ than LZ4_decompress_safe(). That's because, since it doesn't know the input buffer size, it must progress more cautiously into the input buffer to ensure to out-of-bound read.
| * fuzzer: added tests to detect LZ4_decompress_fast() out of bound readYann Collet2019-04-171-19/+27
|/
* Merge pull request #674 from nrgiii/devYann Collet2019-04-172-0/+10
|\ | | | | Fix
| * Merge branch 'fuzzerAix' into devNorm Green2019-04-172-0/+10
| |\ |/ /
| * Fix AIX errors/warningsNorm Green2019-04-172-0/+10
|/
* fixed version number for lz4hcYann Collet2019-04-171-1/+1
|
* minor benchmark updateYann Collet2019-04-162-4/+4
| | | | was using wrong memory timing
* ensure consistent definition and usage of FREEMEMYann Collet2019-04-162-6/+6
| | | | as suggested by @sloutsky in #671
* minor news updateYann Collet2019-04-161-1/+1
| | | | for msys2
* updated NEWS for v1.9.0Yann Collet2019-04-161-0/+12
|
* Merge pull request #669 from lz4/fixframeYann Collet2019-04-154-74/+67
|\ | | | | Fix lz4frame inefficiency
| * simplified output_directiveYann Collet2019-04-151-15/+17
| |
| * fix comma for pedanticYann Collet2019-04-151-1/+1
| |
| * Merge branch 'dev' into fixframeYann Collet2019-04-151-1/+1
| |\ | |/ |/|
* | added a fake initialization to please an analyzerYann Collet2019-04-151-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 contextYann Collet2019-04-151-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().
| * unified limitedOutput_directiveYann Collet2019-04-152-35/+27
| | | | | | | | | | | | | | | | | | | | | | between lz4.c and lz4hc.c . was left in a strange state after the "amalgamation" patch. Now only 3 directives remain, same name across both implementations, single definition place. Might allow some light simplification due to reduced nb of states possible.
| * Merge branch 'dev' into fixframeYann Collet2019-04-151-5/+4
| |\ | |/ |/|
* | added more margin for canary in frametestYann Collet2019-04-151-5/+4
| |
| * decompress*_fast() function do not generate deprecation warningsYann Collet2019-04-151-13/+14
| | | | | | | | | | | | | | | | | | they are classified as deprecated in the API documentation (lz4.h) but do not yet trigger a warning, to give time to existing applications to move away. Also, the _fast() variants are still ~5% faster than the _safe() ones after Dave's patch.
| * fixed lz4frame with linked blocksYann Collet2019-04-151-11/+9
|/ | | | | | | when one block was not compressible, it would tag the context as `dirty`, resulting in compression automatically bailing out of all future blocks, making the rest of the frame uncompressible.
* frametest: removed uninitialized warningYann Collet2019-04-151-17/+26
| | | | was a false positive, but better remove it anyway
* assert() the failed testYann Collet2019-04-151-0/+1
| | | | ensure canary remains within buffer limits
* fixed frametestYann Collet2019-04-151-10/+14
| | | | | | One test could write a canary value out of bound in exceptional conditions involving multiple flushes triggered by -s3421 -t462948.
* Merge branch 'dev' of github.com:Cyan4973/lz4 into devYann Collet2019-04-136-34/+42
|\
| * Merge pull request #668 from lz4/visualYann Collet2019-04-136-34/+42
| |\ | | | | | | Fix some Visual conversion warnings
| | * and even more visual conversion warningsYann Collet2019-04-132-10/+16
| | |
| | * some more Visual conversion warningYann Collet2019-04-131-1/+3
| | |
| | * fixed minor Visual conversion warningsYann Collet2019-04-132-7/+7
| | |
| | * fix minor visual warningYann Collet2019-04-121-2/+2
| | | | | | | | | | | | | | | | | | yet some overly cautious overflow risk flag, while it's actually impossible, due to previous test just one line above. Changing the cast position, just to be please the thing.
| | * fixed minor Visual warningsYann Collet2019-04-122-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | since Visual 2017, worries about potential overflow, which are actually impossible. Replaced (c * a) by (c ? a : 0). Will likely replaced a * by a cmov. Probably harmless for performance.
* | | fixed incorrect assertion conditionYann Collet2019-04-131-1/+1
|/ / | | | | | | output can use the full length of output buffer
* | updated benchmark tableYann Collet2019-04-131-12/+12
| |
* | Merge pull request #667 from lz4/pipeMultipleYann Collet2019-04-135-20/+72
|\ \ | |/ | | Fix combination -m -c
| * added tests for -d -m -cYann Collet2019-04-123-13/+35
| | | | | | | | seems to work properly
| * fixed lz4 -m -cYann Collet2019-04-124-16/+46
|/ | | | can compress multiple files into stdout
* Merge pull request #666 from lz4/blockIndepYann Collet2019-04-124-14/+23
|\ | | | | added command -BI for "Independent Blocks"
| * added command -BI for "Independent Blocks"Yann Collet2019-04-124-14/+23
|/ | | | | | | | 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.
* updated man pageYann Collet2019-04-122-6/+16
| | | | with --favor-decSpeed
* updated doc to underline difference between block and frameYann Collet2019-04-125-26/+46
| | | | as this is a very frequent source of confusion for new users.
* Merge pull request #665 from lz4/dictYann Collet2019-04-116-15/+50
|\ | | | | Dictionary compression
| * improved documentation for LZ4 dictionary compressionYann Collet2019-04-116-15/+50
| |
* | Merge pull request #664 from lz4/maxdistYann Collet2019-04-116-38/+84
|\ \ | |/ | | introduce LZ4_DISTANCE_MAX build macro
| * introduce LZ4_DISTANCE_MAX build macroYann Collet2019-04-116-38/+84
|/ | | | | | | | | | make it possible to generate LZ4-compressed block with a controlled maximum offset (necessarily <= 65535). This could be useful for compatibility with decoders using a very limited memory budget (<64 KB). Answer #154