| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
to clarify #589
|
| |
|
|\
| |
| | |
fix LZ4F_compressEnd()
|
| |
| |
| |
| |
| |
| |
| |
| | |
following recommendations by @raggi.
The fix is slightly different, but achieves the same goal,
and is backed by a test tool which proves that it works
(generates the error before the patch, no longer after the patch).
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|/ |
|
|\
| |
| | |
fixed improper hint
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
when LZ4F_decompress() decodes an uncompressed block,
it provides an incorrect hint for next block
when frame checksum is enabled and block checksum is not.
Impact is low : the hint is just an hint,
the decoder works whatever the amount of input provided.
But the assumption that each call to LZ4F_decompress()
would generate just one complete block if input size hint was respected
was broken by this error.
|
|/
|
|
| |
check if full reset is needed.
|
|\
| |
| | |
Support for 128bit pointers like AS400
|
| |
| |
| |
| | |
to reduce memory usage on 128-bits systems
|
| | |
|
| |\ |
|
| | | |
|
| | |
| | |
| | |
| | | |
including 128-bit, like IBM AS-400
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
so "funny" thing with cppcheck
is that no 2 versions give the same list of warnings.
On Mac, I'm using v1.81, which had all warnings fixed.
On Travis CI, it's v1.61, and it complains about a dozen more/different things.
On Linux, it's v1.72, and it finds a completely different list of a half dozen warnings.
Some of these seems to be bugs/limitations in cppcheck itself.
The TravisCI version v1.61 seems unable to understand %zu correctly, and seems to assume it means %u.
|
| | | |
|
| |/
|/| |
|
|\ \
| |/
|/| |
unpublish static-only functions
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
these functions are now unpublished in dll by default.
One needs to opt-in, using macro LZ4_PUBLISH_STATIC_FUNCTIONS.
used this opportunity to update a bunch of api comments in lz4.h
|
|\ \
| | |
| | | |
avoid final trailing comma for enum lists
|
| |/
| |
| |
| |
| |
| |
| | |
as detected in #485 by @JoachimSchneider.
Refactored the c_standards tests
so that these issues get automatically detected in CI tests.
|
|\ \
| |/
|/| |
FIx pkgconfig file installation on MidnightBSD
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
and separate it from MATCH_SAFEGUARD_DISTANCE.
While both constants have same value,
they do not seve same purpose, hence should not be confused.
|
| |
| |
| |
| | |
added a few more comments and assert()
|
| |
| |
| |
| | |
to counter possible (offset==0)
|
| | |
|
|\ \ |
|
| |\ \
| | | |
| | | | |
Migrate CircleCI tests from 1.0 towards 2.0
|
| | |\ \
| | | |/ |
|
| |\ \ \
| | |_|/
| |/| | |
Introduced constants LZ4F_INIT_*
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
to simplify initialization of lz4frame.h structures.
Partially in response to #546.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
and removed one blind copy, since there is no more guarantee that at least 4 bytes are still available in output buffer
|
| | | | |
|
| |_|/
|/| | |
|
|/ / |
|
|\ \
| |/
|/| |
updated documentation for dictionary compression
|
| |
| |
| |
| |
| |
| | |
following suggestion from @stbrumme (#558)
Also : bumped version number, regenerated man page and html doc
|
| |
| |
| |
| | |
which is not correct when using LZ4_HC with dictionary and starting from a low address (<0x10000).
|
|/
|
|
|
|
|
| |
it was a fairly complex scenario,
involving source files > 64K
and some extraordinary conditions related to specific layout of ranges of zeroes.
and only on level 9.
|
| |
|
|\
| |
| | |
Add --fast command to cli
|
| |
| |
| |
| | |
negative compresion level
|
|/
|
|
| |
Fixes #549.
|
|\
| |
| | |
allow to override uname when cross-compiling
|
| |
| |
| |
| |
| |
| | |
When cross-compiling for example from Darwin to Linux it might be
useful to override uname output to force Linux and create Linux
libraries instead of Darwin libraries.
|