JavaScript: Refactor security queries for uniformity.

This commit is contained in:
Max Schaefer
2018-11-08 12:41:44 +00:00
parent 9b4ae9e4d3
commit 65bcf0f526
23 changed files with 56 additions and 62 deletions

View File

@@ -15,6 +15,6 @@
import javascript
import semmle.javascript.security.dataflow.RegExpInjection::RegExpInjection
from Configuration c, DataFlow::Node source, DataFlow::Node sink
where c.hasFlow(source, sink)
from Configuration cfg, DataFlow::Node source, DataFlow::Node sink
where cfg.hasFlow(source, sink)
select sink, "This regular expression is constructed from a $@.", source, "user-provided value"