stephenfewer/grinder

logger.c has a one-byte buffer overflow

Closed this issue · 1 comments

File: grinder / node / source / logger / logger.c

Line 167: if( dwLengthA > dwLogMessageSize )
{
...............
}

if dwLengthA == dwLogMessageSize, the following statement will cause the overflow:

Line 188: cpLogMessage[dwLengthA] = 0;

Thanks for the report guhe120 :)