Browse Source

HPCC-10555 Fix Out of Bounds array access

Signed-off-by: Gleb Aronsky <gleb.aronsky@lexisnexis.com>
Gleb Aronsky 11 years ago
parent
commit
5f3ec640ee
1 changed files with 1 additions and 1 deletions
  1. 1 1
      deployment/deployutils/wizardInputs.cpp

+ 1 - 1
deployment/deployutils/wizardInputs.cpp

@@ -214,7 +214,7 @@ void CWizardInputs::setWizardRules()
           if (type == 0)
             continue;
 
-          if (type > 0 && type < 5)
+          if (type > 0 && type < 4)
             m_roxieAgentRedType.clear().append(roxieRedTypes[type]);
           else
             continue;