Re: [PATCH 43/46] selinux: Use kmalloc_array() in sidtab_init()

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

Re: [PATCH 43/46] selinux: Use kmalloc_array() in sidtab_init()

2017-03-29 Thread Paul Moore
On Sun, Jan 15, 2017 at 10:43 AM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sun, 15 Jan 2017 13:13:19 +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 43/46] selinux: Use kmalloc_array() in sidtab_init()

2017-01-15 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 15 Jan 2017 13:13:19 +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 43/46] selinux: Use kmalloc_array() in sidtab_init()

2017-01-15 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 15 Jan 2017 13:13:19 +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