Skip to content

Commit 7aec488

Browse files
committed
C++: Permit ':' in models-as-data namespaces.
1 parent 8944972 commit 7aec488

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ module CsvValidation {
330330
or
331331
summaryModel(namespace, type, _, name, signature, ext, _, _, _, _) and pred = "summary"
332332
|
333-
not namespace.regexpMatch("[a-zA-Z0-9_\\.]*") and
333+
not namespace.regexpMatch("[a-zA-Z0-9_\\.:]*") and
334334
result = "Dubious namespace \"" + namespace + "\" in " + pred + " model."
335335
or
336336
not type.regexpMatch("[a-zA-Z0-9_<>,\\+]*") and
Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +0,0 @@
1-
| Dubious namespace "boost::asio" in sink model. |
2-
| Dubious namespace "boost::asio" in source model. |
3-
| Dubious namespace "boost::asio" in summary model. |

0 commit comments

Comments
 (0)