From: Roel Kluin Date: Fri, 7 Aug 2009 22:35:31 +0000 (+0200) Subject: Staging: vt6655: fix possible Read buffer overflow X-Git-Tag: v2.6.32-rc1~668^2~242 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03cd7136d68b4877a9e1793d31cab38fdcb67434;p=pandora-kernel.git Staging: vt6655: fix possible Read buffer overflow If pDevice->sOpts.nRxDescs{0,1} or nTxDescs[{0,1}] is zero, the loop ends with i == 0, and we write aRD{0,1}Ring[-1]. apTD{0,1}Rings[-1] respectively. Signed-off-by: Roel Kluin Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed