Skip to content

Commit c2efb0a

Browse files
committed
two tiny qldoc changes
1 parent 119b1ff commit c2efb0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

javascript/ql/src/semmle/javascript/security/dataflow/TaintedLengthCustomizations.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ module TaintedLength {
211211
}
212212

213213
/**
214-
* A source of objects that can cause DOS if looped over.
214+
* A source of objects that can cause DoS if iterated using the .length property.
215215
*/
216216
abstract class Source extends DataFlow::Node { }
217217

@@ -223,7 +223,7 @@ module TaintedLength {
223223
}
224224

225225
/**
226-
* A sanitizer that blocks taint flow if the array is checked to be an array using an `isArray` method.
226+
* A sanitizer that blocks taint flow if the array is checked to be an array using an `isArray` function.
227227
*/
228228
class IsArraySanitizerGuard extends TaintTracking::LabeledSanitizerGuardNode, DataFlow::ValueNode {
229229
override CallExpr astNode;

0 commit comments

Comments
 (0)