snort: fix descriptor offset may be truncated if buffers num too large 19/35819/2
authorjiangxiaoming <[email protected]>
Wed, 30 Mar 2022 06:12:26 +0000 (06:12 +0000)
committerDamjan Marion <[email protected]>
Mon, 6 Mar 2023 14:20:55 +0000 (14:20 +0000)
Type: fix
Signed-off-by: jiangxiaoming <[email protected]>
Change-Id: I9694f7d8aad8868b11e08fabe179fd51c14dfcdb

src/plugins/snort/daq_vpp.h

index 3b875aa..ebec554 100644 (file)
@@ -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;