[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20141216092717.GG4856@mwanda>
Date: Tue, 16 Dec 2014 12:27:17 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: Rickard Strandqvist <rickard_strandqvist@...ctrumdigital.se>
Cc: Joe Perches <joe@...ches.com>, devel@...verdev.osuosl.org,
Fabian Frederick <fabf@...net.be>,
Andreas Dilger <andreas.dilger@...el.com>,
Julia Lawall <Julia.Lawall@...6.fr>,
James Simmons <uja.ornl@...il.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Oleg Drokin <oleg.drokin@...el.com>,
Greg Donald <gdonald@...il.com>, HPDD-discuss@...1.01.org,
Andriy Skulysh <Andriy_Skulysh@...atex.com>,
"John L. Hammond" <john.hammond@...el.com>
Subject: Re: [PATCH] staging: lustre: lustre: obdclass: lprocfs_status.c: Fix
for possible null pointer dereference
On Mon, Dec 15, 2014 at 11:23:25PM +0100, Rickard Strandqvist wrote:
> Hi Joe
>
> No, it does not look like end can be NULL then.
> Then remove the end != NULL instead?
> ...
> if (end != NULL && *end == '.') {
>
Yes. Please do.
regards,
dan carpenter
--
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