]> git.baikalelectronics.ru Git - kernel.git/commit
kernel/auditfilter.c: replace count*size kmalloc by kcalloc
authorFabian Frederick <fabf@skynet.be>
Wed, 6 Aug 2014 23:03:22 +0000 (16:03 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 7 Aug 2014 01:01:12 +0000 (18:01 -0700)
commit7ad50b7c74bf68a831e774426da4939e3a62c5e7
tree26993043e7a0a4e3786e221792d997b49d803ae0
parent96b1a029b1357b6189da4fe76541596c8d49dd22
kernel/auditfilter.c: replace count*size kmalloc by kcalloc

kcalloc manages count*sizeof overflow.

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Cc: Eric Paris <eparis@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/auditfilter.c