]> git.karo-electronics.de Git - karo-tx-linux.git/commit
selinux: Return directly after a failed kzalloc() in user_read()
authorMarkus Elfring <elfring@users.sourceforge.net>
Sat, 14 Jan 2017 21:08:22 +0000 (22:08 +0100)
committerPaul Moore <paul@paul-moore.com>
Wed, 29 Mar 2017 15:15:17 +0000 (11:15 -0400)
commit4bd9f07b89f1a300f96b4863c3a8a4ec36991930
treeb1f0e2e98fb2991a6977a82cc8556a69ab07a5ad
parentb5921191005d050d55cf4f3b10f60110f7ed2c24
selinux: Return directly after a failed kzalloc() in user_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