Skip to content

Commit 3e55c47

Browse files
flow(_, sink) to flowTo(sink)
Co-authored-by: Tony Torralba <[email protected]>
1 parent 5ed1868 commit 3e55c47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/ql/test/query-tests/security/CWE-798/semmle/tests/HardcodedCredentialsSourceCall.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class HardcodedCredentialsSourceCallTest extends InlineExpectationsTest {
99

1010
override predicate hasActualResult(Location location, string element, string tag, string value) {
1111
tag = "HardcodedCredentialsSourceCall" and
12-
exists(DataFlow::Node sink | HardcodedCredentialSourceCallFlow::flow(_, sink) |
12+
exists(DataFlow::Node sink | HardcodedCredentialSourceCallFlow::flowTo(sink) |
1313
sink.getLocation() = location and
1414
element = sink.toString() and
1515
value = ""

0 commit comments

Comments
 (0)