From 4ee236d73fd566d5c1c51b22e2f9c70731381e1f Mon Sep 17 00:00:00 2001 From: Owen Mansel-Chan Date: Thu, 25 Sep 2025 11:34:27 +0100 Subject: [PATCH] Delete commented out code --- go/ql/lib/semmle/go/frameworks/Email.qll | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/go/ql/lib/semmle/go/frameworks/Email.qll b/go/ql/lib/semmle/go/frameworks/Email.qll index d7744951c08..ba4cf8be415 100644 --- a/go/ql/lib/semmle/go/frameworks/Email.qll +++ b/go/ql/lib/semmle/go/frameworks/Email.qll @@ -103,18 +103,3 @@ private class MultipartNewWriterModel extends TaintTracking::FunctionModel { input.isResult() and output.isParameter(0) } } -// /** -// * A taint model of the `Data` method of `Client` from `net/smtp`. -// * -// * If tainted data is written to the writer created by this method, the client -// * should be considered tainted as well. -// */ -// private class SmtpClientDataModel extends TaintTracking::FunctionModel, Method { -// SmtpClientDataModel() { -// // func (c *Client) Data() (io.WriteCloser, error) -// this.hasQualifiedName("net/smtp", "Client", "Data") -// } -// override predicate hasTaintFlow(FunctionInput input, FunctionOutput output) { -// input.isResult(0) and output.isReceiver() -// } -// }