summaryrefslogtreecommitdiff
path: root/lib/mbedtls/x509_cert_parser.c
diff options
context:
space:
mode:
authorPrasad Kummari <prasad.kummari@amd.com>2024-09-13 13:02:52 +0530
committerTom Rini <trini@konsulko.com>2024-09-20 17:38:16 -0600
commit33a4dfc703b43f0e8d4da76411ee3f5aee0c8033 (patch)
tree32e79968e175f9b967e8c5d926aea196d861ce58 /lib/mbedtls/x509_cert_parser.c
parent948616894c6d3316a5ac8f2a891783e3e7ff3516 (diff)
cmd: sf: prevent overwriting the reserved memory
Added LMB API to prevent SF command from overwriting reserved memory areas. The current SPI code does not use LMB APIs for loading data into memory addresses. To resolve this, LMB APIs were added to check the load address of an SF command and ensure it does not overwrite reserved memory addresses. Similar checks are used in TFTP, serial load, and boot code to prevent overwriting reserved memory. Signed-off-by: Prasad Kummari <prasad.kummari@amd.com> Suggested-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Diffstat (limited to 'lib/mbedtls/x509_cert_parser.c')
0 files changed, 0 insertions, 0 deletions