On Tue, Oct 15, 2019 at 07:29:04PM +0200, Phil Sutter wrote: > Copying from nftnl_table_set_data(), validate input to > nftnl_set_elem_set() as well. Given that for some attributes the > function assumes passed data size, this seems necessary. > > Since data size expected for NFTNL_SET_ELEM_VERDICT attribute is > sizeof(uint32_t), change type of 'verdict' field in union nftnl_data_reg > accordingly. > > Signed-off-by: Phil Sutter <phil@xxxxxx> Acked-by: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx>