[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAJSP0QXsXqfJCMMGgixyryVCX7isQHf=9rhyCwfiOgP5TFYRsg@mail.gmail.com>
Date: Mon, 22 Dec 2014 07:34:32 +0000
From: Stefan Hajnoczi <stefanha@...il.com>
To: Rickard Strandqvist <rickard_strandqvist@...ctrumdigital.se>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jerry Snitselaar <dev@...tselaar.org>,
Fabian Mewes <architekt@...ing4coffee.org>,
devel@...verdev.osuosl.org,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] staging: line6: toneport.c: Fix for possible null pointer dereference
On Sun, Dec 21, 2014 at 10:43 PM, Rickard Strandqvist
<rickard_strandqvist@...ctrumdigital.se> wrote:
> The NULL check was done to late, and there it was a risk
> of a possible null pointer dereference.
>
> This was partially found by using a static code analysis program called cppcheck.
>
> Signed-off-by: Rickard Strandqvist <rickard_strandqvist@...ctrumdigital.se>
> ---
> drivers/staging/line6/toneport.c | 15 ++++++++-------
> 1 file changed, 8 insertions(+), 7 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefanha@...il.com>
--
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