]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
selinux: Adjust two checks for null pointers
authorMarkus Elfring <elfring@users.sourceforge.net>
Sun, 15 Jan 2017 12:30:20 +0000 (13:30 +0100)
committerPaul Moore <paul@paul-moore.com>
Wed, 29 Mar 2017 15:46:10 +0000 (11:46 -0400)
commit8ee4586ca5fe6c2a00f6a39f828f54c8f6cda472
treefd5bd7864c18fe076fd0f3af9196146631cb65ce
parentb380f783772eeb66a0da85549a85aadbe5f8e76d
selinux: Adjust two checks for null pointers

The script "checkpatch.pl" pointed information out like the following.

Comparison to NULL could be written !…

Thus fix affected source code places.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/selinux/ss/sidtab.c