Accepting request 162360 from home:michael-chang:branches:Base:System

- refresh grub2-secureboot-chainloader.patch: Fix wrongly aligned
  buffer address (bnc#811608)

OBS-URL: https://build.opensuse.org/request/show/162360
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=35
This commit is contained in:
Jiri Slaby 2013-04-03 09:06:46 +00:00 committed by Git OBS Bridge
parent afdf191554
commit 4419848f19
2 changed files with 7 additions and 1 deletions

View File

@ -406,7 +406,7 @@ Index: grub-2.00/grub-core/loader/efi/chainloader.c
+ goto error_exit; + 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); + grub_memcpy (buffer_aligned, data, context.size_of_headers);
+ +

View File

@ -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 Thu Mar 28 02:57:47 UTC 2013 - mchang@suse.com