Skip to content

Commit fb54a3b

Browse files
committed
JS: Remove obsolete TODO comment
1 parent b29ee2a commit fb54a3b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

javascript/ql/lib/semmle/javascript/security/dataflow/PrototypePollutingAssignmentQuery.qll

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,7 @@ module PrototypePollutingAssignmentConfig implements DataFlow::StateConfigSig {
6565
state = FlowState::objectPrototype()
6666
}
6767

68-
predicate isBarrierIn(DataFlow::Node node, FlowState state) {
69-
// FIXME: This should only be an in-barrier for the corresponding flow state, but flow-state specific in-barriers are not supported right now.
70-
isSource(node, state)
71-
}
68+
predicate isBarrierIn(DataFlow::Node node, FlowState state) { isSource(node, state) }
7269

7370
predicate isAdditionalFlowStep(
7471
DataFlow::Node node1, FlowState state1, DataFlow::Node node2, FlowState state2

0 commit comments

Comments
 (0)