Bimba Shrestha
56415efc76
Constifying, malloc check and naming nit
2019-12-17 17:16:51 -08:00
Bimba Shrestha
989ce13e19
One more type conversion
2019-12-13 16:50:21 -08:00
Bimba Shrestha
4399eed42e
Adding explict cast to satisfy appveyor ci
2019-12-13 16:38:11 -08:00
Bimba Shrestha
db5124ef6e
More void* issues. Just replacing with BYTE*
2019-12-13 16:24:49 -08:00
Bimba Shrestha
49b2bf7106
'void* size issue' fix
2019-12-13 16:06:57 -08:00
Bimba Shrestha
5225dcfc0f
Adding bool to check if enough room left for noCompress superblocks
2019-12-13 15:47:28 -08:00
Bimba Shrestha
e3cd2785e2
Add test to catch too many noCompress superblocks on streaming
2019-12-13 15:31:29 -08:00
Bimba Shrestha
e1913dc87f
Making const, removing unnecessary indent, changing parameter order
2019-12-04 15:51:17 -08:00
Bimba Shrestha
2ec556fec2
Moving init/end functions, moving compressSuperBlock inside body()
2019-12-04 15:23:13 -08:00
Bimba Shrestha
ffb0463041
Refactor
2019-12-04 14:52:27 -08:00
Bimba Shrestha and Nick Terrell
49c6d49247
[fuzz] msan uninitialized unsigned value ( #1908 )
...
Fixes new fuzz issue
Credit to OSS-Fuzz
* Initializing unsigned value
* Initialilzing to 1 instead of 0 because its more conservative
* Unconditionoally setting to check first and then checking zero
* Moving bool to before block for c90
* Move check set before block
2019-12-04 10:02:17 -08:00
Bimba Shrestha
1fc9352f81
Using bss var instead of creating new bool
2019-12-02 21:39:06 -08:00
Bimba Shrestha
1f681d8592
Merge branch 'oss' of https://github.com/bimbashrestha/zstd into oss
2019-11-27 10:56:54 -08:00
Bimba Shrestha and Nick Terrell
a3a3c62b81
[fuzz] Only set HUF_repeat_valid if loaded table has all non-zero weights ( #1898 )
...
Fixes a fuzz issue where dictionary_round_trip failed because the compressor was generating corrupt files thanks to zero weights in the table.
* Only setting loaded dict huf table to valid on non-zero
* Adding hasNoZeroWeights test to fse tables
* Forbiding nbBits != 0 when weight == 0
* Reverting the last commit
* Setting table log to 0 when weight == 0
* Small (invalid) zero weight dict test
* Small (valid) zero weight dict test
* Initializing repeatMode vars to check before zero check
* Removing FSE changes to seperate pr
* Reverting accidentally changed file
* Negating bool, using unsigned, optimization nit
2019-11-26 12:24:19 -08:00
Bimba Shrestha
d4e17d0776
Negating bool, updating bool on inner branches
2019-11-26 12:17:43 -08:00
Bimba Shrestha and GitHub
826b555463
Merge branch 'dev' into oss
2019-11-22 17:29:33 -08:00
Bimba Shrestha
707a12c419
Test enough room for checksum in superblock
2019-11-22 17:25:36 -08:00
Bimba Shrestha
10bce1919e
Mixed declration fix
2019-11-21 13:08:27 -08:00
Bimba Shrestha
0451accab1
Checking noCompressBlock explicitly for rep code confirmation
2019-11-21 13:06:26 -08:00
Bimba Shrestha
8f0c2d04c8
Going back to original flow but removing else return
2019-11-19 10:03:07 -08:00
Bimba Shrestha
b032a6e1d9
Updated some more outdated bounds
2019-11-19 09:55:13 -08:00
Bimba Shrestha
80586f5e80
Reversing condition order and forwarding error
2019-11-18 13:53:55 -08:00
Bimba Shrestha
dade64428f
Output regular uncompressed block when compressSequences fails
2019-11-18 08:43:14 -08:00
Bimba Shrestha
2d5d961a60
Typo in comment
2019-11-15 19:00:53 -08:00
Bimba Shrestha
dba767c0bb
Leaving room for checksum
2019-11-15 18:44:51 -08:00
Bimba Shrestha
982830b081
Fixing hashLog error 2^26=64Mib
2019-11-14 10:48:55 -08:00
Bimba Shrestha
3fb5b106da
Replacing some literals with constants
2019-11-05 10:26:57 -08:00
Bimba Shrestha
28d6773d75
Merge branch 'named_pipes' of https://github.com/bimbashrestha/zstd into named_pipes
2019-10-29 09:46:28 -07:00
Bimba Shrestha
4a9eca4b9d
Removing merge side effect
2019-10-29 09:45:28 -07:00
Bimba Shrestha and GitHub
da73b11b14
Merge branch 'dev' into named_pipes
2019-10-29 01:17:13 -04:00
Bimba Shrestha
66f580ca73
Removing Visual08 and Visual10 tests
2019-10-28 22:09:34 -07:00
Bimba Shrestha
5e59d51991
Merge branch 'master' of https://github.com/bimbashrestha/zstd into named_pipes
2019-10-25 15:43:41 -07:00
Bimba Shrestha
857268b32c
Gating named pipe support in hedaer file
2019-10-25 15:15:28 -07:00
Bimba Shrestha
0b52d878b2
Cleaning up gate and adding comment to flag
2019-10-25 14:06:50 -07:00
Bimba Shrestha
8adecc73b0
Running playtests.sh on PRs too
2019-10-25 12:04:54 -07:00
Bimba Shrestha
5b45ff4f1c
Gating named file support on windows
2019-10-25 11:32:38 -07:00
Bimba Shrestha
4899b6fdbd
Moving arm64 test outside the meson scope
2019-10-23 10:43:20 -07:00
Bimba Shrestha
5228c0718d
Adding arm64 make check
2019-10-22 17:43:29 -07:00
Bimba Shrestha
10f7147013
Adding shell test and removing bash test file
2019-10-22 17:09:44 -07:00
Bimba Shrestha
edae3c8f3c
Adding bash test for named pipes
2019-10-22 16:15:59 -07:00
Bimba Shrestha
8a3974807e
Allowing named pipes to go through zstdcli
2019-10-22 15:23:22 -07:00
Bimba Shrestha
83749411a6
Removing unnecessary check from decode side
2019-10-16 16:26:46 -07:00
Bimba Shrestha
36528b96c4
Manually moving instead of memcpy on decoder and using genBuffer()
2019-10-03 09:26:51 -07:00
Bimba Shrestha
61ec4c2e7f
Cleaning sequence parsing logic
2019-10-03 06:42:40 -07:00
Bimba Shrestha
b63a1e7ae5
Typo fix
2019-09-27 07:20:20 -07:00
Bimba Shrestha
91daee5c06
Fixing appveyor test
2019-09-26 16:21:57 -07:00
Bimba Shrestha
75b1286354
Fixing shortest failure
2019-09-26 16:07:34 -07:00
Bimba Shrestha
bb27472afc
Adding more realistic test for get sequences
2019-09-26 15:38:31 -07:00
Bimba Shrestha
c04245b257
Replacing assert with memory_allocation error code throw
2019-09-23 15:42:16 -07:00
Bimba Shrestha
be0bebd24e
Adding test and null check for malloc
2019-09-23 15:08:18 -07:00
Bimba Shrestha
f3c4fd17e3
Passing in dummy dst buffer of compressbound(srcSize)
2019-09-20 15:50:58 -07:00
Bimba Shrestha
ae6d0e64ae
Addressing comments
2019-09-19 15:25:20 -07:00
Bimba Shrestha
6e9f6813bb
adding bit container size
2019-09-18 13:49:45 -07:00
Bimba Shrestha
f9b6abb896
Adding 4 blocks to FSE_BLOCKBOUND() in lib/common (different from last week)
2019-09-18 13:29:05 -07:00
Bimba Shrestha
3cacc0a30b
Casting void pointer to ZSTD_Sequence pointer
2019-09-17 17:44:08 -07:00
Bimba Shrestha
76fea3fb99
Resolving appveyor test failure implicit conversion
2019-09-16 14:02:23 -07:00
Bimba Shrestha
5b038f128f
Merge branch 'extract_sequences_api' of https://github.com/bimbashrestha/zstd into extract_sequences_api
2019-09-16 13:35:49 -07:00
Bimba Shrestha
1f93be0f6d
Handling memory leak and potential side effect
2019-09-16 13:35:45 -07:00
Bimba Shrestha and GitHub
a874435478
Merge branch 'dev' into extract_sequences_api
2019-09-16 13:29:59 -07:00
Bimba Shrestha
bff6072e3a
Bailing early when collecting sequences and documentation
2019-09-16 08:26:21 -07:00
Bimba Shrestha
fe9af338ed
Added assert to BIT_flushBits()
2019-09-12 15:35:27 -07:00
Bimba Shrestha
43da5bf27e
Rearranging assert and allowing 4 extra for FSE_BLOCKBOUND()
2019-09-12 14:43:50 -07:00