mirror of
https://github.com/github/codeql.git
synced 2026-06-15 18:01:10 +02:00
3 lines
90 B
C++
3 lines
90 B
C++
bool not_in_range(T *ptr, T *ptr_end, size_t i) {
|
|
return i >= ptr_end - ptr; // GOOD
|
|
} |