diff options
author | David Howells <dhowells@redhat.com> | 2008-07-27 13:31:07 +0200 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2008-08-05 02:55:47 +0200 |
commit | cf9481e289247fe9cf40f2e2481220d899132049 (patch) | |
tree | 39b8e15d27876cd84acb07c9543b423c29d66a7f /security/smack | |
parent | SELinux: trivial, remove unneeded local variable (diff) | |
download | linux-cf9481e289247fe9cf40f2e2481220d899132049.tar.xz linux-cf9481e289247fe9cf40f2e2481220d899132049.zip |
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')
0 files changed, 0 insertions, 0 deletions