We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ccb476 commit 0cdda87Copy full SHA for 0cdda87
javascript/ql/src/Security/CWE-915/PrototypePollutingFunction.ql
@@ -277,6 +277,12 @@ module PropNameTrackingConfig implements DataFlow::StateConfigSig {
277
node instanceof DataFlow::VarAccessBarrier or
278
node = DataFlow::MakeBarrierGuard<BarrierGuard>::getABarrierNode()
279
}
280
+
281
+ int accessPathLimit() {
282
+ // Speed up the query. For the pattern we're looking for the value rarely
283
+ // flows through any contents, apart from a capture content.
284
+ result = 1
285
+ }
286
287
288
class FlowState = PropNameTrackingConfig::FlowState;
0 commit comments