mirror of
https://github.com/facebook/zstd.git
synced 2025-07-06 15:45:37 +02:00
* add checks to mal-formed numeric values for memory and memlimit parameters Signed-off-by: Ly Cao <lycao@fb.com> * changed errorMsg to a literal string instead of static string in main * moved bogus numeric error to NEXT_UINT32 + add macro NEXT_TSIZE Signed-off-by: Ly Cao <lycao@fb.com> Signed-off-by: Ly Cao <lycao@fb.com> Co-authored-by: Ly Cao <lycao@fb.com>
14 lines
874 B
Plaintext
14 lines
874 B
Plaintext
error: only numeric values with optional suffixes K, KB, KiB, M, MB, MiB are allowed
|
|
error: only numeric values with optional suffixes K, KB, KiB, M, MB, MiB are allowed
|
|
error: only numeric values with optional suffixes K, KB, KiB, M, MB, MiB are allowed
|
|
error: only numeric values with optional suffixes K, KB, KiB, M, MB, MiB are allowed
|
|
error: only numeric values with optional suffixes K, KB, KiB, M, MB, MiB are allowed
|
|
error: only numeric values with optional suffixes K, KB, KiB, M, MB, MiB are allowed
|
|
Should allow numeric parameter without suffix
|
|
Should allow numeric parameter with expected suffix
|
|
Should allow numeric parameter with expected suffix
|
|
Should allow numeric parameter with expected suffix
|
|
Should allow numeric parameter with expected suffix
|
|
Should allow numeric parameter with expected suffix
|
|
Should allow numeric parameter with expected suffix
|