Re: [GIT]: Networking

From: Paul Moore
Date: Thu Dec 11 2008 - 08:21:21 EST


On Thursday 11 December 2008 7:50:23 am Geert Uytterhoeven wrote:
> On Mon, 8 Dec 2008, David Miller wrote:
> > Here are the pending net fixes:
> >
> > 6) netlabel OOPS'er fix from Paul Moore.
> >
> > Paul Moore (1):
> > netlabel: Fix a potential NULL pointer dereference
>
> This introduced:
> | net/netlabel/netlabel_unlabeled.c:567: warning: 'entry' may be used
> | uninitialized in this function
> | net/netlabel/netlabel_unlabeled.c:629: warning: 'entry' may be used
> | uninitialized in this function
>
> which may still oops, if the uninitialized entry pointer is
> dereferenced (in case list_entry == NULL).

Hi Geert,

First of, a quick question: what version of gcc are you using? I'm
using gcc-4.3.2 and I don't get this warning/error. Regardless, I'll
send out a patch later today which should resolve the warning.

--
paul moore
linux @ hp
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/