diff --git a/ql/src/InconsistentCode/ConstantLengthComparison.qhelp b/ql/src/InconsistentCode/ConstantLengthComparison.qhelp index 64df4b7aaf4..cac73bf10d1 100644 --- a/ql/src/InconsistentCode/ConstantLengthComparison.qhelp +++ b/ql/src/InconsistentCode/ConstantLengthComparison.qhelp @@ -5,7 +5,7 @@

-Indexing operations on arrays, slices or strings should use an index at most one less than the +Indexing operations on arrays, slices, or strings should use an index at most one less than the length. If the operation uses a variable index but checks the length against a constant, this may indicate a logic error which could lead to an out-of-bounds access.