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

Jan Wagner git at monitoring-plugins.org
Wed Apr 7 18:10:12 CEST 2021


    Module: monitoring-plugins
    Branch: wip-2.3.1
    Commit: 3f867a1a0f5a7dc13d5852ef8f47aa56468190ed
    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=3f867a1

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