diff options
author | Felix Fietkau <nbd@nbd.name> | 2023-05-15 11:21:28 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2023-05-27 08:00:26 +0200 |
commit | 29edb011caf15d39511a5c13ac7a79ed6535d1e0 (patch) | |
tree | 799eb5a00915b8c1bbbf13062b8a5e7e7be5194d /vm.c | |
parent | 15f1a669e8e22be119e5e0f93a0665ccbaecb5e6 (diff) |
ubus: add support for strings containing null bytes
When converting ucode strings to blobmsg, use blobmsg_add_field in order to
explicltly pass the length of the data.
In the other direction, use ucv_string_new_length based on the attribute
length.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'vm.c')
0 files changed, 0 insertions, 0 deletions