From: "Jesper Juhl" <jesper.juhl@gmail.com>
To: dedekind@infradead.org
Cc: linux-kernel@vger.kernel.org, dedekind@linutronix.de
Subject: Re: [PATCH] fix memory leak in UBI scanning unit
Date: Wed, 13 Jun 2007 00:21:43 +0200 [thread overview]
Message-ID: <9a8748490706121521q1192b9dbp6b2adff087fc01d@mail.gmail.com> (raw)
In-Reply-To: <1178784573.3734.5.camel@sauron>
On 10/05/07, Artem Bityutskiy <dedekind@infradead.org> wrote:
> On Thu, 2007-05-10 at 00:26 +0200, Jesper Juhl wrote:
> > In drivers/mtd/ubi/scan.c::paranoid_check_si() there's a memory leak.
> > If the call
> > err = ubi_io_is_bad(ubi, pnum);
> > returns <0, then we'll return with out freeing (and thus leak) buf.
> > This patch eliminates the memory leak by freeing buf before returning.
> >
> > Problem spotted by the Coverity checker.
>
> It was already reported and fixed in our git tree. But thanks anyway.
>
Any idea when you'll be merging with Linus?
I just checked mainline git and the bug is still there :-(
--
Jesper Juhl <jesper.juhl@gmail.com>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html
next prev parent reply other threads:[~2007-06-12 22:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-09 22:26 Jesper Juhl
2007-05-10 8:09 ` Artem Bityutskiy
2007-06-12 22:21 ` Jesper Juhl [this message]
2007-06-17 11:26 ` 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=9a8748490706121521q1192b9dbp6b2adff087fc01d@mail.gmail.com \
--to=jesper.juhl@gmail.com \
--cc=dedekind@infradead.org \
--cc=dedekind@linutronix.de \
--cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®