Searched hist:"536208318 c624fe49218e2f17b668bbc2aa3107b" (Results 1 – 2 of 2) sorted by relevance
| /optee_os/core/tee/ |
| H A D | tee_svc_storage.c | 536208318c624fe49218e2f17b668bbc2aa3107b Wed Jun 08 09:41:06 UTC 2016 Jerome Forissier <jerome.forissier@linaro.org> tee_obj_attr_to_binary: fix undefined behavior with data == NULL
To query the size needed for some attribute, one may set data to NULL and pass the address of an uninitialized buffer as data_len. In this case, *data_len should not be read but only written to.
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
|
| H A D | tee_svc_cryp.c | 536208318c624fe49218e2f17b668bbc2aa3107b Wed Jun 08 09:41:06 UTC 2016 Jerome Forissier <jerome.forissier@linaro.org> tee_obj_attr_to_binary: fix undefined behavior with data == NULL
To query the size needed for some attribute, one may set data to NULL and pass the address of an uninitialized buffer as data_len. In this case, *data_len should not be read but only written to.
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
|