Colin Ian King 69ea651c40 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>
2020-08-19 09:14:04 -04:00
..
2020-08-17 21:00:33 -04:00
2020-08-17 21:00:33 -04:00
2020-08-17 21:00:33 -04:00
2020-08-17 21:00:33 -04:00
2020-04-17 16:04:34 -04:00
2020-08-17 21:00:33 -04:00