]> git.karo-electronics.de Git - karo-tx-linux.git/commit
netfilter: xt_CT: fix unset return value if conntrack zone are disabled
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 10 Jan 2013 11:42:15 +0000 (12:42 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Feb 2013 00:27:08 +0000 (18:27 -0600)
commit8aec109e2abc91dee186d2b11eb550b763ae2791
treed27309f8c0bd8e00d15c228b8845e2eaca6d1e16
parent08423e3fa52d9432e4ef82c88d6b943f49c2696f
netfilter: xt_CT: fix unset return value if conntrack zone are disabled

commit 4610476d89d53714ca94aae081fa035908bc137a upstream.

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@alien8.de>
Acked-by: Borislav Petkov <bp@alien8.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/netfilter/xt_CT.c