Searched hist:dea9063e64e5036a0fca8e85bd0d89c008784f02 (Results 1 – 1 of 1) sorted by relevance
| /optee_os/lib/libutee/ |
| H A D | tee_api_operations.c | dea9063e64e5036a0fca8e85bd0d89c008784f02 Fri Feb 19 14:57:05 UTC 2021 Jens Wiklander <jens.wiklander@linaro.org> libutee: check srcLen in TEE_CipherDoFinal()
Adds another check of srcLen in TEE_CipherDoFinal() before calling tee_buffer_update() to make sure that we don't dereference destLen when it's NULL.
This fixes coverity scan: CID 1501811 (#1 of 1): Dereference after null check (FORWARD_NULL)
Reviewed-by: Jerome Forissier <jerome@forissier.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
|