Commit Graph

40 Commits

Author SHA1 Message Date
niXman
65e2cda7aa unchecked argv[idx] access 2017-04-26 13:04:04 +03:00
Yann Collet
1f3d54ddb4 fixed malloc(0) potential issue
Added test cases to cover #556 patch
2017-02-22 11:08:00 -08:00
Soojin Nam
971c161318 test for fail to decompress 2017-02-22 16:04:48 +09:00
Soojin Nam
6e18d33122 original size unknown 2017-02-21 09:51:40 +09:00
Yann Collet
4596037042 updated fse version
feature minor refactoring (removing FSE_abs())
also : fix a few minor issues recently introduced in examples
2017-02-15 12:00:03 -08:00
zefanxu2
2bb6fc2a94 fix memory leak 2017-02-13 21:12:59 -06:00
Sean Purcell
4e709712e1 Decompressed size functions now handle multiframes and distinguish cases
- Add ZSTD_findDecompressedSize
    - Traverses multiple frames to find total output size
- Add ZSTD_getFrameContentSize
    - Gets the decompressed size of a single frame by reading header
- Deprecate ZSTD_getDecompressedSize
2017-02-08 14:50:10 -08:00
Yann Collet
6e754fe76a fixed lib soname.
example : simple_compression : size overflow check
2016-12-08 18:26:56 -08:00
Yann Collet
16a5752588 streaming example uses stable API 2016-12-08 17:28:26 -08:00
Yann Collet
22de81e87e updated man page 2016-10-28 13:58:31 -07:00
Yann Collet
bfae317ae3 minor const added 2016-10-26 18:44:59 -07:00
Yann Collet
cf08958d9b print one global summary (instead of one per file) 2016-10-26 18:37:29 -07:00
Yann Collet
82613d72e4 added example multiple_streaming_compression 2016-10-26 18:10:43 -07:00
Nick Terrell
3e82f2b61a Remove references to GPLv2 license
License headers added to Makefiles were taken from `zstd/Makefile`.
2016-10-11 15:28:40 -07:00
Yann Collet
47f3697f32 added error check 2016-09-20 11:59:12 +02:00
Yann Collet
86bdcd83c1 added error checking 2016-09-20 11:54:29 +02:00
Yann Collet
4ca3d4bc25 streaming compression example can handle situations where input buffer size is manually set to a small value. 2016-09-18 12:19:06 +02:00
Yann Collet
88aa179347 added comments on buffer sizes guarantees 2016-09-18 11:58:30 +02:00
Yann Collet
a2664649df better error handling 2016-09-09 19:33:56 +02:00
Yann Collet
b94fcc8d8a clarified doc 2016-09-09 14:56:15 +02:00
Yann Collet
264c733ad6 clarified tests 2016-09-08 19:39:00 +02:00
Yann Collet
01c199226a updated decompression streaming example 2016-09-08 19:29:04 +02:00
Yann Collet
4ded9e591c added boilerplate 2016-08-30 11:06:28 -07:00
Yann Collet
2065879793 updated examples 2016-08-17 01:48:43 +02:00
Yann Collet
9f9f1fcb52 added streaming_decompression example 2016-08-16 15:11:28 +02:00
Yann Collet
553b213ada added streaming_compression.c example 2016-08-16 15:11:28 +02:00
Yann Collet
0763905f44 ZSTD_compress_usingCDict() correctly provides original size by default in frame header
Fixed dictionary examples
2016-08-03 01:57:57 +02:00
Yann Collet
0b2d682487 fixed freeCDict 2016-08-01 17:39:06 +02:00
Yann Collet
373d4f9070 updated examples (#273) 2016-08-01 17:36:11 +02:00
Yann Collet
4b9ca0a6b5 minor example variation 2016-07-27 19:53:19 +02:00
Yann Collet
3b8b575c0b updated NEWS 2016-07-17 01:03:26 +02:00
Yann Collet
8e0084796a updated doc 2016-07-15 18:56:07 +02:00
Yann Collet
cadd7cd54f added dictionary_compression.c example 2016-07-15 18:52:37 +02:00
Yann Collet
98c8884999 added target zstd in root Makefile 2016-07-15 16:12:38 +02:00
Yann Collet
5e80dd3261 fixed minor coverity warnings 2016-07-13 19:21:57 +02:00
Yann Collet
677ed26aa7 Added examples/Makefile 2016-07-10 14:25:38 +02:00
Yann Collet
25c506601c promote ZSTD_getDecompressedSize() to stable API 2016-07-10 01:46:18 +02:00
Yann Collet
e66708daf7 updated doc with zstd homepage 2016-07-09 22:56:12 +02:00
Yann Collet
0809a8863d added simple examples 2016-07-09 18:25:10 +02:00
Yann Collet
974f52fc5d Added "dictionary decompression" example 2016-07-07 14:08:00 +02:00