Bean Huo cbe193f6f0 scsi: ufs: Fix potential NULL pointer access during memcpy
If param_offset is not 0, the memcpy length shouldn't be the true
descriptor length.

Link: https://lore.kernel.org/r/20200603091959.27618-4-huobean@gmail.com
Acked-by: Avri Altman <avri.altman@wdc.com>
Signed-off-by: Bean Huo <beanhuo@micron.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2020-06-15 23:17:47 -04:00
..
2020-04-02 17:03:53 -07:00
2020-06-13 13:17:49 -07:00
2020-01-29 18:16:16 -08:00
2019-11-07 06:43:18 -07:00
2020-03-11 23:07:59 -04:00
2020-06-05 15:11:50 -07:00
2020-06-13 13:17:49 -07:00
2020-04-10 12:21:11 -07:00
2020-06-05 15:11:50 -07:00
2020-06-13 13:29:16 -07:00
2020-06-13 13:29:16 -07:00
2019-03-02 11:39:54 -08:00
2019-11-12 22:21:35 -05:00
2020-02-24 14:54:25 -05:00
2020-03-11 23:07:59 -04:00
2020-04-14 21:32:39 -04:00
2019-01-08 21:58:35 -05:00
2020-02-28 20:54:52 -05:00
2019-07-11 15:14:01 -07:00
2020-06-04 10:15:32 -04:00
2019-06-18 19:46:18 -04:00
2019-07-11 15:17:41 -07:00
2020-04-02 17:03:53 -07:00
2018-11-06 21:31:28 -05:00
2019-07-11 15:14:01 -07:00
2020-03-24 07:57:07 -06:00
2019-07-11 15:17:41 -07:00
2020-06-05 15:11:50 -07:00
2019-07-11 15:14:01 -07:00
2020-06-02 15:29:19 -07:00
2020-06-05 15:11:50 -07:00
2019-07-11 15:14:01 -07:00
2020-06-13 13:17:49 -07:00
2020-02-24 15:01:57 -05:00
2020-06-13 13:17:49 -07:00
2020-02-10 22:46:55 -05:00
2019-07-11 15:14:01 -07:00