aboutsummaryrefslogtreecommitdiff
path: root/drivers/tee/sandbox.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-05-10 07:07:49 -0400
committerTom Rini <trini@konsulko.com>2019-05-10 07:07:49 -0400
commit927a37df9f5ed33fc350b9cc509d9f50ffaf5cd2 (patch)
tree0afab773bb17cb8f33ab6e2e2b969423ec36140b /drivers/tee/sandbox.c
parentf30f268a07b0c9e4418366debc9ad0100a47cea4 (diff)
parent0d7b6cffa532eecfdc7cb87c2c65cd311344981f (diff)
Merge branch '2019-05-09-master-imports'
- Minor fixes (ata memory leak, implement feedback on ohci-da8xx changes, avb test fix, mmc test fix, spelling fixes, make FIT really optional, fit-dtb blob cleanups, TI K3 workflow improvements, bootz can boot barebox on 32bit ARM).
Diffstat (limited to 'drivers/tee/sandbox.c')
-rw-r--r--drivers/tee/sandbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tee/sandbox.c b/drivers/tee/sandbox.c
index a136bc9609..2f3355c7b7 100644
--- a/drivers/tee/sandbox.c
+++ b/drivers/tee/sandbox.c
@@ -178,7 +178,7 @@ static u32 ta_avb_invoke_func(struct udevice *dev, u32 func, uint num_params,
if (!ep)
return TEE_ERROR_ITEM_NOT_FOUND;
- value_sz = strlen(ep->data);
+ value_sz = strlen(ep->data) + 1;
memcpy(value, ep->data, value_sz);
return TEE_SUCCESS;