Re: v3.8-rc3: uninitialized warnings in net/netfilter/xt_CT.c

From: Pablo Neira Ayuso
Date: Thu Jan 10 2013 - 07:15:54 EST


On Thu, Jan 10, 2013 at 01:01:21PM +0100, Borislav Petkov wrote:
> On Thu, Jan 10, 2013 at 12:47:42PM +0100, Pablo Neira Ayuso wrote:
> > Patch attached to address this issue.
>
> > From 3ceaa3b1baa660aaeef63b86ea9771dcab6d0acd Mon Sep 17 00:00:00 2001
> > From: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx>
> > Date: Thu, 10 Jan 2013 12:42:15 +0100
> > Subject: [PATCH] netfilter: xt_CT: fix unset return value if conntrack zone
> > are disabled
> > MIME-Version: 1.0
> > Content-Type: text/plain; charset=UTF-8
> > Content-Transfer-Encoding: 8bit
> >
> > net/netfilter/xt_CT.c: In function âxt_ct_tg_check_v1â:
> > net/netfilter/xt_CT.c:250:6: warning: âretâ may be used uninitialized in this function [-Wmaybe-uninitialized]
> > net/netfilter/xt_CT.c: In function âxt_ct_tg_check_v0â:
> > net/netfilter/xt_CT.c:112:6: warning: âretâ may be used uninitialized in this function [-Wmaybe-uninitialized]
> >
> > Reported-by: Borislav Petkov <bp@xxxxxxxxx>
> > Signed-off-by: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx>
>
> Yep, that's exactly what I meant, thanks Pablo.
>
> Acked-by: Borislav Petkov <bp@xxxxxxxxx>

Applied, thanks Borislav.
--
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/