selinux: Return directly after a failed kzalloc() in common_read()
authorMarkus Elfring <elfring@users.sourceforge.net>
Sun, 15 Jan 2017 10:15:19 +0000 (11:15 +0100)
committerPaul Moore <paul@paul-moore.com>
Wed, 29 Mar 2017 15:29:11 +0000 (11:29 -0400)
commit442ca4d656645505346017c37ac137cde680bf38
treec6e88aeb2b32fd09fd3b99f367040ac3df00840b
parentdf4a14dfb484f95d81126e481e66b6e22eec49e8
selinux: Return directly after a failed kzalloc() in common_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