diff options
author | Reinette Chatre <reinette.chatre@intel.com> | 2007-12-18 22:01:02 -0800 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2007-12-19 21:31:01 -0500 |
commit | 412e9e7800360ec93b6ba319b30666f6bfc721bd (patch) | |
tree | 03f8c45a68c123f8a290c567f07f12d500472ea5 /ipc/util.h | |
parent | b24d22b1d12c436a86282347868785207cff8a88 (diff) |
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: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'ipc/util.h')
0 files changed, 0 insertions, 0 deletions