Skip to content

Commit

Permalink
fixup! app-layer: improve limits on number of probing parsers
Browse files Browse the repository at this point in the history
  • Loading branch information
catenacyber committed Nov 13, 2024
1 parent 0af573f commit eab1e0a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/app-layer-detect-proto.c
Original file line number Diff line number Diff line change
Expand Up @@ -645,12 +645,12 @@ static AppProto AppLayerProtoDetectPPGetProto(Flow *f, const uint8_t *buf, uint3
if (alproto_masks[0] == BIT_U32(nb_tried) - 1) {
FLOW_SET_PP_DONE(f, dir);
SCLogDebug("%s, mask is now %08x, needed %08x, so done",
(dir == STREAM_TOSERVER) ? "toserver":"toclient",
alproto_masks[0], mask);
(dir == STREAM_TOSERVER) ? "toserver" : "toclient", alproto_masks[0],
BIT_U32(nb_tried) - 1);
} else {
SCLogDebug("%s, mask is now %08x, need %08x",
(dir == STREAM_TOSERVER) ? "toserver":"toclient",
alproto_masks[0], mask);
(dir == STREAM_TOSERVER) ? "toserver" : "toclient", alproto_masks[0],
BIT_U32(nb_tried) - 1);
}
}

Expand Down

0 comments on commit eab1e0a

Please sign in to comment.