Re: [PATCH 04/46] selinux: Use kmalloc_array() in hashtab_create()

2017-03-23 Thread Paul Moore
On Sun, Jan 15, 2017 at 10:01 AM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sat, 14 Jan 2017 12:06:13 +0100 > > A multiplication for the size determination of a memory allocation > indicated that an array data structure

Re: [PATCH 04/46] selinux: Use kmalloc_array() in hashtab_create()

2017-03-23 Thread Paul Moore
On Sun, Jan 15, 2017 at 10:01 AM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sat, 14 Jan 2017 12:06:13 +0100 > > A multiplication for the size determination of a memory allocation > indicated that an array data structure should be processed. > Thus use the corresponding function

[PATCH 04/46] selinux: Use kmalloc_array() in hashtab_create()

2017-01-15 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 14 Jan 2017 12:06:13 +0100 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

[PATCH 04/46] selinux: Use kmalloc_array() in hashtab_create()

2017-01-15 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 14 Jan 2017 12:06:13 +0100 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