selinux: Return directly after a failed kzalloc() in class_read()
authorMarkus Elfring <elfring@users.sourceforge.net>
Sat, 14 Jan 2017 21:30:51 +0000 (22:30 +0100)
committerPaul Moore <paul@paul-moore.com>
Wed, 29 Mar 2017 15:24:58 +0000 (11:24 -0400)
commitdf4a14dfb484f95d81126e481e66b6e22eec49e8
tree5a55b06d3b497b9a101e5986391e95af38c4ac0c
parentea6e2f7d12921f336def7398805ee3b1619e2f4b
selinux: Return directly after a failed kzalloc() in class_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