diff options
author | Phil Sutter <phil@nwl.cc> | 2024-03-07 14:34:18 +0100 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2024-04-11 01:27:07 +0200 |
commit | c48ac8cba8716a8bc4ff713ee965eee2643cfc31 (patch) | |
tree | 26db3c43168b0111bd7a132918f48a6777b66685 /src/expr/data_reg.c | |
parent | bb5e75be9d28c37096c90d9ae9fcc7ad0841f2c2 (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 'src/expr/data_reg.c')
0 files changed, 0 insertions, 0 deletions