From: Pandiyarajan Pitchaimuthu Date: Fri, 21 Sep 2012 14:41:46 +0000 (+0530) Subject: ath6kl: Array index out of bounds check X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~174^2^2~81^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86aa7c1efc63e0969dee575ac9e021dbcbaa95c3;p=pandora-kernel.git ath6kl: Array index out of bounds check The variable assigned_ep can be assigned value of -1 and is never checked if it equals -1. So the endpoint array can have -1 as the index value and can be out of bounds. The value of assigned_ep is checked for -1 and is ensured that the endpoint array doesn't go out of bounds. Signed-off-by: Pandiyarajan Pitchaimuthu Signed-off-by: Kalle Valo --- Reading git-diff-tree failed