Actions
Bug #1315
closed
KS
OD
trans_q should not have hardcoded size
Bug #1315:
trans_q should not have hardcoded size
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.
AH Updated by Andreas Herz about 10 years ago
- Assignee set to OISF Dev
- Target version set to TBD
VJ Updated by Victor Julien almost 8 years ago
- Is duplicate of Optimization #947: dynamic allocation of thread queues added
VJ Updated by Victor Julien almost 8 years ago
- Status changed from New to Rejected
Duplicate of #947
VJ Updated by Victor Julien about 7 years ago
- Target version deleted (
TBD)
Actions