File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed
go/ql/lib/semmle/go/frameworks Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff 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- // }
You can’t perform that action at this time.
0 commit comments