From: Chen Yu <yu.chen.surf@gmail.com>
To: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Steven Rostedt <rostedt@goodmis.org>,
Chen Yu <yu.c.chen@intel.com>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] bootconfig: Extend the magic check range to the preceding 3 bytes
Date: Fri, 13 Nov 2020 09:27:38 +0800 [thread overview]
Message-ID: <CADjb_WSx+sbxAz=p5dCN5PXzR5Zq2Nb3kgup-r8qNM1ftUMzDw@mail.gmail.com> (raw)
In-Reply-To: <160520205132.303174.4876760192433315429.stgit@devnote2>
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>
Best,
Chenyu
next prev parent reply other threads:[~2020-11-13 1:27 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-10 15:39 bootconfig length parse error in kernel Chen Yu
2020-11-11 9:37 ` Masami Hiramatsu
2020-11-12 4:34 ` Chen Yu
2020-11-12 5:50 ` Masami Hiramatsu
2020-11-12 6:49 ` Chen Yu
2020-11-12 15:36 ` Masami Hiramatsu
2020-11-12 17:27 ` [PATCH] bootconfig: Extend the magic check range to the preceding 3 bytes Masami Hiramatsu
2020-11-13 1:27 ` Chen Yu [this message]
2020-11-13 2:21 ` Masami Hiramatsu
2020-11-13 3:16 ` Steven Rostedt
2020-11-13 0:49 ` bootconfig length parse error in kernel Chen Yu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CADjb_WSx+sbxAz=p5dCN5PXzR5Zq2Nb3kgup-r8qNM1ftUMzDw@mail.gmail.com' \
--to=yu.chen.surf@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mhiramat@kernel.org \
--cc=rostedt@goodmis.org \
--cc=yu.c.chen@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).