Fix out of bounds vector write in Logger::addOutput(ILogOutput *out)
authorest31 <MTest31@outlook.com>
Sat, 24 Oct 2015 22:01:57 +0000 (00:01 +0200)
committerest31 <MTest31@outlook.com>
Sat, 24 Oct 2015 22:13:01 +0000 (00:13 +0200)
commit1f76808e4fa5a198f1dbddba6fa18ea1ecb20cb6
treea9bd6ef2de9630482626572550dfba3db5b2aede
parent7d5c7365314c9517369a7a7d6e4fc5d8712b93c7
Fix out of bounds vector write in Logger::addOutput(ILogOutput *out)

Previously, the invocation of Logger::addOutput(ILogOutput *out) led to
an out of bounds write of the m_outputs vector, resulting in the
m_silenced_levels array being modified.

Fortunately, the only caller of that method was android system logging,
and only since a few commits ago.
src/log.cpp