linux-erofs.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: chao@kernel.org (Chao Yu)
Subject: [PATCH] staging: erofs: refuse to mount images with malformed volume name
Date: Sun, 18 Aug 2019 21:17:06 +0800	[thread overview]
Message-ID: <d8bca74f-62db-29c2-1165-48b491ad4118@kernel.org> (raw)
In-Reply-To: <20190818102824.22330-1-hsiangkao@aol.com>

On 2019-8-18 18:28, Gao Xiang wrote:
> From: Gao Xiang <gaoxiang25 at huawei.com>
> 
> As Richard reminder [1], A valid volume name should be
> ended in NIL terminator within the length of volume_name.
> 
> Since this field currently isn't really used, let's fix
> it to avoid potential bugs in the future.
> 
> [1] https://lore.kernel.org/r/1133002215.69049.1566119033047.JavaMail.zimbra at nod.at/
> 
> Reported-by: Richard Weinberger <richard at nod.at>
> Signed-off-by: Gao Xiang <gaoxiang25 at huawei.com>

Reviewed-by: Chao Yu <yuchao0 at huawei.com>

Thanks,

      parent reply	other threads:[~2019-08-18 13:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-18 10:28 [PATCH] staging: erofs: refuse to mount images with malformed volume name Gao Xiang
2019-08-18 12:18 ` kbuild test robot
2019-08-18 13:17 ` Chao Yu [this message]

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=d8bca74f-62db-29c2-1165-48b491ad4118@kernel.org \
    --to=chao@kernel.org \
    /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).