diff options
author | Alexander Usyskin <alexander.usyskin@intel.com> | 2014-02-17 15:13:22 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-18 10:05:07 -0800 |
commit | a27a76d3c07de08a0d0d298b6bc280c5b820e997 (patch) | |
tree | 35189df75481fe1422219ec453723548bed60680 /drivers/misc/mei/amthif.c | |
parent | 64092858acfd995fae0def466126692423c30828 (diff) | |
download | blackbird-op-linux-a27a76d3c07de08a0d0d298b6bc280c5b820e997.tar.gz blackbird-op-linux-a27a76d3c07de08a0d0d298b6bc280c5b820e997.zip |
mei: fix potential read outside of array bounds
Drop not-very-useful check and with this
fix read on index that can be after array end.
Cleanup search function as byproduct.
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mei/amthif.c')
0 files changed, 0 insertions, 0 deletions