Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
8e4f8291
Commit
8e4f8291
authored
Dec 14, 2015
by
danh-arm
Browse files
Merge pull request #468 from danh-arm/dh/fwu-tweaks
FWU: Fix secure memory check in image auth
parents
31d5e7f5
03131c85
Changes
1
Hide whitespace changes
Inline
Side-by-side
bl1/bl1_fwu.c
View file @
8e4f8291
...
...
@@ -298,7 +298,8 @@ static int bl1_fwu_image_auth(unsigned int image_id,
* Image is in RESET state.
* Check the parameters and authenticate the source image in place.
*/
if
(
bl1_plat_mem_check
(
image_src
,
image_size
,
flags
))
{
if
(
bl1_plat_mem_check
(
image_src
,
image_size
,
\
image_desc
->
ep_info
.
h
.
attr
))
{
WARN
(
"BL1-FWU: Authentication arguments source/size not mapped
\n
"
);
return
-
ENOMEM
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment