Re: [GIT]: Networking

From: Geert Uytterhoeven
Date: Thu Dec 11 2008 - 09:01:29 EST


On Thu, 11 Dec 2008, Paul Moore wrote:
> 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.

I'm using an m68k cross-compiler, built from Debian sources:

| gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)

With kind regards,

Geert Uytterhoeven
Software Architect

Sony Techsoft Centre Europe
The Corporate Village  Da Vincilaan 7-D1  B-1935 Zaventem  Belgium

Phone: +32 (0)2 700 8453
Fax: +32 (0)2 700 8622
E-mail: Geert.Uytterhoeven@xxxxxxxxxxx
Internet: http://www.sony-europe.com/

A division of Sony Europe (Belgium) N.V.
VAT BE 0413.825.160 Â RPR Brussels
Fortis  BIC GEBABEBB  IBAN BE41293037680010
--
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/