Home
last modified time | relevance | path

Searched hist:cf9481e289247fe9cf40f2e2481220d899132049 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/security/selinux/
H A Dhooks.cdiff cf9481e289247fe9cf40f2e2481220d899132049 Sun Jul 27 06:31:07 CDT 2008 David Howells <dhowells@redhat.com> 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>