Wind River Support Network

HomeDefectsLIN5-18363
Fixed

LIN5-18363 : WRL5 several Uninitialized variables in net/netfilter/xt_socket.c

Created: Mar 20, 2014    Updated: Dec 19, 2017
Resolved Date: Apr 5, 2014
Found In Version: 5.0.1
Fix Version: 5.0.1.14
Severity: Standard
Applicable for: Wind River Linux 5
Component/s: Kernel

Description

:/workspace/projects/intel-xeon-core_cgl_0012_prj$ cat build/linux-windriver-3.4-r0/temp/log.do_compile | grep netfilter | grep warning:
/workspace/projects/intel-xeon-core_cgl_0012_prj/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/linux-windriver-3.4-r0/linux/net/ipv6/netfilter/nf_conntrack_reasm.c:317:16: warning: 'nhoff' may be used uninitialized in this function [-Wuninitialized]
/workspace/projects/intel-xeon-core_cgl_0012_prj/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/linux-windriver-3.4-r0/linux/net/netfilter/xt_socket.c:294:28: warning: 'sport' may be used uninitialized in this function [-Wuninitialized]
/workspace/projects/intel-xeon-core_cgl_0012_prj/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/linux-windriver-3.4-r0/linux/net/netfilter/xt_socket.c:294:28: warning: 'dport' may be used uninitialized in this function [-Wuninitialized]
/workspace/projects/intel-xeon-core_cgl_0012_prj/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/linux-windriver-3.4-r0/linux/net/netfilter/xt_socket.c:318:2: warning: 'saddr' may be used uninitialized in this function [-Wuninitialized]
/workspace/projects/intel-xeon-core_cgl_0012_prj/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/linux-windriver-3.4-r0/linux/net/netfilter/xt_socket.c:318:2: warning: 'daddr' may be used uninitialized in this function [-Wuninitialized]
/workspace/projects/intel-xeon-core_cgl_0012_prj/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/linux-windriver-3.4-r0/linux/net/netfilter/xt_socket.c:158:28: warning: 'protocol' may be used uninitialized in this function [-Wuninitialized]
/workspace/projects/intel-xeon-core_cgl_0012_prj/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/linux-windriver-3.4-r0/linux/net/netfilter/xt_socket.c:158:28: warning: 'sport' may be used uninitialized in this function [-Wuninitialized]
/workspace/projects/intel-xeon-core_cgl_0012_prj/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/linux-windriver-3.4-r0/linux/net/netfilter/xt_socket.c:158:28: warning: 'dport' may be used uninitialized in this function [-Wuninitialized]


Fixed in the attached fix.

Other Downloads


Live chat
Online