Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | FR #598 - Move LZ4F_compFileInfo_t def to lz4frame.h discard output_file | gabrielstedman | 2019-04-22 | 4 | -15/+24 |
| | | | | assert if in om_list mode | ||||
* | Merge https://github.com/lz4/lz4 into dev | gabrielstedman | 2019-04-22 | 5 | -56/+64 |
|\ | |||||
| * | Merge pull request #686 from lz4/clistdout | Yann Collet | 2019-04-22 | 4 | -46/+62 |
| |\ | | | | | | | cli: warning for stdout as default output | ||||
| | * | ensure tests work when `stdout` is not the console | Yann Collet | 2019-04-22 | 4 | -18/+18 |
| | | | | | | | | | | | | | | | | | | | | | ensure this case is continuously tested on travis. Update documentation on implicit output, invite to not rely on implicit output in scripts. | ||||
| | * | tests/Makefile : created CMP variable | Yann Collet | 2019-04-21 | 1 | -6/+8 |
| | | | | | | | | | | | | | | | | | | for potential redirection, if need be. note : should probably converge all comparison operations onto CMP | ||||
| | * | cli: display a warning whenever default output is stdout while input != stdin | Yann Collet | 2019-04-20 | 2 | -24/+38 |
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | This behavior has been preserved for compatibility with existing ecosystem. But it's problematic, as some environment start `lz4` without identifying stdout as console by default, leading to a change of behavior for a same line of script. A more sensible policy would be to default to stdout only when input is stdin. Soft change for the time being : keep the behavior, just print a warning message. User should prefer `-c` to explicitly select `stdout`. Also : updated tests in Makefile to explicitly select `stdout` with `-c`. | ||||
* | | FR #598 - Make LZ4IO_getCompressedFileInfo internal and reword func | gabrielstedman | 2019-04-22 | 3 | -76/+68 |
| | | |||||
* | | FR #598 Improve initial design, test mallocs, support C90. | gabrielstedman | 2019-04-21 | 4 | -60/+94 |
| | | |||||
* | | correctly use unisgned int for index | gabrielstedman | 2019-04-20 | 1 | -2/+2 |
| | | |||||
* | | Add --list option to display compressed file information. | gabrielstedman | 2019-04-20 | 3 | -3/+82 |
|/ | |||||
* | bumped version number | Yann Collet | 2019-04-19 | 4 | -5/+10 |
| | | | | to v1.9.1 | ||||
* | Merge pull request #684 from lz4/cxxlz4f | Yann Collet | 2019-04-19 | 3 | -6/+8 |
|\ | | | | | lz4frame: initializers compatibility with C++ | ||||
| * | lz4frame: initializers compatibility with C++ | Yann Collet | 2019-04-19 | 3 | -6/+8 |
|/ | | | | fix #679, reported by @degski | ||||
* | Merge pull request #683 from lz4/fuzasan | Yann Collet | 2019-04-19 | 3 | -103/+112 |
|\ | | | | | fixed read-after input in LZ4_decompress_safe() | ||||
| * | fixed read-after input in LZ4_decompress_safe() | Yann Collet | 2019-04-19 | 3 | -103/+112 |
| | | |||||
* | | Merge pull request #682 from lz4/visual | Yann Collet | 2019-04-19 | 8 | -107/+123 |
|\ \ | |/ | | | fix minor Visual warnings | ||||
| * | ensure list of names is large enough | Yann Collet | 2019-04-19 | 1 | -10/+9 |
| | | |||||
| * | fuzzer : reduced stack usage | Yann Collet | 2019-04-19 | 1 | -18/+18 |
| | | |||||
| * | fuzzer: reduce stack usage to please Visual static analyzer | Yann Collet | 2019-04-19 | 1 | -58/+66 |
| | | |||||
| * | address a few minor Visual warnings | Yann Collet | 2019-04-18 | 7 | -26/+35 |
|/ | | | | and created target cxx17build | ||||
* | Merge pull request #678 from lz4/decFast | Yann Collet | 2019-04-18 | 6 | -87/+107 |
|\ | | | | | Fix out-of-bound read in LZ4_decompress_fast() | ||||
| * | fix several minor static analyzer warnings | Yann Collet | 2019-04-18 | 4 | -40/+52 |
| | | |||||
| * | fuzzer: fixed scan-build leak warning | Yann Collet | 2019-04-18 | 1 | -19/+10 |
| | | | | | | | | | | the program exit(), so there is no need to track and dealloc every buffer. | ||||
| * | fuzzer: fix explicit cast for C++ | Yann Collet | 2019-04-17 | 1 | -1/+1 |
| | | |||||
| * | re-enable FORCE_INLINE | Yann Collet | 2019-04-17 | 1 | -3/+0 |
| | | | | | | | | was disabled for tests | ||||
| * | fix out-of-bound read within LZ4_decompress_fast() | Yann Collet | 2019-04-17 | 2 | -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 read | Yann Collet | 2019-04-17 | 1 | -19/+27 |
|/ | |||||
* | Merge pull request #674 from nrgiii/dev | Yann Collet | 2019-04-17 | 2 | -0/+10 |
|\ | | | | | Fix | ||||
| * | Merge branch 'fuzzerAix' into dev | Norm Green | 2019-04-17 | 2 | -0/+10 |
| |\ |/ / | |||||
| * | Fix AIX errors/warnings | Norm Green | 2019-04-17 | 2 | -0/+10 |
|/ | |||||
* | fixed version number for lz4hc | Yann Collet | 2019-04-17 | 1 | -1/+1 |
| | |||||
* | minor benchmark update | Yann Collet | 2019-04-16 | 2 | -4/+4 |
| | | | | was using wrong memory timing | ||||
* | ensure consistent definition and usage of FREEMEM | Yann Collet | 2019-04-16 | 2 | -6/+6 |
| | | | | as suggested by @sloutsky in #671 | ||||
* | minor news update | Yann Collet | 2019-04-16 | 1 | -1/+1 |
| | | | | for msys2 | ||||
* | updated NEWS for v1.9.0 | Yann Collet | 2019-04-16 | 1 | -0/+12 |
| | |||||
* | Merge pull request #669 from lz4/fixframe | Yann Collet | 2019-04-15 | 4 | -74/+67 |
|\ | | | | | Fix lz4frame inefficiency | ||||
| * | simplified output_directive | Yann Collet | 2019-04-15 | 1 | -15/+17 |
| | | |||||
| * | fix comma for pedantic | Yann Collet | 2019-04-15 | 1 | -1/+1 |
| | | |||||
| * | 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(). | ||||
| * | unified limitedOutput_directive | Yann Collet | 2019-04-15 | 2 | -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 fixframe | Yann Collet | 2019-04-15 | 1 | -5/+4 |
| |\ | |/ |/| | |||||
* | | added more margin for canary in frametest | Yann Collet | 2019-04-15 | 1 | -5/+4 |
| | | |||||
| * | decompress*_fast() function do not generate deprecation warnings | Yann Collet | 2019-04-15 | 1 | -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 blocks | Yann Collet | 2019-04-15 | 1 | -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 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. | ||||
* | Merge branch 'dev' of github.com:Cyan4973/lz4 into dev | Yann Collet | 2019-04-13 | 6 | -34/+42 |
|\ |