summaryrefslogtreecommitdiff
path: root/arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@foss.st.com>2023-04-27 15:36:34 +0200
committerPatrice Chotard <patrice.chotard@foss.st.com>2023-06-16 11:16:31 +0200
commit7b802e1acfc3a47e889afe22bdf47d1e52287cbe (patch)
tree67d5aa05aabddd5a400f3cc3bd3cf4206ef094f8 /arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c
parent6bdef5b76757f192251d34e4c7330be9bf14f605 (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>
Diffstat (limited to 'arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c')
0 files changed, 0 insertions, 0 deletions