[monitoring-plugins] plugins: check_http: Increase regexp limit

Jan Wagner git at monitoring-plugins.org
Sat Apr 10 13:50:11 CEST 2021


    Module: monitoring-plugins
    Branch: wip-2.3.1
    Commit: e819b582d5bd1a3373d8bf2774bdff7bd6ce0a19
    Author: Tomas Mozes <hydrapolic at gmail.com>
 Committer: Jan Wagner <waja at cyconet.org>
      Date: Wed Dec  5 12:50:53 2018 +0100
       URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=e819b58

plugins: check_http: Increase regexp limit

---

 plugins/check_http.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/check_http.c b/plugins/check_http.c
index e2298b1..986cdf2 100644
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
@@ -72,7 +72,7 @@ int maximum_age = -1;
 
 enum {
   REGS = 2,
-  MAX_RE_SIZE = 256
+  MAX_RE_SIZE = 1024
 };
 #include "regex.h"
 regex_t preg;



More information about the Commits mailing list