Skip to content
Commit 412e9e78 authored by Reinette Chatre's avatar Reinette Chatre Committed by John W. Linville
Browse files

ipw2200: prevent alloc of unspecified size on stack



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: default avatarReinette Chatre <reinette.chatre@intel.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent b24d22b1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment