diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2023-02-11 17:39:24 (GMT) |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2023-02-11 17:39:24 (GMT) |
commit | 27b0c6964559ba60ff6c7a626d51e62e5256ed62 (patch) | |
tree | eb709664a51b14efb186d9ebec2877cfd36296f8 /plugins/check_curl.c | |
parent | f867d7b44080fa9716deeff4476275f9a489879f (diff) | |
download | monitoring-plugins-27b0c6964559ba60ff6c7a626d51e62e5256ed62.tar.gz |
fixed regerror is MAX_INPUT_BUFFER writting into too small errbuf
Diffstat (limited to 'plugins/check_curl.c')
-rw-r--r-- | plugins/check_curl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_curl.c b/plugins/check_curl.c index 7916eb5..406f6f8 100644 --- a/plugins/check_curl.c +++ b/plugins/check_curl.c | |||
@@ -173,7 +173,7 @@ double time_connect; | |||
173 | double time_appconnect; | 173 | double time_appconnect; |
174 | double time_headers; | 174 | double time_headers; |
175 | double time_firstbyte; | 175 | double time_firstbyte; |
176 | char errbuf[CURL_ERROR_SIZE+1]; | 176 | char errbuf[MAX_INPUT_BUFFER]; |
177 | CURLcode res; | 177 | CURLcode res; |
178 | char url[DEFAULT_BUFFER_SIZE]; | 178 | char url[DEFAULT_BUFFER_SIZE]; |
179 | char msg[DEFAULT_BUFFER_SIZE]; | 179 | char msg[DEFAULT_BUFFER_SIZE]; |