detect: move fields around to fill memory holes

to make scan-build happy avoiding its warning :

Excessive padding in 'struct DetectEngineThreadCtx_'
(33 padding bytes, where 1 is optimal)
pull/12358/head
Philippe Antoine 2 years ago committed by Victor Julien
parent b967fcaf8f
commit 5cec270598

@ -1137,9 +1137,6 @@ typedef struct DetectEngineThreadCtx_ {
/* byte_* values */
uint64_t *byte_values;
uint8_t *base64_decoded;
int base64_decoded_len;
/* counter for the filestore array below -- up here for cache reasons. */
uint16_t filestore_cnt;
@ -1181,6 +1178,9 @@ typedef struct DetectEngineThreadCtx_ {
on a frame is complete. */
Packet *p;
uint8_t *base64_decoded;
int base64_decoded_len;
uint16_t alert_queue_size;
uint16_t alert_queue_capacity;
PacketAlert *alert_queue;

Loading…
Cancel
Save