diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-11-24 14:56:57 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-12-07 08:38:05 +0100 |
commit | ec9cc725d598ac77de7b6df8afeec292b3c8ad46 (patch) | |
tree | 1b058703873aa904c9815549903d867542d96cbb /src | |
parent | abd846c374c5269809ce11740754bc6f00a0b193 (diff) | |
download | curl-ec9cc725d598ac77de7b6df8afeec292b3c8ad46.tar.gz |
ftp: CURLOPT_FTP_SKIP_PASV_IP by default
The command line tool also independently sets --ftp-skip-pasv-ip by
default.
Ten test cases updated to adapt the modified --libcurl output.
Bug: https://curl.se/docs/CVE-2020-8284.html
CVE-2020-8284
Reported-by: Varnavas Papaioannou
Diffstat (limited to 'src')
-rw-r--r-- | src/tool_cfgable.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tool_cfgable.c b/src/tool_cfgable.c index c52d8e1c6..4c06d3557 100644 --- a/src/tool_cfgable.c +++ b/src/tool_cfgable.c @@ -44,6 +44,7 @@ void config_init(struct OperationConfig *config) config->tcp_nodelay = TRUE; /* enabled by default */ config->happy_eyeballs_timeout_ms = CURL_HET_DEFAULT; config->http09_allowed = FALSE; + config->ftp_skip_ip = TRUE; } static void free_config_fields(struct OperationConfig *config) |