[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130529000113.GA6648@gmail.com>
Date: Tue, 28 May 2013 20:01:13 -0400
From: Kumar amit mehta <gmate.amit@...il.com>
To: Kent Overstreet <koverstreet@...gle.com>
Cc: neilb@...e.de, linux-bcache@...r.kernel.org,
linux-raid@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] md: bcache: io.c: fix a potential NULL pointer
dereference
On Tue, May 28, 2013 at 05:20:41PM -0700, Kent Overstreet wrote:
> On Tue, May 28, 2013 at 12:31:15AM -0700, Kumar Amit Mehta wrote:
> > bio_alloc_bioset returns NULL on failure. This fix adds a missing check
> > for potential NULL pointer dereferencing.
>
> Whoops, that's definitely a bug. Thanks, applied.
>
> How'd you find it?
Using smatch[1]
[1] http://smatch.sourceforge.net/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists