From: Artem Bityutskiy <dedekind1@gmail.com>
To: Richard Weinberger <richard@nod.at>
Cc: linux-mtd@lists.infradead.org, dwmw2@infradead.org,
linux-kernel@vger.kernel.org, stable@vger.kernel.org
Subject: Re: [PATCH] UBI: Handle empty string in verify_mkvol_req()
Date: Sun, 15 Jan 2012 15:13:00 +0200 [thread overview]
Message-ID: <1326633184.2201.9.camel@koala> (raw)
In-Reply-To: <1326463660-17852-1-git-send-email-richard@nod.at>
On Fri, 2012-01-13 at 15:07 +0100, Richard Weinberger wrote:
> Currently it's possible to create a volume without a name.
> E.g:
> ubimkvol -n 32 -s 2MiB -t static /dev/ubi0 -N ""
>
> After that vtbl_check() will always fail because it does not permit
> empty strings.
>
> Cc: <stable@vger.kernel.org>
> Signed-off-by: Richard Weinberger <richard@nod.at>
Well-spotted, thank you! I'll send it to Linus soon, as well as the
other patch of yours.
Artem.
WARNING: multiple messages have this Message-ID (diff)
From: Artem Bityutskiy <dedekind1@gmail.com>
To: Richard Weinberger <richard@nod.at>
Cc: dwmw2@infradead.org, linux-mtd@lists.infradead.org,
linux-kernel@vger.kernel.org, stable@vger.kernel.org
Subject: Re: [PATCH] UBI: Handle empty string in verify_mkvol_req()
Date: Sun, 15 Jan 2012 15:13:00 +0200 [thread overview]
Message-ID: <1326633184.2201.9.camel@koala> (raw)
In-Reply-To: <1326463660-17852-1-git-send-email-richard@nod.at>
On Fri, 2012-01-13 at 15:07 +0100, Richard Weinberger wrote:
> Currently it's possible to create a volume without a name.
> E.g:
> ubimkvol -n 32 -s 2MiB -t static /dev/ubi0 -N ""
>
> After that vtbl_check() will always fail because it does not permit
> empty strings.
>
> Cc: <stable@vger.kernel.org>
> Signed-off-by: Richard Weinberger <richard@nod.at>
Well-spotted, thank you! I'll send it to Linus soon, as well as the
other patch of yours.
Artem.
next prev parent reply other threads:[~2012-01-15 13:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-13 14:07 [PATCH] UBI: Handle empty string in verify_mkvol_req() Richard Weinberger
2012-01-13 14:07 ` Richard Weinberger
2012-01-15 13:13 ` Artem Bityutskiy [this message]
2012-01-15 13:13 ` Artem Bityutskiy
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=1326633184.2201.9.camel@koala \
--to=dedekind1@gmail.com \
--cc=dwmw2@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=richard@nod.at \
--cc=stable@vger.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.