We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc899b6 commit 018d5c4Copy full SHA for 018d5c4
java/ql/src/experimental/Security/CWE/CWE-755/NFEAndroidDoS.ql
@@ -28,7 +28,7 @@ class NFELocalDoSConfiguration extends TaintTracking::Configuration {
28
e.getEnclosingCallable().getDeclaringType().(ExportableAndroidComponent).isExported() and
29
throwsNFE(e) and
30
not exists(TryStmt t |
31
- t.getBlock() = e.getEnclosingStmt().getEnclosingStmt*() and
+ t.getBlock() = e.getAnEnclosingStmt() and
32
catchesNFE(t)
33
) and
34
sink.asExpr() = e
0 commit comments