diff options
author | jiangxiaoming <jiangxiaoming@outlook.com> | 2022-03-30 06:12:26 +0000 |
---|---|---|
committer | Damjan Marion <dmarion@0xa5.net> | 2023-03-06 14:20:55 +0000 |
commit | 15eec552b5f98e61890a4e225c99706c022cf009 (patch) | |
tree | a87272dca64aae19acf7d62172ccdde93d52d52b | |
parent | e13baaa788d852d97e982057f864c839948517d4 (diff) |
snort: fix descriptor offset may be truncated if buffers num too large
Type: fix
Signed-off-by: jiangxiaoming <jiangxiaoming@outlook.com>
Change-Id: I9694f7d8aad8868b11e08fabe179fd51c14dfcdb
-rw-r--r-- | src/plugins/snort/daq_vpp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/snort/daq_vpp.h b/src/plugins/snort/daq_vpp.h index 3b875aa15ad..ebec55435f3 100644 --- a/src/plugins/snort/daq_vpp.h +++ b/src/plugins/snort/daq_vpp.h @@ -67,7 +67,7 @@ typedef enum typedef struct { - uint32_t offset; + uint64_t offset; uint16_t length; uint16_t address_space_id; uint8_t buffer_pool; |