Project

General

Profile

Actions

Bug #1315

closed

trans_q should not have hardcoded size

Added by Ken Steele about 10 years ago. Updated over 5 years ago.

Status:
Rejected
Priority:
Low
Assignee:
Target version:
-
Affected Versions:
Effort:
Difficulty:
Label:

Description

The PacketQueue trans_q256 in suricata.h is always indexed by tv->inq->id, where Tmq* inq->id is assigned in tm-queues.c. inq->id is not checked to be not larger than TMC_MAX_QUEUES. So suricata.h should define trans_q as:

PacketQueue trans_q[TMC_MAX_QUEUES];

This will require moving the #define for TMC_MAX_QUEUES to tm-queues.h, which is where is should really be anyway.


Related issues 1 (0 open1 closed)

Is duplicate of Suricata - Optimization #947: dynamic allocation of thread queuesClosedVictor JulienActions
Actions #1

Updated by Andreas Herz almost 9 years ago

  • Assignee set to OISF Dev
  • Target version set to TBD
Actions #2

Updated by Victor Julien over 6 years ago

Actions #3

Updated by Victor Julien over 6 years ago

  • Status changed from New to Rejected

Duplicate of #947

Actions #4

Updated by Victor Julien over 5 years ago

  • Target version deleted (TBD)
Actions

Also available in: Atom PDF