From: Maciej Patelczyk Date: Tue, 21 Jun 2011 22:03:13 +0000 (+0000) Subject: isci: possible buffer overflow in isci_parse_oem_parameters fixed X-Git-Tag: v3.0-rc6~1^2~1^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7cafbf1bd56be44038148bb8f733ea6e6a6a2d53;p=pandora-kernel.git isci: possible buffer overflow in isci_parse_oem_parameters fixed scu_index is a parameter of isci_parse_eom_parameters and is an index in controller table. There is a check: scu_index > SCI_MAX_CONTROLLERS which is insufficient and should be: scu_index >= SCI_MAX_CONTROLLERS. scu_index is used as an index in the table which size is SCI_MAX_CONTROLLERS. Signed-off-by: Maciej Patelczyk Signed-off-by: Dan Williams --- Reading git-diff-tree failed