adigostin/mstp-lib

Receiving a BPDU with too many MSTI entries from the same region leads to a crash

adigostin opened this issue · 0 comments

In rcvMsgs():

if (port->rcvdInternal)
{
    ...
    for (unsigned int messageIndex = 0; messageIndex < mstiMessageCount; messageIndex++)
    {
        const MSTI_CONFIG_MESSAGE* message = &mstiMessages [messageIndex];