diff options
author | Phil Sutter <phil@nwl.cc> | 2024-03-14 17:29:51 +0100 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2024-04-11 01:27:07 +0200 |
commit | a9b4d07dfab235324d2efbaa242fcc5ed5efe4c1 (patch) | |
tree | aa097ac3f7b0eb852639c57d4ee7f47b8cf1c6dd /src | |
parent | 899920d66b7b2a11c381a95a65b059ff12b9afd6 (diff) |
set: Validate NFTNL_SET_ID, too
Fixes: 26298a9ffc2e2 ("set: add set ID support")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'src')
-rw-r--r-- | src/set.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -128,6 +128,7 @@ static uint32_t nftnl_set_validate[NFTNL_SET_MAX + 1] = { [NFTNL_SET_DATA_LEN] = sizeof(uint32_t), [NFTNL_SET_OBJ_TYPE] = sizeof(uint32_t), [NFTNL_SET_FAMILY] = sizeof(uint32_t), + [NFTNL_SET_ID] = sizeof(uint32_t), [NFTNL_SET_POLICY] = sizeof(uint32_t), [NFTNL_SET_DESC_SIZE] = sizeof(uint32_t), [NFTNL_SET_TIMEOUT] = sizeof(uint64_t), |