summaryrefslogtreecommitdiffstats
path: root/tests/jsonfiles/23-rule-counter.json
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2024-03-07 14:34:18 +0100
committerPhil Sutter <phil@nwl.cc>2024-04-11 01:27:07 +0200
commitc48ac8cba8716a8bc4ff713ee965eee2643cfc31 (patch)
tree26db3c43168b0111bd7a132918f48a6777b66685 /tests/jsonfiles/23-rule-counter.json
parentbb5e75be9d28c37096c90d9ae9fcc7ad0841f2c2 (diff)
obj: Respect data_len when setting attributes
With attr_policy in place, data_len has an upper boundary. Use it for memcpy() calls to cover for caller passing data with lower size than the attribute's storage. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'tests/jsonfiles/23-rule-counter.json')
0 files changed, 0 insertions, 0 deletions