summaryrefslogtreecommitdiff
path: root/net/bluetooth/hidp/sock.c
diff options
context:
space:
mode:
authorAndrew Vasquez <andrewv@marvell.com>2019-04-03 00:24:25 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-05-16 10:17:21 +0300
commit6ee71083b16ff449757a6ceb232720f09607edc2 (patch)
tree91f68414c3324390451f43c7411d1c15244758fa /net/bluetooth/hidp/sock.c
parent43dae3a4e492472a4770979405e9aee9b6dc2969 (diff)
downloadlinux-6ee71083b16ff449757a6ceb232720f09607edc2.tar.xz
scsi: qla2xxx: Fix incorrect region-size setting in optrom SYSFS routines
commit 5cbdae10bf11f96e30b4d14de7b08c8b490e903c upstream. Commit e6f77540c067 ("scsi: qla2xxx: Fix an integer overflow in sysfs code") incorrectly set 'optrom_region_size' to 'start+size', which can overflow option-rom boundaries when 'start' is non-zero. Continue setting optrom_region_size to the proper adjusted value of 'size'. Fixes: e6f77540c067 ("scsi: qla2xxx: Fix an integer overflow in sysfs code") Cc: stable@vger.kernel.org Signed-off-by: Andrew Vasquez <andrewv@marvell.com> Signed-off-by: Himanshu Madhani <hmadhani@marvell.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/bluetooth/hidp/sock.c')
0 files changed, 0 insertions, 0 deletions