]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kernel/auditfilter.c: replace count*size kmalloc by kcalloc
authorFabian Frederick <fabf@skynet.be>
Thu, 26 Jun 2014 00:42:19 +0000 (10:42 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 26 Jun 2014 00:42:19 +0000 (10:42 +1000)
commit2db14c4e1f777bdaabcbf0f2e10c5562d7ad4266
treead6fe02037669ed8431fa677e02043f9237eee6b
parentf6b283a92ce5899ec9da6a932e7dc006d786e0fd
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>
kernel/auditfilter.c