selinux: Return directly after a failed kzalloc() in role_read()
authorMarkus Elfring <elfring@users.sourceforge.net>
Sat, 14 Jan 2017 21:20:25 +0000 (22:20 +0100)
committerPaul Moore <paul@paul-moore.com>
Wed, 29 Mar 2017 15:22:12 +0000 (11:22 -0400)
commitea6e2f7d12921f336def7398805ee3b1619e2f4b
tree23ed586540721a9e34ebcc8e87895ec61996ee0b
parent549fe69ee5c7a7f55c34555032961a2265e6e713
selinux: Return directly after a failed kzalloc() in role_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