Skip to content

Commit 4ee236d

Browse files
committed
Delete commented out code
1 parent 25f1823 commit 4ee236d

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

go/ql/lib/semmle/go/frameworks/Email.qll

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -103,18 +103,3 @@ private class MultipartNewWriterModel extends TaintTracking::FunctionModel {
103103
input.isResult() and output.isParameter(0)
104104
}
105105
}
106-
// /**
107-
// * A taint model of the `Data` method of `Client` from `net/smtp`.
108-
// *
109-
// * If tainted data is written to the writer created by this method, the client
110-
// * should be considered tainted as well.
111-
// */
112-
// private class SmtpClientDataModel extends TaintTracking::FunctionModel, Method {
113-
// SmtpClientDataModel() {
114-
// // func (c *Client) Data() (io.WriteCloser, error)
115-
// this.hasQualifiedName("net/smtp", "Client", "Data")
116-
// }
117-
// override predicate hasTaintFlow(FunctionInput input, FunctionOutput output) {
118-
// input.isResult(0) and output.isReceiver()
119-
// }
120-
// }

0 commit comments

Comments
 (0)