commit | 849688f9b1290f4565b572c176b578b44de5bdd0 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sat Sep 15 00:51:00 2018 -0600 |
committer | Alexander Graf <agraf@suse.de> | Sun Sep 23 21:55:30 2018 +0200 |
tree | 5b462f3bb7e456bc2e3829edb81171c17a2015e3 | |
parent | fc1ebd363ac8a6ec096534bf8c073a36a59c7966 [diff] |
efi: Correct the operation of efi_file_write() We should not directly cast between pointers and addresses since it breaks sandbox. Fix this and simplify the code in file_read(). Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Alexander Graf <agraf@suse.de>