Avoid out-of-bounds access via std::vector::operator[].
This triggered C++ STL debug checks, and actually is undefined behaviour,
although it didn't really cause any problems so far.
Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
Showing
Please register or sign in to comment