summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1099 from lz4/pr1094_frametestYann Collet2022-07-051-12/+26
|\ | | | | Add a fuzzer test for LZ4F_uncompressedUpdate() within frametest
| * update frametest for new condition for uncompressedUpdateYann Collet2022-07-051-13/+10
| |
| * Merge branch 'pr1094' into pr1094_frametestYann Collet2022-07-0511-181/+86
| |\
| * | added fuzzer test for LZ4F_uncompressedUpdate in frametestYann Collet2022-07-011-12/+29
| | |
* | | ignore ossfuzz artifactYann Collet2022-07-051-23/+4
| | |
* | | Merge pull request #1094 from alexmohr/add-uncompressed-apiYann Collet2022-07-058-44/+394
|\ \ \ | | |/ | |/| frame-api: add function to insert uncomressed data
| * | review: fix findingsAlexander Mohr2022-07-056-23/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | * replace assert with test for LZ4F_uncompressedUpdate * update documentation to incldue correct docstring * remove unecessary entry point * remove compress_linked_block_mode from fuzzing test Signed-off-by: Alexander Mohr <alexander.m.mohr@mercedes-benz.com>
| * | uncompressed-api: allow uncompressed_update only for independent blocksAlexander Mohr2022-07-056-163/+84
| | | | | | | | | | | | Signed-off-by: Alexander Mohr <alexander.m.mohr@mercedes-benz.com>
| * | lz4frame: correct start and size after flushAlexander Mohr2022-07-041-1/+4
| |/ | | | | | | | | | | | | | | | | | | | | when the block mode changes a flush is executed, to prevent mixing compressed and uncompressed data. Prior to this commit dstStart, dstPtr, dstCapacity where not updated to include the offset from bytesWritten. For inputs > blockSize this meant the flushed data was overwritten. Signed-off-by: Alexander Mohr <alexander.m.mohr@mercedes-benz.com>
| * ossfuzz: extend fuzzing test to include linked blocksAlexander Mohr2022-06-131-5/+24
| | | | | | | | | | | | fuzzing test now tests linked and independent blocks Signed-off-by: Alexander Mohr <alexander.m.mohr@mercedes-benz.com>
| * meson: fix meson buildAlexander Mohr2022-06-112-2/+2
| | | | | | | | add static dependency to examples
| * dict-size: make lz4 context constAlexander Mohr2022-06-115-7/+7
| | | | | | | | | | change the context to const to make clear that the context is not modified
| * lz4frame: fix different linkage errorAlexander Mohr2022-06-111-1/+1
| | | | | | | | Signed-off-by: Alexander Mohr <alexander.m.mohr@mercedes-benz.com>
| * fuzz-test: add fuzz test for uncompressed apiAlexander Mohr2022-06-114-7/+129
| | | | | | | | | | | | add a fuzzing test for uncompressed frame api Signed-off-by: Alexander Mohr <alexander.m.mohr@mercedes-benz.com>
| * review: Fix review findingsAlexander Mohr2022-06-104-39/+47
| | | | | | | | | | | | This commit fixes the review findings Signed-off-by: Alexander Mohr <alexander.m.mohr@mercedes-benz.com>
| * review: Fix review findingsAlexander Mohr2022-06-108-27/+89
| | | | | | | | | | | | This commit fixes the review findings Signed-off-by: Alexander Mohr <alexander.m.mohr@mercedes-benz.com>
| * frame-api: add method to insert uncomressed dataAlexander Mohr2022-06-098-95/+329
| | | | | | | | | | | | | | | | new method `uncompressed_update` allows to insert blocks without compression into the lz4 stream. The usage is documented in the frameCompress example Signed-off-by: Alexander Mohr <alexander.m.mohr@mercedes-benz.com>
* | clarify yet another time what dual-license meansYann Collet2022-07-042-3/+4
| |
* | updated dll READMEYann Collet2022-07-041-9/+9
| |
* | Merge branch 'dev' of github.com:Cyan4973/lz4 into devYann Collet2022-07-042-0/+30
|\ \
| * \ Merge pull request #1088 from turrisxyz/Pinned-Dependencies-GitHubYann Collet2022-07-011-0/+3
| |\ \ | | | | | | | | chore: Set permissions for GitHub actions
| | * | chore: Set permissions for GitHub actionsnathannaveen2022-05-311-0/+3
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much. - Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs [Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/) Signed-off-by: nathannaveen <42319948+nathannaveen@users.noreply.github.com>
| * | ignore ossfuzz artifactsYann Collet2022-07-011-0/+27
| | |
* | | silence a useless MSVC warningYann Collet2022-07-041-0/+1
|/ /
* | Merge pull request #1098 from lz4/blockDeviceTestYann Collet2022-07-015-177/+217
|\ \ | | | | | | Block device compression
| * | fixed minor leakYann Collet2022-07-013-10/+6
| | |
| * | fixed -tmYann Collet2022-07-013-4/+11
| | | | | | | | | | | | which was broken up to now.
| * | minor refactor : EXM_THROW -> END_PROCESSYann Collet2022-07-011-76/+70
| | |
| * | fix #1086Yann Collet2022-07-011-9/+1
| | | | | | | | | | | | just remove the specific code of #704, it's not necessary and produces side effects.
| * | refactored logic to test special file namesYann Collet2022-07-013-58/+98
| | |
| * | fail on requesting to process 3+ file names in legacy modeYann Collet2022-07-013-32/+29
| | | | | | | | | | | | warning only if -f is selected.
| * | test lz4 compression on a block deviceYann Collet2022-07-011-1/+15
|/ / | | | | | | | | block device created as part of the test. Requires sudo rights.
* | Merge pull request #1093 from yawqi/partial-with-dictYann Collet2022-06-1212-16/+299
|\ \ | | | | | | API: add `LZ4_decompress_safe_partial_usingDict` to support partial decompression with dict
| * | ossfuzz: add fuzz for `LZ4_decompress_safe_partial_usingDict`Qi Wang2022-06-072-4/+79
| | | | | | | | | | | | Signed-off-by: Qi Wang <wangqi@linux.alibaba.com>
| * | tests: add tests for `LZ4_decompress_safe_partial_usingDict`Qi Wang2022-06-075-8/+168
| | | | | | | | | | | | Signed-off-by: Qi Wang <wangqi@linux.alibaba.com>
| * | API: add `LZ4_decompress_safe_partial_usingDict` APIQi Wang2022-06-072-1/+49
| | | | | | | | | | | | | | | | | | feature request: #1051 Signed-off-by: Qi Wang <wangqi@linux.alibaba.com>
| * | docs: fix some typoQi Wang2022-06-063-3/+3
|/ / | | | | | | Signed-off-by: Qi Wang <wangqi@linux.alibaba.com>
* | updated documentation of LZ4F_freeCompressionContextYann Collet2022-06-051-4/+7
|/ | | | to answer #1090
* Merge pull request #1084 from Low-power/fix-unit-prefix-namesYann Collet2022-05-241-5/+5
|\ | | | | Correct unit prefix names in programs/lz4io.c
| * Correct unit prefix names in programs/lz4io.cWHR2022-05-241-5/+5
|/
* Merge pull request #1082 from lz4/error_genericYann Collet2022-05-102-58/+53
|\ | | | | Removed all ERROR_GENERIC from lz4frame
| * introduced FORWARD_IF_ERROR()Yann Collet2022-05-101-48/+49
| | | | | | | | | | | | and removed prefix from RETURN_ERROR(_IF) to improve brevity as it's just a local macro (no bleeding in user's namespace).
| * introduced macro LZ4F_RETURN_ERROR_IFYann Collet2022-05-071-32/+23
| |
| * introduced macro LZ4F_RETURN_ERRORYann Collet2022-05-071-37/+39
| |
| * removed ERROR_GENERIC from lz4frame.hYann Collet2022-05-072-3/+4
| | | | | | | | created a new error code in the process : LZ4F_ERROR_compressionState_uninitialized
* | Merge pull request #1080 from t-mat/devYann Collet2022-05-071-0/+1
|\ \ | |/ |/| Add virtual environment checking for Ubuntu 22.04
| * Add virtual environment checking for Ubuntu 22.04Takayuki Matsuoka2022-05-071-0/+1
|/ | | | | | | GitHub Actions recently provides public beta version of Ubuntu 22.04 https://github.com/actions/virtual-environments/issues/5490 This change set just adds environment checking matrix for further changes.
* update library version to v1.9.4Yann Collet2022-04-173-10/+10
| | | | to reduce confusion in traces between dev branch and latest v1.9.3 release.
* Merge pull request #1077 from danyeaw/patch-2Yann Collet2022-04-171-1/+1
|\ | | | | Fix default_library undeclared error in Windows
| * Fix default_library undeclared error in WindowsDan Yeaw2022-04-151-1/+1
|/