Skip to content

Commit ee84dae

Browse files
committed
Fix predicate name
1 parent 16b61f7 commit ee84dae

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

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

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class CleartextStorageAndroidDatabaseTest extends InlineExpectationsTest {
1212
exists(SensitiveSource data, LocalDatabaseOpenMethodAccess 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

java/ql/test/stubs/google-android-9.0.0/android/database/sqlite/SQLiteDatabase.java

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)