diff options
author | Soby Mathew <soby.mathew@arm.com> | 2017-06-15 16:11:48 +0100 |
---|---|---|
committer | Soby Mathew <soby.mathew@arm.com> | 2017-06-21 17:46:28 +0100 |
commit | ee05ae168061d713129affb93f4d275ff7a0d1d6 (patch) | |
tree | 3e138b27ca5e3458e4ab5de727dacabd17c5f21f /lib/stdlib/assert.c | |
parent | b1187232fdf819586ba8c8ece4a27a7515cbdc6d (diff) |
Fix issues in FWU code
This patch fixes the following issues in Firmware Update (FWU) code:
1. The FWU layer maintains a list of loaded image ids and
while checking for image overlaps, INVALID_IMAGE_IDs were not
skipped. The patch now adds code to skip INVALID_IMAGE_IDs.
2. While resetting the state corresponding to an image, the code
now resets the memory used by the image only if the image were
copied previously via IMAGE_COPY smc. This prevents the invalid
zeroing of image memory which are not copied but are directly
authenticated via IMAGE_AUTH smc.
Change-Id: Idf18e69bcba7259411c88807bd0347d59d9afb8f
Signed-off-by: Soby Mathew <soby.mathew@arm.com>
Diffstat (limited to 'lib/stdlib/assert.c')
0 files changed, 0 insertions, 0 deletions