aboutsummaryrefslogtreecommitdiff
path: root/bl1/bl1_main.c
diff options
context:
space:
mode:
authorJuan Castillo <juan.castillo@arm.com>2015-03-10 15:18:55 +0000
committerJuan Castillo <juan.castillo@arm.com>2015-06-25 08:53:26 +0100
commitd5e0a933b3e6e0ff43e6d46982b93605a5eadf05 (patch)
tree37617dc1eda6771ae2c3c919ba70549e9ac0bb1a /bl1/bl1_main.c
parentc3da66b1bb3b0769bfb8a8fcdefed1b49cf373a4 (diff)
downloadarm-trusted-firmware-d5e0a933b3e6e0ff43e6d46982b93605a5eadf05.tar.gz
TBB: replace assert() with runtime checks in PolarSSL module
Using assert() to check the length of keys and hashes included in a certificate is not a safe approach because assert() only applies to debug builds. A malformed certificate could exploit security flaws in release binaries due to buffer overflows. This patch replaces assert() with runtime checkings in the PolarSSL authentication module, so malformed certificates can not cause a memory overflow. Change-Id: I42ba912020595752c806cbd242fe3c74077d993b
Diffstat (limited to 'bl1/bl1_main.c')
0 files changed, 0 insertions, 0 deletions