Skip to content

Commit ec8c234

Browse files
committed
Fix predicate name
1 parent 55dc783 commit ec8c234

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

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

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

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