Skip to content

Commit 5a26346

Browse files
committed
C#: Allow the use of pointer types in CSV validation.
1 parent 5376eb8 commit 5a26346

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

csharp/ql/lib/semmle/code/csharp/dataflow/ExternalFlow.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ module CsvValidation {
262262
not name.regexpMatch("[a-zA-Z0-9_<>,]*") and
263263
msg = "Dubious member name \"" + name + "\" in " + pred + " model."
264264
or
265-
not signature.regexpMatch("|\\([a-zA-Z0-9_<>\\.\\+,\\[\\]]*\\)") and
265+
not signature.regexpMatch("|\\([a-zA-Z0-9_<>\\.\\+\\*,\\[\\]]*\\)") and
266266
msg = "Dubious signature \"" + signature + "\" in " + pred + " model."
267267
or
268268
not ext.regexpMatch("|Attribute") and

0 commit comments

Comments
 (0)