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 5709365 commit fd73f40Copy full SHA for fd73f40
cpp/ql/src/experimental/Security/CWE/CWE-703/FindIncorrectlyUsedExceptions.ql
@@ -46,5 +46,6 @@ where
46
not fc instanceof ConstructorDelegationInit and
47
not fc.getParent() instanceof Initializer and
48
not fc.getParent() instanceof AllocationExpr and
49
+ not fc.getEnclosingStmt() instanceof ReturnStmt and
50
msg = "This object does not generate an exception."
51
select fc, msg
0 commit comments