[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170704013757.mglr2mom3tev5nwj@thunk.org>
Date: Mon, 3 Jul 2017 21:37:57 -0400
From: Theodore Ts'o <tytso@....edu>
To: Dan Carpenter <dan.carpenter@...cle.com>
Cc: Andreas Dilger <adilger.kernel@...ger.ca>,
linux-ext4@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] ext4: don't free an error pointer
On Fri, Jun 30, 2017 at 10:56:53AM +0300, Dan Carpenter wrote:
> "goto out;" calls brelse(bh); which will oops on this this path where
> "bh" is an error pointer.
>
> Fixes: 2851a40a5d71 ("ext4: xattr-in-inode support")
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
> ---
> Oops. I wrote a bug report and a patch for this... Probably we only
> need the patch.
Thanks, I've folded your this to the xattr-in-inode patch and added a
credit for the bugfix to the commit log.
- Ted
Powered by blists - more mailing lists