[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170713202322.4joas52vuvjpx6w5@mwanda>
Date: Thu, 13 Jul 2017 23:23:22 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: Ilya Dryomov <idryomov@...il.com>
Cc: "Yan, Zheng" <zyan@...hat.com>, Sage Weil <sage@...hat.com>,
"David S. Miller" <davem@...emloft.net>,
Ceph Development <ceph-devel@...r.kernel.org>,
netdev <netdev@...r.kernel.org>, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH net] libceph: osdmap: Fix some NULL dereferences
On Thu, Jul 13, 2017 at 06:13:22PM +0200, Ilya Dryomov wrote:
>
> Hi Dan,
>
> I applied osdmap_apply_incremental() hunk and fixed a similar bug in
> osdmap_decode() (it's a not NULL deref, that's why smatch didn't catch
> it).
>
No... :/ Smatch complained about it, but I somehow marked it as done
yesterday without sending a patch. Thanks for catching that.
The Smatch check is just looking for places where we do ERR_PTR(0) or
ERR_PTR(valid_ptr). That can be intentional, so there is some hand
reviewing involved.
regards,
dan carpenter
Powered by blists - more mailing lists