diff options
author | David Howells <dhowells@redhat.com> | 2008-07-27 21:31:07 +1000 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2008-08-05 10:55:47 +1000 |
commit | cf9481e289247fe9cf40f2e2481220d899132049 (patch) | |
tree | 39b8e15d27876cd84acb07c9543b423c29d66a7f /security/smack/smack.h | |
parent | 0c0e186f812457e527c420f7a4d02865fd0dc7d2 (diff) | |
download | op-kernel-dev-cf9481e289247fe9cf40f2e2481220d899132049.zip op-kernel-dev-cf9481e289247fe9cf40f2e2481220d899132049.tar.gz |
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>
Diffstat (limited to 'security/smack/smack.h')
0 files changed, 0 insertions, 0 deletions