zstd
zstd copied to clipboard
More checks on numeric input for `zstd` CLI
Closes https://github.com/facebook/zstd/issues/3070
- Added check for a possible invalid combination of numeric values in
zstdCLI - Does not perfectly cover all invalid combinations, but it's better than before
- Added some tests
- Slightly changes
--memory,--memlimitand--memlimit-decompressto only be used with=at the end of the parameter memLimittype changed fromunsignedtosize_tto be more in line withsrcSizeHint, as both refer to memory values