Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37f01fe commit 2c2e09bCopy full SHA for 2c2e09b
1 file changed
go/ql/lib/semmle/go/dataflow/CsvValidation.qll
@@ -36,7 +36,13 @@ private string getInvalidModelOutput() {
36
)
37
}
38
39
-private string getInvalidModelKind() { none() }
+private string getInvalidModelKind() {
40
+ exists(string row, string kind | summaryModel(row) |
41
+ kind = row.splitAt(";", 8) and
42
+ not kind = ["taint", "value"] and
43
+ result = "Invalid kind \"" + kind + "\" in summary model."
44
+ )
45
+}
46
47
private string getInvalidModelSubtype() {
48
exists(string pred, string row, int expect |
0 commit comments