selinux: Return directly after a failed kzalloc() in cat_read()
authorMarkus Elfring <elfring@users.sourceforge.net>
Sat, 14 Jan 2017 20:20:43 +0000 (21:20 +0100)
committerPaul Moore <paul@paul-moore.com>
Wed, 29 Mar 2017 13:54:48 +0000 (09:54 -0400)
commit7f6d0ad8b771a4936f448180de3bbfad92be34dc
treef89536bb940bc062bc704cdf503f5f23159958b8
parent9c312e79d6afb673114ebe7aabd5594e79827eea
selinux: Return directly after a failed kzalloc() in cat_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