From: Yi Jin Date: Thu, 20 Dec 2018 01:06:56 +0000 (-0800) Subject: add a section on restricted support of environment variables to README.md X-Git-Tag: v1.3.8~14^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29c7d82390bc052bd8d40b1801d96d1655bcc5d8;p=thirdparty%2Fzstd.git add a section on restricted support of environment variables to README.md --- diff --git a/programs/README.md b/programs/README.md index ca9056eaa..baf90e88f 100644 --- a/programs/README.md +++ b/programs/README.md @@ -172,6 +172,10 @@ Benchmark arguments : --priority=rt : set process priority to real-time ``` +#### Restricted usage of Environment Variables +Using environment variables to set compression/decompression parameters has security implications. Therefore, +we intentionally restrict its usage. Currently, only `ZSTD_CLEVEL` is supported for setting compression level. +If the value of `ZSTD_CLEVEL` is not a valid integer, it will be ignored with a warning message. #### Long distance matching mode The long distance matching mode, enabled with `--long`, is designed to improve