Files
Andrew Vasquez 07b7b1c823 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-10 17:53:14 +02:00
..
2019-02-12 19:46:13 +01:00
2018-12-08 13:03:35 +01:00
2017-12-25 14:26:25 +01:00
2018-01-02 20:31:05 +01:00
…
…
…
…
…
…
2017-08-25 17:21:11 -04:00
…
…
2017-08-24 22:29:06 -04:00
…
…
2018-08-15 18:12:47 +02:00
2017-08-25 17:21:10 -04:00
…
…
…
…
…
…
2017-08-25 17:21:11 -04:00
…
…
…
…
2017-09-07 12:12:43 -07:00
…
…
2017-08-08 11:49:51 -04:00
…
…
…