]> git.dujemihanovic.xyz Git - u-boot.git/commit
tee: sandbox: check for buffer size
authorIgor Opaniuk <igor.opaniuk@gmail.com>
Sun, 21 Apr 2024 20:48:39 +0000 (22:48 +0200)
committerIlias Apalodimas <ilias.apalodimas@linaro.org>
Fri, 26 Apr 2024 05:28:35 +0000 (08:28 +0300)
commit8800cbe9b83bf15ca6dc43ca4b05269b3126526a
treea81fc6c620614b74483b2f94f0172ee82ecf11ce
parentd097f9e1299a3bdb7de468f0d9bbc63932f461cd
tee: sandbox: check for buffer size

Add additional check for buffer size when reading out persistent
storage value and provide back actual value size.

Signed-off-by: Igor Opaniuk <igor.opaniuk@gmail.com>
Reviewed-by: Oleksandr Suvorov <cryosay@gmail.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
drivers/tee/sandbox.c