Skip to content

Commit 699cb51

Browse files
committed
autoformat
1 parent 3430a98 commit 699cb51

File tree

8 files changed

+11
-10
lines changed

8 files changed

+11
-10
lines changed

csharp/ql/src/Security Features/CWE-078/CommandInjection.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ import semmle.code.csharp.dataflow.DataFlow::DataFlow::PathGraph
2020
from TaintTrackingConfiguration c, DataFlow::PathNode source, DataFlow::PathNode sink
2121
where c.hasFlowPath(source, sink)
2222
select sink.getNode(), source, sink, "Command line depends on a $@.", source.getNode(),
23-
"user-provided value"
23+
"user-provided value"

csharp/ql/src/Security Features/CWE-078/StoredCommandInjection.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ class StoredTaintTrackingConfiguration extends TaintTrackingConfiguration {
2525
from StoredTaintTrackingConfiguration c, DataFlow::PathNode source, DataFlow::PathNode sink
2626
where c.hasFlowPath(source, sink)
2727
select sink.getNode(), source, sink, "Command line depends on a $@.", source.getNode(),
28-
"stored user-provided value"
28+
"stored user-provided value"

csharp/ql/src/Security Features/CWE-090/StoredLDAPInjection.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ class StoredTaintTrackingConfiguration extends TaintTrackingConfiguration {
2323
from StoredTaintTrackingConfiguration c, DataFlow::PathNode source, DataFlow::PathNode sink
2424
where c.hasFlowPath(source, sink)
2525
select sink.getNode(), source, sink, "This LDAP query depends on a $@.", source.getNode(),
26-
"stored user-provided value"
26+
"stored user-provided value"

csharp/ql/src/Security Features/CWE-099/ResourceInjection.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ import semmle.code.csharp.dataflow.DataFlow::DataFlow::PathGraph
1818
from TaintTrackingConfiguration c, DataFlow::PathNode source, DataFlow::PathNode sink
1919
where c.hasFlowPath(source, sink)
2020
select sink.getNode(), source, sink, "Resource descriptor depends on a $@.", source.getNode(),
21-
"user-provided value"
21+
"user-provided value"

csharp/ql/src/Security Features/CWE-321/HardcodedEncryptionKey.ql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@ class StringLiteralSource extends KeySource {
3838

3939
from SymmetricKeyTaintTrackingConfiguration keyFlow, KeySource src, SymmetricEncryptionKeySink sink
4040
where keyFlow.hasFlow(src, sink)
41-
select sink, "Hard-coded $@ is used in symmetric algorithm in " + sink.getDescription(),
42-
src, "symmetric key"
41+
select sink, "Hard-coded $@ is used in symmetric algorithm in " + sink.getDescription(), src,
42+
"symmetric key"

csharp/ql/src/Security Features/CWE-327/InsecureSQLConnection.ql

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,6 @@ class TaintTrackingConfiguration extends DataFlow::Configuration {
4141

4242
from TaintTrackingConfiguration c, DataFlow::PathNode source, DataFlow::PathNode sink
4343
where c.hasFlowPath(source, sink)
44-
select sink.getNode(), source, sink, "$@ flows to this SQL connection and does not specify `Encrypt=True`.",
45-
source.getNode(), "Connection string"
44+
select sink.getNode(), source, sink,
45+
"$@ flows to this SQL connection and does not specify `Encrypt=True`.", source.getNode(),
46+
"Connection string"

csharp/ql/src/Security Features/CWE-643/StoredXPathInjection.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ class StoredTaintTrackingConfiguration extends XPathInjection::TaintTrackingConf
2323
from StoredTaintTrackingConfiguration c, DataFlow::PathNode source, DataFlow::PathNode sink
2424
where c.hasFlowPath(source, sink)
2525
select sink.getNode(), source, sink, "XPath expression depends on a $@.", source.getNode(),
26-
"stored user-provided value"
26+
"stored user-provided value"

csharp/ql/src/Security Features/CWE-643/XPathInjection.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ import semmle.code.csharp.dataflow.DataFlow::DataFlow::PathGraph
1818
from TaintTrackingConfiguration c, DataFlow::PathNode source, DataFlow::PathNode sink
1919
where c.hasFlowPath(source, sink)
2020
select sink.getNode(), source, sink, "XPath expression depends on a $@.", source.getNode(),
21-
"user-provided value"
21+
"user-provided value"

0 commit comments

Comments
 (0)