diff --git a/grub2-secureboot-chainloader.patch b/grub2-secureboot-chainloader.patch index 9d1c853..e1db93d 100644 --- a/grub2-secureboot-chainloader.patch +++ b/grub2-secureboot-chainloader.patch @@ -406,7 +406,7 @@ Index: grub-2.00/grub-core/loader/efi/chainloader.c + goto error_exit; + } + -+ buffer_aligned = (char *)ALIGN_DOWN ((grub_addr_t)buffer, section_alignment); ++ buffer_aligned = (char *)ALIGN_UP ((grub_addr_t)buffer, section_alignment); + + grub_memcpy (buffer_aligned, data, context.size_of_headers); + diff --git a/grub2.changes b/grub2.changes index 9cccc0e..d0d71b6 100644 --- a/grub2.changes +++ b/grub2.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Apr 3 06:55:52 UTC 2013 - mchang@suse.com + +- refresh grub2-secureboot-chainloader.patch: Fix wrongly aligned + buffer address (bnc#811608) + ------------------------------------------------------------------- Thu Mar 28 02:57:47 UTC 2013 - mchang@suse.com