[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20180614141432.he6h3aphtxfsw2ef@mwanda>
Date: Thu, 14 Jun 2018 17:14:32 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: Zhouyang Jia <jiazhouyang09@...il.com>
Cc: devel@...verdev.osuosl.org,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging: gdm724x: add error handling for nlmsg_put
On Thu, Jun 14, 2018 at 11:27:26AM +0800, Zhouyang Jia wrote:
> Hi,
>
> I reported this bug since more than 95% callsites of nlmsg_put are
> well handled in kernel, and many of them also allocated skb before.
>
That's probably true, but the NULL check is not required *here*.
Just mark it as a false positive in your tool and move on... It's not
like we are close to running out of real bugs to deal with.
regards,
dan carpenter
Powered by blists - more mailing lists