From 6dac86b9befa38cfcb4de01d125ebef6849d2c9d Mon Sep 17 00:00:00 2001 From: Joe Farebrother Date: Mon, 25 Oct 2021 14:10:14 +0100 Subject: [PATCH] Fix unneeded import and spelling mistake --- .../code/java/security/AndroidSensitiveCommunicationQuery.qll | 1 - java/ql/src/Security/CWE/CWE-927/SensitiveCommunication.ql | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/java/ql/lib/semmle/code/java/security/AndroidSensitiveCommunicationQuery.qll b/java/ql/lib/semmle/code/java/security/AndroidSensitiveCommunicationQuery.qll index 578da32550c..88cbba525d4 100644 --- a/java/ql/lib/semmle/code/java/security/AndroidSensitiveCommunicationQuery.qll +++ b/java/ql/lib/semmle/code/java/security/AndroidSensitiveCommunicationQuery.qll @@ -1,7 +1,6 @@ /** Provides definitions to reason about Android Sensitive Communication queries */ import java -import semmle.code.java.dataflow.DataFlow3 import semmle.code.java.dataflow.TaintTracking import semmle.code.java.frameworks.android.Intent import semmle.code.java.security.SensitiveActions diff --git a/java/ql/src/Security/CWE/CWE-927/SensitiveCommunication.ql b/java/ql/src/Security/CWE/CWE-927/SensitiveCommunication.ql index 3ee059568f7..4848767a9b2 100644 --- a/java/ql/src/Security/CWE/CWE-927/SensitiveCommunication.ql +++ b/java/ql/src/Security/CWE/CWE-927/SensitiveCommunication.ql @@ -17,5 +17,5 @@ import DataFlow::PathGraph from SensitiveCommunicationConfig cfg, DataFlow::PathNode source, DataFlow::PathNode sink where cfg.hasFlowPath(source, sink) -select sink.getNode(), source, sink, "This call may leak sensitive infomration from $@.", +select sink.getNode(), source, sink, "This call may leak sensitive information from $@.", source.getNode(), "here"