Skip to content

Commit

Permalink
SQUASH error check
Browse files Browse the repository at this point in the history
  • Loading branch information
victorjulien committed Nov 19, 2024
1 parent 7e796ab commit 11fb4c5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/detect-flowbits.c
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,8 @@ static bool CheckExpand(const uint32_t sids_idx, uint32_t **sids, uint32_t *sids
static int DetectFlowbitsAnalyzeSignature(const Signature *s, struct FBAnalyzer *fba)
{
struct FBAnalyze *array = fba->array;
if (array == NULL)
return -1;

/* see if the signature uses stateful matching TODO is there not a flag? */
bool has_state = (s->init_data->buffer_index != 0);
Expand Down

0 comments on commit 11fb4c5

Please sign in to comment.