diff options
author | Phil Sutter <phil@nwl.cc> | 2024-03-14 16:44:34 +0100 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2024-04-11 01:27:07 +0200 |
commit | a113d1ffb6405407d98430807f3534e64a71837e (patch) | |
tree | 54edb3527aaafe54aac97276be8c9b51acbaa22c /src/expr/xfrm.c | |
parent | 08c9cab3352402c1a7d7952d1a2ce0a051f48b14 (diff) |
obj: Do not call nftnl_obj_set_data() with zero data_len
Pass 'strlen() + 1' as length parameter when setting string attributes,
just like other string setters do.
Fixes: 5573d0146c1ae ("src: support for stateful objects")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'src/expr/xfrm.c')
0 files changed, 0 insertions, 0 deletions