Skip to content

Commit 2d437ef

Browse files
erik-kroghasgerf
andauthored
corrections on qldoc
Co-Authored-By: Asger F <[email protected]>
1 parent e359e1a commit 2d437ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

javascript/ql/src/semmle/javascript/dataflow/Configuration.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1482,8 +1482,8 @@ private class AdditionalBarrierGuardCall extends AdditionalBarrierGuardNode, Dat
14821482
}
14831483

14841484
/**
1485-
* A check of the form `if(x)`, which sanitizes `x` in its "else" branch.
1486-
* Can be added to a `isBarrier` in a configuration to add the sanitization.
1485+
* A guard node for a variable in a negative condition, such as `x` in `if(!x)`.
1486+
* Can be added to a `isBarrier` in a data-flow configuration to block flow through such checks.
14871487
*/
14881488
class VarAccessBarrier extends DataFlow::Node {
14891489
VarAccessBarrier() {

0 commit comments

Comments
 (0)