Prasad J Pandit d07945e78e ppc/pnv: check size before data buffer access
While performing PowerNV memory r/w operations, the access length
'sz' could exceed the data[4] buffer size. Add check to avoid OOB
access.

Reported-by: Moguofang <moguofang@huawei.com>
Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2018-11-08 12:04:40 +11:00
..
2018-09-24 18:49:11 +01:00
2018-11-02 14:03:33 +00:00
2018-10-25 20:17:12 +01:00
2018-10-29 12:59:15 +00:00
2018-10-24 06:44:59 -03:00
2018-10-24 06:44:59 -03:00
2018-11-05 13:24:02 -05:00
2018-11-05 09:55:01 +01:00
2018-10-26 17:17:32 +02:00