]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
SELinux: Fix a potentially uninitialised variable in SELinux hooks
authorDavid Howells <dhowells@redhat.com>
Sun, 27 Jul 2008 11:31:07 +0000 (21:31 +1000)
committerJames Morris <jmorris@namei.org>
Tue, 5 Aug 2008 00:55:47 +0000 (10:55 +1000)
commitcf9481e289247fe9cf40f2e2481220d899132049
tree39b8e15d27876cd84acb07c9543b423c29d66a7f
parent0c0e186f812457e527c420f7a4d02865fd0dc7d2
SELinux: Fix a potentially uninitialised variable in SELinux hooks

Fix a potentially uninitialised variable in SELinux hooks that's given a
pointer to the network address by selinux_parse_skb() passing a pointer back
through its argument list.  By restructuring selinux_parse_skb(), the compiler
can see that the error case need not set it as the caller will return
immediately.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: James Morris <jmorris@namei.org>
security/selinux/hooks.c