selinux: Return directly after a failed kzalloc() in type_read()
authorMarkus Elfring <elfring@users.sourceforge.net>
Sat, 14 Jan 2017 21:15:54 +0000 (22:15 +0100)
committerPaul Moore <paul@paul-moore.com>
Wed, 29 Mar 2017 15:20:07 +0000 (11:20 -0400)
commit549fe69ee5c7a7f55c34555032961a2265e6e713
tree2652c1314b80ba8f261cf69f26927edda4ea2169
parent4bd9f07b89f1a300f96b4863c3a8a4ec36991930
selinux: Return directly after a failed kzalloc() in type_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