[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CADjb_WSx+sbxAz=p5dCN5PXzR5Zq2Nb3kgup-r8qNM1ftUMzDw@mail.gmail.com>
Date: Fri, 13 Nov 2020 09:27:38 +0800
From: Chen Yu <yu.chen.surf@...il.com>
To: Masami Hiramatsu <mhiramat@...nel.org>
Cc: Steven Rostedt <rostedt@...dmis.org>,
Chen Yu <yu.c.chen@...el.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] bootconfig: Extend the magic check range to the preceding
3 bytes
On Fri, Nov 13, 2020 at 1:27 AM Masami Hiramatsu <mhiramat@...nel.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@...il.com>
> Signed-off-by: Masami Hiramatsu <mhiramat@...nel.org>
> ---
Works for me, thanks!
Tested-by: Chen Yu <yu.chen.surf@...il.com>
Best,
Chenyu
Powered by blists - more mailing lists