From: Johannes Berg Date: Wed, 29 Oct 2008 10:43:32 +0000 (+0100) Subject: libertas: fix buffer overrun X-Git-Tag: v2.6.28-rc3~3^2~13^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48735d8d8bd701b1e0cd3d49c21e5e385ddcb077;p=pandora-kernel.git libertas: fix buffer overrun If somebody sends an invalid beacon/probe response, that can trash the whole BSS descriptor. The descriptor is, luckily, large enough so that it cannot scribble past the end of it; it's well above 400 bytes long. Signed-off-by: Johannes Berg Cc: stable@kernel.org [2.6.24-2.6.27, bug present in some form since driver was added (2.6.22)] Signed-off-by: John W. Linville --- Reading git-diff-tree failed