Skip to content

Files

Latest commit

 

History

History
11 lines (6 loc) · 410 Bytes

StlMissingComparison.md

File metadata and controls

11 lines (6 loc) · 410 Bytes

Pattern: Missing bounds check in loop

Issue: -

Description

Missing bounds check for extra iterator increment in loop. The loop might unintentionally skip an element in the container. There is no comparison between these increments to prevent that the iterator is incremented beyond the end.

Further Reading