We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c575a2b commit f92d763Copy full SHA for f92d763
cpp/ql/src/experimental/Security/CWE/CWE-703/FindIncorrectlyUsedExceptions.ql
@@ -24,7 +24,7 @@ where
24
texp.getEnclosingStmt().getParentStmt*() = ts.getStmt() and
25
not ts.getACatchClause().isEmpty()
26
) and
27
- msg = "DllMain contains an exeption not wrapped in a try..catch block."
+ msg = "DllMain contains an exception not wrapped in a try..catch block."
28
or
29
texp.getExpr().isParenthesised() and
30
texp.getExpr().(CommaExpr).getLeftOperand().isConstant() and
0 commit comments