summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorMaciej Patelczyk <maciej.patelczyk@intel.com>2011-06-21 22:03:13 +0000
committerDan Williams <dan.j.williams@intel.com>2011-07-03 04:04:51 -0700
commit7cafbf1bd56be44038148bb8f733ea6e6a6a2d53 (patch)
treecaf063a0640a33d37b198c3dd5c71ce04247a493 /drivers/hwmon
parent086a0dabc5bf154e13604a6d71e2d051207f9718 (diff)
downloadblackbird-obmc-linux-7cafbf1bd56be44038148bb8f733ea6e6a6a2d53.tar.gz
blackbird-obmc-linux-7cafbf1bd56be44038148bb8f733ea6e6a6a2d53.zip
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 <maciej.patelczyk@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/hwmon')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud