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)
commitbab5e2d6522bc3cb892c1e8aaafecab05bed9d85
tree26993043e7a0a4e3786e221792d997b49d803ae0
parent85417aef44fc58b08773117ceb1bc6ca5684e973
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