MMDVMHost icon indicating copy to clipboard operation
MMDVMHost copied to clipboard

Fix buffer overflow in Log

Open mx-shift opened this issue 8 months ago • 0 comments

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

mx-shift avatar Jun 24 '24 22:06 mx-shift