Skip to content

Commit 69d1895

Browse files
committed
Update java/ql/lib/semmle/code/java/security/PathSanitizer.qll
1 parent 6fcaae2 commit 69d1895

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ private class PathTraversalGuard extends Guard {
224224
}
225225

226226
Expr getCheckedExpr() {
227-
exists(MethodAccess ma | ma = this.(BinaryExpr).getAnOperand() or ma = this |
227+
exists(MethodAccess ma | ma = this.(EqualityTest).getAnOperand() or ma = this |
228228
result = ma.getQualifier()
229229
)
230230
}

0 commit comments

Comments
 (0)