Debugging Memory Bugs Using Address Sanitizer
Yesterday, I encountered a very subtle bug that did not make sense and obviously was an effect of a memory fault somewhere else in my code.
rlnc_multipath: src/buffer_pkt.hpp:62: void buffer_pkt::reset(): Assertion `&m_buffer[0]' failed.
How can a reference to the first element of a std::vector ...
more ...