Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 83e007a0 authored by Carlo Caione's avatar Carlo Caione Committed by Kevin Hilman
Browse files

firmware: meson-sm: Check for buffer output size



After the data is read by the secure monitor driver it is being copied
in the output buffer checking only the size of the bounce buffer but not
the size of the output buffer.

Fix this in the secure monitor driver slightly changing the API. Fix
also the efuse driver that it is the only driver using this API to not
break bisectability.

Signed-off-by: default avatarCarlo Caione <carlo@endlessm.com>
Acked-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> # for nvmem
Acked-by: default avatarMark Rutland <mark.rutland@arm.com>
Signed-off-by: default avatarKevin Hilman <khilman@baylibre.com>
parent c1ae3cfa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment