Skip to content
Snippets Groups Projects
Commit 315c0ace authored by Kees Cook's avatar Kees Cook Committed by Simon Glass
Browse files

bootm: allow correct bounds-check of destination


While nothing presently examines the destination size, it should at
least be correct so that future users of sys_mapmem() will not be
surprised. Without this, it might be possible to overflow memory.

Signed-off-by: default avatarKees Cook <keescook@chromium.org>
Acked-by: default avatarSimon Glass <sjg@chromium.org>
parent ff9d2efd
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment