Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9f9129d

Browse files
committed
Java: Introduce column validation for negative summaries.
1 parent 4939439 commit 9f9129d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

java/ql/lib/semmle/code/java/dataflow/CsvValidation.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ private string getInvalidModelColumnCount() {
8989
sinkModel(row) and expect = 9 and pred = "sink"
9090
or
9191
summaryModel(row) and expect = 10 and pred = "summary"
92+
or
93+
negativeSummaryModel(row) and expect = 5 and pred = "negative summary"
9294
|
9395
exists(int cols |
9496
cols = 1 + max(int n | exists(row.splitAt(";", n))) and

0 commit comments

Comments
 (0)