We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5485925 commit d13e9eeCopy full SHA for d13e9ee
python/ql/lib/semmle/python/frameworks/data/internal/ApiGraphModels.qll
@@ -878,7 +878,7 @@ module ModelOutput {
878
* Holds if `node` is specified as a barrier with the given kind in an external model.
879
*/
880
predicate barrierNode(DataFlow::Node node, string kind) {
881
- node = getABarrierNode(kind).asSource()
+ node = getABarrierNode(kind).asSink()
882
or
883
node = DataFlow::ExternalBarrierGuard::getAnExternalBarrierNode(kind)
884
}
0 commit comments