commit | 0e77ca986d0c5773ac9251d5144f15fadcd21b07 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Fri Oct 19 07:51:26 2018 +0200 |
committer | Alexander Graf <agraf@suse.de> | Sun Dec 02 21:59:37 2018 +0100 |
tree | 462434baa564d79739f93451ec7afe017ab280a0 | |
parent | 26f09d065921f86f07d8ae9d82ae6cae07d17830 [diff] |
efi_selftest: do not write to linker generated array Linker generated arrays may be stored in code sections of memory that are not writable. So let's allocate setup_ok as an array at runtime. This avoids an illegal memory access observed in the sandbox. Reported-by: Simon Glass <sjg@chromium.org> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>