diff --git a/java/ql/src/Security/CWE/CWE-312/CleartextStorageAndroidFilesystem.ql b/java/ql/src/Security/CWE/CWE-312/CleartextStorageAndroidFilesystem.ql index 63efe303b09..dbb04bf497d 100644 --- a/java/ql/src/Security/CWE/CWE-312/CleartextStorageAndroidFilesystem.ql +++ b/java/ql/src/Security/CWE/CWE-312/CleartextStorageAndroidFilesystem.ql @@ -18,6 +18,6 @@ from SensitiveSource data, LocalFileOpenCall s, Expr input, Expr store where input = s.getAnInput() and store = s.getAStore() and - data.flowsToCached(input) + data.flowsTo(input) select store, "Local file $@ containing $@ is stored $@. Data was added $@.", s, s.toString(), data, "sensitive data", store, "here", input, "here" diff --git a/java/ql/test/query-tests/security/CWE-312/CleartextStorageAndroidFilesystemTest.ql b/java/ql/test/query-tests/security/CWE-312/CleartextStorageAndroidFilesystemTest.ql index 87a077f4ddb..ab221086f81 100644 --- a/java/ql/test/query-tests/security/CWE-312/CleartextStorageAndroidFilesystemTest.ql +++ b/java/ql/test/query-tests/security/CWE-312/CleartextStorageAndroidFilesystemTest.ql @@ -12,7 +12,7 @@ class CleartextStorageAndroidFilesystemTest extends InlineExpectationsTest { exists(SensitiveSource data, LocalFileOpenCall 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