commit | 68390ccf8b0a3470032f053d50379cfd49fbe952 | [log] [tgz] |
---|---|---|
author | Lukasz Pawelczyk <l.pawelczyk@samsung.com> | Wed Nov 26 15:31:07 2014 +0100 |
committer | Casey Schaufler <casey@schaufler-ca.com> | Mon Jan 19 09:18:11 2015 -0800 |
tree | c31c481854862a723ae06c004993d574fe229235 | |
parent | 1a28979b322bb28d8f95f76f080c53dbb9a8222d [diff] |
smack: fix logic in smack_inode_init_security function In principle if this function was called with "value" == NULL and "len" not NULL it could return different results for the "len" compared to a case where "name" was not NULL. This is a hypothetical case that does not exist in the kernel, but it's a logic bug nonetheless. Signed-off-by: Lukasz Pawelczyk <l.pawelczyk@samsung.com>