An out-of-bound access can occur on the m_operations vector when the following conditions are met:
the current selection includes the end of the capture
filtering is enabled
In that case, maxTimeOpIndex will be equal to the number of elements in the m_operations vector. Since the loop on line 1593 has a i<=maxTimeOpIndex end condition, it is possible to access the m_operations vector past its end and to read a non-existent MemoryOperation.
An out-of-bound access can occur on the
m_operations
vector when the following conditions are met:In that case,
maxTimeOpIndex
will be equal to the number of elements in them_operations
vector. Since the loop on line 1593 has ai<=maxTimeOpIndex
end condition, it is possible to access them_operations
vector past its end and to read a non-existentMemoryOperation
.