Merge pull request #2193 from likaer/master

状态机检测逻辑漏洞修复
This commit is contained in:
温绍
2017-12-14 20:19:17 +08:00
committed by GitHub
@@ -706,7 +706,9 @@ public abstract class WallProvider {
sqlStat = addWhiteSql(sql, tableStat, context.getFunctionStats(), syntaxError);
}
}
if(sqlStat == null && updateCheckHandlerEnable){
sqlStat = new WallSqlStat(tableStat, context.getFunctionStats(), syntaxError);
}
Map<String, WallSqlTableStat> tableStats = null;
Map<String, WallSqlFunctionStat> functionStats = null;
if (context != null) {