summaryrefslogtreecommitdiff
path: root/drivers/misc/mei/hbm.c
diff options
context:
space:
mode:
authorAlexander Usyskin <alexander.usyskin@intel.com>2014-02-17 17:13:22 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-18 22:05:07 +0400
commita27a76d3c07de08a0d0d298b6bc280c5b820e997 (patch)
tree35189df75481fe1422219ec453723548bed60680 /drivers/misc/mei/hbm.c
parent64092858acfd995fae0def466126692423c30828 (diff)
downloadlinux-a27a76d3c07de08a0d0d298b6bc280c5b820e997.tar.xz
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/hbm.c')
0 files changed, 0 insertions, 0 deletions