summaryrefslogtreecommitdiff
path: root/lib/psci/psci_main.c
diff options
context:
space:
mode:
authorAntonio Nino Diaz <antonio.ninodiaz@arm.com>2017-01-13 15:03:19 +0000
committerAntonio Nino Diaz <antonio.ninodiaz@arm.com>2017-01-19 09:30:32 +0000
commit51c5e1a29fad07ad2758f44db868c1a4cdcd4e32 (patch)
treee3f5cb613300d3a7aa18feba8290f199bdef62ea /lib/psci/psci_main.c
parentc8d64c54c9397f19555cb23b87c5170595ed5e7a (diff)
Clear static variables in X509 parser on error
In mbedtls_x509_parser.c there are some static arrays that are filled during the integrity check and then read whenever an authentication parameter is requested. However, they aren't cleared in case of an integrity check failure, which can be problematic from a security point of view. This patch clears these arrays in the case of failure. Change-Id: I9d48f5bc71fa13e5a75d6c45b5e34796ef13aaa2 Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
Diffstat (limited to 'lib/psci/psci_main.c')
0 files changed, 0 insertions, 0 deletions