diff options
| author | Lukasz Pawelczyk <[email protected]> | 2014-11-26 14:31:07 +0000 |
|---|---|---|
| committer | Casey Schaufler <[email protected]> | 2015-01-19 17:18:11 +0000 |
| commit | 68390ccf8b0a3470032f053d50379cfd49fbe952 (patch) | |
| tree | c31c481854862a723ae06c004993d574fe229235 /lib/string_helpers.c | |
| parent | smack: miscellaneous small fixes in function comments (diff) | |
| download | kernel-68390ccf8b0a3470032f053d50379cfd49fbe952.tar.gz kernel-68390ccf8b0a3470032f053d50379cfd49fbe952.zip | |
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 <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
