Skip to content
Snippets Groups Projects
Commit da49b5da authored by Vasyl Gomonovych's avatar Vasyl Gomonovych Committed by Casey Schaufler
Browse files

Smack: fix dereferenced before check


This patch fixes the warning reported by smatch:
security/smack/smack_lsm.c:2872 smack_socket_connect() warn:
variable dereferenced before check 'sock->sk' (see line 2869)

Signed-off-by: default avatarVasyl Gomonovych <gomonovych@gmail.com>
Signed-off-by: default avatarCasey Schaufler <casey@schaufler-ca.com>
parent d21bd689
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment