mirror of
https://github.com/github/codeql.git
synced 2026-01-29 22:32:58 +01:00
Address doc review comment.
Co-Authored-By: Shati Patel <shati@semmle.com>
This commit is contained in:
committed by
GitHub Enterprise
parent
e16a81cba9
commit
db4e6789bb
@@ -5,7 +5,7 @@
|
||||
|
||||
<overview>
|
||||
<p>
|
||||
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.
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user