Skip to content

Commit ede9e78

Browse files
Jami CogswellJami Cogswell
authored andcommitted
Java: remove exists variable in test
1 parent 48d1fe0 commit ede9e78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/ql/test/query-tests/security/CWE-352/CsrfUnprotectedRequestTypeTest.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module CsrfUnprotectedRequestTypeTest implements TestSig {
77

88
predicate hasActualResult(Location location, string element, string tag, string value) {
99
tag = "hasCsrfUnprotectedRequestType" and
10-
exists(CallPathNode src, CallPathNode sink | unprotectedStateChange(src, sink) |
10+
exists(CallPathNode src | unprotectedStateChange(src, _) |
1111
src.getLocation() = location and
1212
element = src.toString() and
1313
value = ""

0 commit comments

Comments
 (0)