mirror of
https://github.com/github/codeql.git
synced 2026-05-02 12:15:17 +02:00
Update python/ql/src/Security/CWE-327/FluentApiModel.qll
Co-authored-by: Rasmus Wriedt Larsen <rasmuswriedtlarsen@gmail.com>
This commit is contained in:
@@ -39,13 +39,7 @@ class InsecureContextConfiguration extends DataFlow::Configuration {
|
||||
)
|
||||
}
|
||||
|
||||
override predicate isBarrierIn(DataFlow::Node node) {
|
||||
exists(ProtocolUnrestriction r |
|
||||
r = library.protocol_unrestriction() and
|
||||
node = r.getContext() and
|
||||
r.getUnrestriction() = tracked_version
|
||||
)
|
||||
}
|
||||
override predicate isBarrierIn(DataFlow::Node node) { this.isSource(node) }
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user