From: Al Cooper Date: Tue, 5 Feb 2013 14:08:10 +0000 (-0500) Subject: mtd: mtd_torturetest can cause stack overflows X-Git-Tag: v3.9-rc1~18^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=221b1bd3d409b14e8764d8f40994b71ae6887d18;p=pandora-kernel.git mtd: mtd_torturetest can cause stack overflows mtd_torturetest uses the module parm "ebcnt" to control the size of a stack based array of int's. When "ebcnt" is large, Ex: 1000, it causes stack overflows on systems with small kernel stacks. The fix is to move the array from the stack to kmalloc memory. Signed-off-by: Al Cooper Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed