]> err.no Git - linux-2.6/commit
sched: domain sysctl fixes: use kcalloc()
authorMilton Miller <miltonm@bga.com>
Mon, 15 Oct 2007 15:00:19 +0000 (17:00 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 15 Oct 2007 15:00:19 +0000 (17:00 +0200)
commit5cf9f062c8e33d5a09eaa447550330162b2a96ed
tree93095cd5531605db4084a5189fef41ef4e36d3cb
parent0dbee3a6b006dbe814d002cb18e94bf24a216451
sched: domain sysctl fixes: use kcalloc()

kcalloc checks for n * sizeof(element) overflows and it zeros.

Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c