commit | 81003da99431b1eaa3028957137ee855db464d9e | [log] [tgz] |
---|---|---|
author | Kees Cook <keescook@chromium.org> | Fri Aug 16 07:59:16 2013 -0700 |
committer | Simon Glass <sjg@chromium.org> | Tue Sep 03 13:30:26 2013 -0600 |
tree | 949418163f0c60d0336867d530f53fc5a80ada72 | |
parent | d465f8815369f94c448e9ace459bd4b9be1df8a2 [diff] |
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: Kees Cook <keescook@chromium.org> Acked-by: Simon Glass <sjg@chromium.org>