selinux: Return directly after a failed kzalloc() in sens_read()
authorMarkus Elfring <elfring@users.sourceforge.net>
Sat, 14 Jan 2017 20:42:02 +0000 (21:42 +0100)
committerPaul Moore <paul@paul-moore.com>
Wed, 29 Mar 2017 13:56:48 +0000 (09:56 -0400)
commit3c354d7d7bd5e788c3d94969e4a85648d29d9d12
treee868a0dfef9f4c160adb4332957d0f9b5cdea7f9
parent7f6d0ad8b771a4936f448180de3bbfad92be34dc
selinux: Return directly after a failed kzalloc() in sens_read()

Return directly after a call of the function "kzalloc" failed
at the beginning.

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