Bläddra i källkod

HPCC-10555 Fix Out of Bounds array access

Signed-off-by: Gleb Aronsky <gleb.aronsky@lexisnexis.com>
Gleb Aronsky 11 år sedan
förälder
incheckning
5f3ec640ee
1 ändrade filer med 1 tillägg och 1 borttagningar
  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;