Feature #344 » 0001-Add-BUG_ON-to-avoid-overruning-AppLayerDetectDirecti.patch
src/app-layer-detect-proto.c | ||
---|---|---|
mpm_table[dir->mpm_ctx.mpm_type].AddPattern(&dir->mpm_ctx, cd->content, cd->content_len,
|
||
cd->offset, cd->depth, cd->id, cd->id, 0);
|
||
BUG_ON(dir->id == ALP_DETECT_MAX);
|
||
dir->map[dir->id] = al_proto;
|
||
dir->id++;
|
||