mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
Fix predicate name
This commit is contained in:
@@ -18,6 +18,6 @@ from SensitiveSource data, SharedPreferencesEditorMethodAccess s, Expr input, Ex
|
||||
where
|
||||
input = s.getAnInput() and
|
||||
store = s.getAStore() and
|
||||
data.flowsToCached(input)
|
||||
data.flowsTo(input)
|
||||
select store, "'SharedPreferences' class $@ containing $@ is stored $@. Data was added $@.", s,
|
||||
s.toString(), data, "sensitive data", store, "here", input, "here"
|
||||
|
||||
@@ -12,7 +12,7 @@ class CleartextStorageSharedPrefsTest extends InlineExpectationsTest {
|
||||
exists(SensitiveSource data, SharedPreferencesEditorMethodAccess s, Expr input, Expr store |
|
||||
input = s.getAnInput() and
|
||||
store = s.getAStore() and
|
||||
data.flowsToCached(input)
|
||||
data.flowsTo(input)
|
||||
|
|
||||
input.getLocation() = location and
|
||||
element = input.toString() and
|
||||
|
||||
Reference in New Issue
Block a user