Change max rule compare string size from 23 to 79

Change max rule compare string size from 23 to 79 (#6624)
This commit is contained in:
Theo Arends 2019-10-12 16:42:11 +02:00
parent c0c044bb62
commit 7b316f48f1
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ bool RulesRuleMatch(uint8_t rule_set, String &event, String &rule)
String rule_name, rule_param;
int8_t compareOperator = parseCompareExpression(rule_expr, rule_name, rule_param); //Parse the compare expression.Return operator and the left, right part of expression
char rule_svalue[CMDSZ] = { 0 };
char rule_svalue[80] = { 0 };
float rule_value = 0;
if (compareOperator != COMPARE_OPERATOR_NONE) {
for (uint32_t i = 0; i < MAX_RULE_VARS; i++) {