linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Richard Weinberger <richard.weinberger@gmail.com>
To: Zhihao Cheng <chengzhihao1@huawei.com>
Cc: yi.zhang@huawei.com, Richard Weinberger <richard@nod.at>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Artem Bityutskiy <dedekind1@gmail.com>,
	LKML <linux-kernel@vger.kernel.org>,
	linux-mtd@lists.infradead.org
Subject: Re: [PATCH] ubifs: ubifs_tnc_start_commit: Fix OOB in layout_in_gaps
Date: Mon, 29 Jul 2019 22:35:55 +0200	[thread overview]
Message-ID: <CAFLxGvy-LL1aHibR73beifVES0_oUB44=j98jRGOaR2ci3V=qw@mail.gmail.com> (raw)
In-Reply-To: <CAFLxGvxEAGtQDFm4G3orY+M9yuthDA4j0+u=HbE9DKuo7H8WCg@mail.gmail.com>

On Mon, Jul 29, 2019 at 6:51 PM Richard Weinberger
<richard.weinberger@gmail.com> wrote:
> > -               ubifs_assert(c, p < c->gap_lebs + c->lst.idx_lebs);
> > +               ubifs_assert(c, p < c->lst.idx_lebs);

I wonder, doesn't this assert trigger too?

-- 
Thanks,
//richard

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

  reply	other threads:[~2019-07-29 20:36 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-20  6:05 [PATCH] ubifs: ubifs_tnc_start_commit: Fix OOB in layout_in_gaps Zhihao Cheng
2019-07-27 11:09 ` 答复: " chengzhihao
2019-07-27 11:13   ` Richard Weinberger
2019-07-29 16:51 ` Richard Weinberger
2019-07-29 20:35   ` Richard Weinberger [this message]
2019-07-30  1:20   ` 答复: " chengzhihao
2019-08-13 21:43     ` Richard Weinberger
2019-08-14  1:20       ` 答复: " chengzhihao
2019-08-16  8:00       ` chengzhihao
2019-09-15 22:00         ` Richard Weinberger
2019-09-16  1:20           ` Zhihao Cheng
2019-10-18  2:23           ` Zhihao Cheng
2019-11-12  3:45           ` Zhihao Cheng

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='CAFLxGvy-LL1aHibR73beifVES0_oUB44=j98jRGOaR2ci3V=qw@mail.gmail.com' \
    --to=richard.weinberger@gmail.com \
    --cc=chengzhihao1@huawei.com \
    --cc=dedekind1@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=richard@nod.at \
    --cc=s.hauer@pengutronix.de \
    --cc=yi.zhang@huawei.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).