The calculation _Offset + _Count <= size() may overflow. So use _Count <= size() - _Offset instead.
Note that this is safe due to the previous constraint that _Offset <= size()
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo