Re: [PATCH] ubifs: Use kmalloc_array()

2018-07-02 Thread Kees Cook
On Mon, Jul 2, 2018 at 2:47 PM, Richard Weinberger wrote: > Since commit 6da2ec56059c ("treewide: kmalloc() -> kmalloc_array()") > we use kmalloc_array() for kmalloc() that computes the length with > a multiplication. > > Cc: Kees Cook > Suggested-by: Kees Cook > Signed-off-by: Richard Weinberge

[PATCH] ubifs: Use kmalloc_array()

2018-07-02 Thread Richard Weinberger
Since commit 6da2ec56059c ("treewide: kmalloc() -> kmalloc_array()") we use kmalloc_array() for kmalloc() that computes the length with a multiplication. Cc: Kees Cook Suggested-by: Kees Cook Signed-off-by: Richard Weinberger --- fs/ubifs/journal.c | 2 +- 1 file changed, 1 insertion(+), 1 del