boostorg/test

Undefined behavior in rfind

Closed this issue · 0 comments

https://github.com/boostorg/test/blob/develop/include/boost/test/utils/basic_cstring/basic_cstring.hpp#L576

This takes the address to one element before begin which is undefined behavior and recent compilers got smart enough to notice this with -Warray-bounds