From: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
To: Richard Genoud <richard.genoud@gmail.com>
Cc: linux-mtd@lists.infradead.org,
David Woodhouse <dwmw2@infradead.org>,
Adrian Hunter <adrian.hunter@intel.com>
Subject: Re: [PATCH] MTD: nandsim: BUG: Fail if overridesize is too big
Date: Tue, 25 Sep 2012 17:05:31 +0300 [thread overview]
Message-ID: <1348581931.24309.3.camel@sauron.fi.intel.com> (raw)
In-Reply-To: <1347452786-10208-1-git-send-email-richard.genoud@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 413 bytes --]
On Wed, 2012-09-12 at 14:26 +0200, Richard Genoud wrote:
> If override size is too big, the module was actually loaded instead of
> failing, because retval was not set.
>
> This lead to memory corruption with the use of the freed structs nandsim
> and nand_chip.
>
> Signed-off-by: Richard Genoud <richard.genoud@gmail.com>
Pushed to l2-mtd.git, CCed -stable.
--
Best Regards,
Artem Bityutskiy
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
prev parent reply other threads:[~2012-09-25 14:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-12 12:26 [PATCH] MTD: nandsim: BUG: Fail if overridesize is too big Richard Genoud
2012-09-18 8:27 ` Richard Genoud
2012-09-26 9:52 ` Artem Bityutskiy
2012-09-25 14:05 ` Artem Bityutskiy [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=1348581931.24309.3.camel@sauron.fi.intel.com \
--to=artem.bityutskiy@linux.intel.com \
--cc=adrian.hunter@intel.com \
--cc=dwmw2@infradead.org \
--cc=linux-mtd@lists.infradead.org \
--cc=richard.genoud@gmail.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