lkml.org 
[lkml]   [2020]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] bootconfig: Extend the magic check range to the preceding 3 bytes
From


On November 12, 2020 9:21:08 PM EST, Masami Hiramatsu <mhiramat@kernel.org> wrote:
>On Fri, 13 Nov 2020 09:27:38 +0800
>Chen Yu <yu.chen.surf@gmail.com> wrote:
>
>> On Fri, Nov 13, 2020 at 1:27 AM Masami Hiramatsu
><mhiramat@kernel.org> wrote:
>> >
>> > Since Grub may align the size of initrd to 4 if user pass
>> > initrd from cpio, we have to check the preceding 3 bytes as well.
>> >
>> > Fixes: 85c46b78da58 ("bootconfig: Add bootconfig magic word for
>indicating bootconfig explicitly")
>> > Reported-by: Chen Yu <yu.chen.surf@gmail.com>
>> > Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
>> > ---
>> Works for me, thanks!
>> Tested-by: Chen Yu <yu.chen.surf@gmail.com>
>
>Thank you Chen!
>
>Steve, could you merge this fix?
>

I'm testing it now.

-- Steve

>Thank you,
>
>>
>> Best,
>> Chenyu

--
Sent from my Android device with K-9 Mail. Please excuse my brevity and top posting.

\
 
 \ /
  Last update: 2020-11-13 04:24    [W:0.061 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site