commit | b380f783772eeb66a0da85549a85aadbe5f8e76d | [log] [tgz] |
---|---|---|
author | Markus Elfring <elfring@users.sourceforge.net> | Sun Jan 15 13:13:19 2017 +0100 |
committer | Paul Moore <paul@paul-moore.com> | Wed Mar 29 11:44:10 2017 -0400 |
tree | 99944fceb5c371cf919a4f8ec83ad99c5b95bb92 | |
parent | ebd2b47ba52760e9653456ba19032f79d734a343 [diff] |
selinux: Use kmalloc_array() in sidtab_init() A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus use the corresponding function "kmalloc_array". This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Paul Moore <paul@paul-moore.com>