diff options
author | Vasyl Gomonovych <gomonovych@gmail.com> | 2017-12-21 16:57:52 +0100 |
---|---|---|
committer | Casey Schaufler <casey@schaufler-ca.com> | 2017-12-27 14:43:19 -0800 |
commit | da49b5dad18aad357ab8841ee65d415f683efc6f (patch) | |
tree | 244ed6c95034085c102d3c1a26c47573259ff962 /security/smack/smack_access.c | |
parent | d21bd6898336a7892914d308d5e0868f0b863571 (diff) |
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: Vasyl Gomonovych <gomonovych@gmail.com>
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Diffstat (limited to 'security/smack/smack_access.c')
0 files changed, 0 insertions, 0 deletions