From: John W. Linville Date: Mon, 4 May 2009 15:18:57 +0000 (-0400) Subject: airo: airo_get_encode{,ext} potential buffer overflow X-Git-Tag: linux-omap-v2.6.30-rc6~5^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aedec9226809ae9d1972f8f8079fc70206ee7a88;p=pandora-kernel.git airo: airo_get_encode{,ext} potential buffer overflow Feeding the return code of get_wep_key directly to the length parameter of memcpy is a bad idea since it could be -1... Reported-by: Eugene Teo Signed-off-by: John W. Linville --- Reading git-diff-tree failed