summaryrefslogtreecommitdiff
path: root/Cryptlib/SysCall
diff options
context:
space:
mode:
authorEric Snowberg <eric.snowberg@oracle.com>2022-11-02 10:39:43 -0600
committerPeter Jones <pjones@redhat.com>2022-11-08 12:46:46 -0500
commit2d4ebb5a798aafd3b06d2c3cb9c9840c1caa41ef (patch)
treea82902aee8da5caf87a1864b18d7cb8795b5d870 /Cryptlib/SysCall
parent5c537b3d0cf8c393dad2e61d49aade68f3af1401 (diff)
downloadefi-boot-shim-2d4ebb5a798aafd3b06d2c3cb9c9840c1caa41ef.tar.gz
efi-boot-shim-2d4ebb5a798aafd3b06d2c3cb9c9840c1caa41ef.zip
load_cert_file: Fix stack issue
0214cd9cef5a fixes a NULL pointer dereference problem, it introduces two new problems. First it incorrectly assumes li.FilePath is a string. Second, it puts EFI_LOADED_IMAGE li on the stack. It has been found that not all archectures can handle this being on the stack. The shim_li variable will be setup properly from the read_image call. Use the global shim_li variable instead when calling verify_image. Signed-off-by: Eric Snowberg <eric.snowberg@oracle.com>
Diffstat (limited to 'Cryptlib/SysCall')
0 files changed, 0 insertions, 0 deletions