Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dm: fix possible buffer overflow in 'acrn_load_elf()'
Will attempt to access element 2048..2049 of array "ptr32" if below conditions are both true: 1) ptr32[i] == MULTIBOOT_HEAD_MAGIC 2) (i == (ELF_BUF_LEN/4) - 1) Tracked-On: #1252 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> Acked-by: Fengwei Yin <fengwei.yin@intel.com>
- Loading branch information