From f1f34a65a2e56f465ec1b9eacbf7b421bb73a634 Mon Sep 17 00:00:00 2001 From: stamparm Date: Wed, 15 May 2013 13:38:26 +0200 Subject: [PATCH] Minor update --- lib/controller/checks.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/controller/checks.py b/lib/controller/checks.py index a875187ad..db8e97ba0 100644 --- a/lib/controller/checks.py +++ b/lib/controller/checks.py @@ -699,8 +699,7 @@ def checkSuhosinPatch(injection): kb.injection = injection randInt = randomInt() - _ = " " * (SUHOSIN_MAX_VALUE_LENGTH / 2) - if not checkBooleanExpression("%d%s=%s%d" % (randInt, _, _, randInt)): + if not checkBooleanExpression("%d=%s%d" % (randInt, ' ' * SUHOSIN_MAX_VALUE_LENGTH, randInt)): warnMsg = "parameter length constraint " warnMsg += "mechanism detected (e.g. Suhosin patch). " warnMsg += "Potential problems in enumeration phase can be expected"