]> git.proxmox.com Git - efi-boot-shim.git/commit
Kees' patch missed the offset adjustment to PEHdr.
authorPeter Jones <pjones@redhat.com>
Fri, 11 Apr 2014 19:05:24 +0000 (15:05 -0400)
committerPeter Jones <pjones@redhat.com>
Fri, 11 Apr 2014 19:05:24 +0000 (15:05 -0400)
commita876037a0d4b91638fcb6274bd7a976f8318a7e2
treed8bd623ea7817eb358e1058aed609bf5753b7386
parent5495694c043de510aaf8ff5dcbe17b6547794083
Kees' patch missed the offset adjustment to PEHdr.

In read_header, we adjust context->PEHdr's address by doshdr->e_lfanew.
If we're going to recompute that address, we have to adjust it here
too.

Signed-off-by: Peter Jones <pjones@redhat.com>
shim.c