Skip to content

Commit

Permalink
detect/frames: reduce severity of validation check
Browse files Browse the repository at this point in the history
  • Loading branch information
victorjulien committed Apr 19, 2022
1 parent 28898db commit af90478
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/detect-engine-frame.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ static void PrefilterMpmFrame(DetectEngineThreadCtx *det_ctx, const void *pectx,
det_ctx, ctx->transforms, p, frames, frame, ctx->list_id, idx, true);
if (buffer == NULL)
return;
BUG_ON(buffer->orig_len > frame->len);
DEBUG_VALIDATE_BUG_ON(buffer->orig_len > frame->len);

const uint32_t data_len = buffer->inspect_len;
const uint8_t *data = buffer->inspect;
Expand Down

0 comments on commit af90478

Please sign in to comment.