ipw2200: prevent alloc of unspecified size on stack
authorReinette Chatre <reinette.chatre@intel.com>
Wed, 19 Dec 2007 06:01:02 +0000 (22:01 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 20 Dec 2007 02:31:01 +0000 (21:31 -0500)
if log_len is larger than 4K then we are killing the stack.
allocate on heap instead and limit size to what practically can
be used (PAGE_SIZE)

Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

No differences found