[monitoring-plugins] check_curl: Increase regexp limit (to 1024 as in ...
Jan Wagner
git at monitoring-plugins.org
Sat Apr 10 13:50:12 CEST 2021
Module: monitoring-plugins
Branch: wip-2.3.1
Commit: 74fb00f7a0e453808864390e73837aea5247346a
Author: Andreas Baumann <mail at andreasbaumann.cc>
Committer: Jan Wagner <waja at cyconet.org>
Date: Thu Apr 8 14:07:20 2021 +0200
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=74fb00f
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