[PATCH v2] mtd: mtd_torturetest can cause stack overflows
Artem Bityutskiy
dedekind1 at gmail.com
Wed Feb 13 07:49:08 EST 2013
On Tue, 2013-02-05 at 09:08 -0500, Al Cooper wrote:
> 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 <alcooperx at gmail.com>
Pushed to l2-mtd.git, thanks!
--
Best Regards,
Artem Bityutskiy
More information about the linux-mtd
mailing list