In some situations, array indexes that should be out of bounds may overflow to in bounds array indexes. This can happen due if the index type is wider than the platform int size and gets truncated or if the multiplication by the element size overflows.