diff options
author | 2008-07-27 21:31:07 +1000 | |
---|---|---|
committer | 2008-08-05 10:55:47 +1000 | |
commit | cf9481e289247fe9cf40f2e2481220d899132049 (patch) | |
tree | 39b8e15d27876cd84acb07c9543b423c29d66a7f /net/unix/af_unix.c | |
parent | SELinux: trivial, remove unneeded local variable (diff) | |
download | wireguard-linux-cf9481e289247fe9cf40f2e2481220d899132049.tar.xz wireguard-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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions