selinux: Return directly after a failed kzalloc() in perm_read()
authorMarkus Elfring <elfring@users.sourceforge.net>
Sun, 15 Jan 2017 10:20:13 +0000 (11:20 +0100)
committerPaul Moore <paul@paul-moore.com>
Wed, 29 Mar 2017 15:30:51 +0000 (11:30 -0400)
commit7befb7514e5d53026e9fe4a6548f118a65a20a4f
treeffee6fe5fd0e80de6a638570818e6395ef0d5100
parent442ca4d656645505346017c37ac137cde680bf38
selinux: Return directly after a failed kzalloc() in perm_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