From: Brian Norris <computersforpeace@gmail.com>
To: Kamlakant Patel <kamlakant.patel@broadcom.com>
Cc: Jayachandran C <jchandra@broadcom.com>,
linux-mtd@lists.infradead.org, dwmw2@infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] jffs2: Fix segmentation fault found in stress test
Date: Tue, 25 Feb 2014 18:52:19 -0800 [thread overview]
Message-ID: <20140226025219.GF4194@ld-irv-0074> (raw)
In-Reply-To: <1389015415-25196-1-git-send-email-kamlakant.patel@broadcom.com>
On Mon, Jan 06, 2014 at 07:06:54PM +0530, Kamlakant Patel wrote:
> Creating a large file on a JFFS2 partition sometimes crashes with this call
> trace:
[...]
>
> This crash is caused because the 'positions' is declared as an array of signed
> short. The value of position is in the range 0..65535, and will be converted
> to a negative number when the position is greater than 32767 and causes a
> corruption and crash. Changing the definition to 'unsigned short' fixes this
> issue
>
> Signed-off-by: Jayachandran C <jchandra@broadcom.com>
> Signed-off-by: Kamlakant Patel <kamlakant.patel@broadcom.com>
Pushed both patches to l2-mtd.git, and tagged them for -stable. Let me
know if you object.
Thanks,
Brian
prev parent reply other threads:[~2014-02-26 2:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-06 13:36 [PATCH 1/2] jffs2: Fix segmentation fault found in stress test Kamlakant Patel
2014-01-06 13:36 ` [PATCH 2/2] jffs2: Fix crash due to truncation of csize Kamlakant Patel
2014-02-26 2:52 ` Brian Norris [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=20140226025219.GF4194@ld-irv-0074 \
--to=computersforpeace@gmail.com \
--cc=dwmw2@infradead.org \
--cc=jchandra@broadcom.com \
--cc=kamlakant.patel@broadcom.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.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