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

Skip to content
Commit 4a868ba0 authored by Gaurav Kashyap's avatar Gaurav Kashyap
Browse files

soc: qcom: hwkm: check key size before unwrap



Make sure key size is what is expected by command packet
for KEY_UNWRAP_IMPORT in order to not overflow the buffer
and corrupt the stack.

Change-Id: Iba1d6bb3bf5efc4f4e64dafce0fbb65bb6f7b8c6
Signed-off-by: default avatarGaurav Kashyap <gaurkash@codeaurora.org>
parent 5df03724
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