summaryrefslogtreecommitdiffstats
path: root/security/safesetid
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2020-08-19 11:42:56 +0100
committerPaul Moore <paul@paul-moore.com>2020-08-19 09:14:04 -0400
commit69ea651c40f7f08962d440a0486fd0212be74b73 (patch)
tree1193a2717426983f4d656d49245a61c6e7a1d728 /security/safesetid
parentc7c556f1e81bb9e09656ed6650d0c44c84b7c016 (diff)
downloadlinux-69ea651c40f7f08962d440a0486fd0212be74b73.tar.gz
linux-69ea651c40f7f08962d440a0486fd0212be74b73.tar.bz2
linux-69ea651c40f7f08962d440a0486fd0212be74b73.zip
selinux: fix allocation failure check on newpolicy->sidtab
The allocation check of newpolicy->sidtab is null checking if newpolicy is null and not newpolicy->sidtab. Fix this. Addresses-Coverity: ("Logically dead code") Fixes: c7c556f1e81b ("selinux: refactor changing booleans") Signed-off-by: Colin Ian King <colin.king@canonical.com> Acked-by: Stephen Smalley <stephen.smalley.work@gmail.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security/safesetid')
0 files changed, 0 insertions, 0 deletions