Files
linux/drivers/scsi
Andrew Vasquez 15a12bde0f scsi: qla2xxx: Fix incorrect region-size setting in optrom SYSFS routines
commit 5cbdae10bf upstream.

Commit e6f77540c0 ("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: e6f77540c0 ("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>
2019-05-16 19:45:04 +02:00
..
2016-04-12 09:08:39 -07:00
2018-12-13 09:21:29 +01:00
2017-12-25 14:22:14 +01:00
2019-02-20 10:13:04 +01:00
2017-03-18 19:09:58 +08:00
2015-11-12 07:06:18 -05:00
2015-04-27 10:10:19 -07:00
2015-04-27 10:04:39 -07:00
2015-04-27 10:05:55 -07:00
2016-07-27 09:47:39 -07:00
2015-04-17 10:13:56 -07:00
2014-11-20 09:11:11 +01:00
2018-02-25 11:03:44 +01:00
2014-07-17 22:07:37 +02:00
2014-11-20 09:11:10 +01:00
2014-11-20 09:11:10 +01:00
2015-11-09 16:32:14 -08:00
2014-11-20 09:11:10 +01:00
2015-12-03 09:32:33 -08:00
2018-01-23 19:50:15 +01:00
2017-12-20 10:04:55 +01:00
2018-03-22 09:23:21 +01:00
2015-11-09 19:32:41 -05:00
2015-06-02 17:24:54 -07:00
2014-07-17 22:07:35 +02:00
2014-11-24 20:01:28 +01:00
2014-11-20 09:11:10 +01:00
2014-11-20 09:11:10 +01:00
2015-11-12 07:06:18 -05:00
2015-11-09 17:11:57 -08:00
2018-02-25 11:03:44 +01:00
2014-07-17 22:07:39 +02:00
2014-11-12 11:15:57 +01:00
2015-06-02 08:03:25 -07:00
2015-11-09 17:42:19 -08:00
2014-11-20 09:11:15 +01:00
2014-11-20 09:11:10 +01:00
2014-11-20 09:11:10 +01:00