Bug #132 ยป 0001-fixed-the-stream-memory-leaks-bug-132.patch
src/app-layer-parser.c | ||
---|---|---|
}
|
||
AppLayerProto *p = &al_proto_table[ssn->alproto];
|
||
if (p->name == NULL) {
|
||
/* \todo currently we don't have parser registered for IMAP and MSN, so this
|
||
check results in true, even though we have app layer data in TcpSession.
|
||
This causes the memory leaks for these given protocols */
|
||
if (p->name == NULL &&
|
||
! (ssn->alproto == ALPROTO_IMAP || ssn->alproto == ALPROTO_MSN))
|
||
{
|
||
SCLogDebug("no parser state for %"PRIu16"", ssn->alproto);
|
||
return;
|
||
}
|