mirror of
https://github.com/github/codeql.git
synced 2026-05-01 19:55:15 +02:00
python: rewrite to separate configurations
source nodes get duplicated, so perhaps flow states are actually better for performance?
This commit is contained in:
@@ -16,7 +16,7 @@ import python
|
||||
import semmle.python.security.dataflow.LdapInjection
|
||||
import DataFlow::PathGraph
|
||||
|
||||
from LDAPInjectionFlowConfig config, DataFlow::PathNode source, DataFlow::PathNode sink
|
||||
where config.hasFlowPath(source, sink)
|
||||
from DataFlow::PathNode source, DataFlow::PathNode sink
|
||||
where LdapInjection::ldapInjection(source, sink)
|
||||
select sink.getNode(), source, sink, "$@ LDAP query parameter comes from $@.", sink.getNode(),
|
||||
"This", source.getNode(), "a user-provided value"
|
||||
|
||||
Reference in New Issue
Block a user