commit | a401bcfb028e2b55a0be5d272163d0ab6e120a97 | [log] [tgz] |
---|---|---|
author | Bastien Simondi <bsimondi@netflix.com> | Tue Mar 12 17:52:47 2019 +0100 |
committer | Jérôme Forissier <jerome.forissier@linaro.org> | Mon May 13 15:58:03 2019 +0200 |
tree | 6601530ccbb26735572eedca09d9fd96f5739786 | |
parent | ad565116a0d7664e57df14a82d87f7dc54b1fb28 [diff] |
core: check allocated size of temporary secure memory When servicing syscall_invoke_ta_command(), the invoked TA could modify the .size field. Make sure the allocated buffer is not overwritten on return. Signed-off-by: Bastien Simondi <bsimondi@netflix.com> [jf: fix multi-line comment, replace '= { 0 };' with '= { };'] [jf: add commit description] Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
This git contains source code for the secure side implementation of OP-TEE project.
All official OP-TEE documentation has moved to http://optee.readthedocs.io.
// OP-TEE core maintainers