Minor check for problematic injections

This commit is contained in:
Miroslav Stampar 2016-01-14 13:16:44 +01:00
parent c78a9cd156
commit c7ef9429ae

View File

@ -782,6 +782,10 @@ def checkFalsePositives(injection):
retVal = None retVal = None
break break
elif checkBooleanExpression("%d %d" % (randInt3, randInt2)):
retVal = None
break
if retVal is None: if retVal is None:
warnMsg = "false positive or unexploitable injection point detected" warnMsg = "false positive or unexploitable injection point detected"
logger.warn(warnMsg) logger.warn(warnMsg)