test/py: avb: fix test_avb_persistent_values fail
PATCH 1/1 test/py: avb: fix test_avb_persistent_values fail
From: Igor Opaniuk <[email protected]>
Fix test_avb_persistent_values() pytest, which was failing because of wrong size value provided from tee sandbox driver.
Reported-by Heinrich Schuchardt <[email protected]>
Signed-off-by Igor Opaniuk <[email protected]>
--- drivers/tee/sandbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/tee/sandbox.c +1 -1
@@ -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 ;
Signature · 1 line
2.17.1
PATCH 1/1 test/py: avb: fix test_avb_persistent_values fail
Quoted 7 lines · Igor Opaniuk
From: Igor Opaniuk <[email protected]>
Fix
test_avb_persistent_values()pytest, which was failing because of wrong size value provided from tee sandbox driver.Reported-by Heinrich Schuchardt <[email protected]>Signed-off-by Igor Opaniuk <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190510/6151aeae/attachment.sig>