Skip to content

Commit cb2b2bc

Browse files
Add qldoc and remove redundant import
1 parent 92198e1 commit cb2b2bc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

csharp/ql/lib/semmle/code/csharp/security/dataflow/flowsinks/ExternalLocationSink.qll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ private import semmle.code.csharp.commons.Loggers
88
private import semmle.code.csharp.frameworks.system.Web
99
private import semmle.code.csharp.frameworks.system.IO
1010
private import semmle.code.csharp.dataflow.ExternalFlow
11-
private import semmle.code.csharp.dataflow.DataFlow
1211

1312
/**
1413
* An external location sink.
@@ -120,6 +119,9 @@ private module LocalFileOutputStreamConfig implements DataFlow::ConfigSig {
120119

121120
private module LocalFileOutputStreamFlow = DataFlow::Make<LocalFileOutputStreamConfig>;
122121

122+
/**
123+
* A write to the local filesystem.
124+
*/
123125
class LocalFileOutputSink extends ExternalLocationSink {
124126
LocalFileOutputSink() {
125127
exists(DataFlow::Node streamSink |

0 commit comments

Comments
 (0)