Skip to content

Commit

Permalink
app-layer: Remove errant validation BUG
Browse files Browse the repository at this point in the history
This commit removes an errant validation debug check brought into 5.0.x
mistakenly.
  • Loading branch information
jlucovsky authored and victorjulien committed Dec 4, 2020
1 parent 3892f37 commit b79799c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/app-layer.c
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,6 @@ int AppLayerHandleTCPData(ThreadVars *tv, TcpReassemblyThreadCtx *ra_ctx,
int rd = TCPProtoDetect(tv, ra_ctx, app_tctx, p, f, ssn, stream, data, data_len, flags);
if (f->alproto == ALPROTO_UNKNOWN) {
// not enough data, revert AppLayerProtoDetectReset to rerun detection
DEBUG_VALIDATE_BUG_ON(alstate_orig != f->alstate);
f->alparser = alparser;
f->alstate = alstate_orig;
f->alproto = f->alproto_orig;
Expand Down

0 comments on commit b79799c

Please sign in to comment.