[monitoring-plugins] check_curl: Increase regexp limit (to 1024 as in ...
Andreas Baumann
git at monitoring-plugins.org
Thu Apr 8 14:10:11 CEST 2021
Module: monitoring-plugins
Branch: feature_check_curl
Commit: f90aec83cb20263401ab620d07e4914355d9681d
Author: Andreas Baumann <mail at andreasbaumann.cc>
Date: Thu Apr 8 14:07:20 2021 +0200
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=f90aec8
check_curl: Increase regexp limit (to 1024 as in check_http)
---
plugins/check_curl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/check_curl.c b/plugins/check_curl.c
index 8125ee8..f900f16 100644
--- a/plugins/check_curl.c
+++ b/plugins/check_curl.c
@@ -117,7 +117,7 @@ typedef enum curlhelp_ssl_library {
enum {
REGS = 2,
- MAX_RE_SIZE = 256
+ MAX_RE_SIZE = 1024
};
#include "regex.h"
regex_t preg;
More information about the Commits
mailing list