commit | 8275ff312e656d563b06768e15f92b7cd0fdd5e3 | [log] [tgz] |
---|---|---|
author | Patrick Delaunay <patrick.delaunay@foss.st.com> | Thu Apr 27 15:36:34 2023 +0200 |
committer | Patrice Chotard <patrice.chotard@foss.st.com> | Fri Jun 16 11:16:31 2023 +0200 |
tree | 67d5aa05aabddd5a400f3cc3bd3cf4206ef094f8 | |
parent | c4a76ffdfd741d246b26d2477032b1d6a2226419 [diff] |
stm32mp: bsec: add check on null size in misc ops Add a protection in misc bsec ops for request with null size. For example OP-TEE error occurs when get_eth_nb() return 0 in setup_mac_address() for unknown part number because U-Boot read 0 OTPs. Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>