From 36921aafebf462108abab19df754914743deb964 Mon Sep 17 00:00:00 2001 From: lixianliang Date: Tue, 26 Jan 2016 13:46:41 +0800 Subject: [PATCH] fix logical error in commit c7ef9429ae80d31bfe79b5ed9d49d08b77530049 --- lib/controller/checks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/controller/checks.py b/lib/controller/checks.py index 52a980ba5..2adf70c8a 100644 --- a/lib/controller/checks.py +++ b/lib/controller/checks.py @@ -793,7 +793,7 @@ def checkFalsePositives(injection): retVal = None break - elif checkBooleanExpression("%d %d" % (randInt3, randInt2)): + elif not checkBooleanExpression("%d %d" % (randInt3, randInt2)): retVal = None break