Log line prefix is written to the buffer before the log message. While the buffer start was being adjusted when writing the log message via vsnprintf(), the buffer size was not. This would allow a log message to write past the end of the stack-allocated buffer.
Log line prefix is written to the buffer before the log message. While the buffer start was being adjusted when writing the log message via vsnprintf(), the buffer size was not. This would allow a log message to write past the end of the stack-allocated buffer.
Fixes #811