Update java/ql/lib/semmle/code/java/security/PathSanitizer.qll

This commit is contained in:
Tony Torralba
2022-08-30 08:59:10 +02:00
parent 6fcaae20e7
commit 69d1895175

View File

@@ -224,7 +224,7 @@ private class PathTraversalGuard extends Guard {
}
Expr getCheckedExpr() {
exists(MethodAccess ma | ma = this.(BinaryExpr).getAnOperand() or ma = this |
exists(MethodAccess ma | ma = this.(EqualityTest).getAnOperand() or ma = this |
result = ma.getQualifier()
)
}