Skip to content

Commit 1e4840e

Browse files
committed
Fix predicate name
1 parent 79ddbd6 commit 1e4840e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

java/ql/src/Security/CWE/CWE-312/CleartextStorageAndroidFilesystem.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ from SensitiveSource data, LocalFileOpenCall s, Expr input, Expr store
1818
where
1919
input = s.getAnInput() and
2020
store = s.getAStore() and
21-
data.flowsToCached(input)
21+
data.flowsTo(input)
2222
select store, "Local file $@ containing $@ is stored $@. Data was added $@.", s, s.toString(), data,
2323
"sensitive data", store, "here", input, "here"

java/ql/test/query-tests/security/CWE-312/CleartextStorageAndroidFilesystemTest.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class CleartextStorageAndroidFilesystemTest extends InlineExpectationsTest {
1212
exists(SensitiveSource data, LocalFileOpenCall s, Expr input, Expr store |
1313
input = s.getAnInput() and
1414
store = s.getAStore() and
15-
data.flowsToCached(input)
15+
data.flowsTo(input)
1616
|
1717
input.getLocation() = location and
1818
element = input.toString() and

0 commit comments

Comments
 (0)