Prasad J Pandit
c5c752af8c
highbank: validate register offset before access
...
An 'offset' parameter sent to highbank register r/w functions
could be greater than number(NUM_REGS=0x200) of hb registers,
leading to an OOB access issue. Add check to avoid it.
Reported-by: Moguofang (Dennis mo) <moguofang@huawei.com>
Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
Message-id: 20171113062658.9697-1-ppandit@redhat.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2017-11-13 13:55:24 +00:00
..
2017-11-06 18:05:35 +01:00
2017-10-19 15:38:07 +01:00
2016-10-04 13:28:07 +01:00
2017-10-27 16:03:53 +02:00
2017-11-13 13:55:24 +00:00
2017-10-15 05:54:43 +03:00
2017-10-26 14:23:08 -07:00
2017-08-01 17:27:33 +02:00
2017-10-15 05:54:43 +03:00
2017-10-19 15:38:07 +01:00
2017-08-02 18:30:13 -03:00
2017-10-27 16:03:54 +02:00
2017-11-08 13:21:37 +11:00
2017-10-31 17:25:37 +00:00
2017-09-21 16:34:27 +01:00
2017-10-15 05:54:43 +03:00
2017-11-05 14:52:10 +01:00
2017-10-31 18:00:03 -04:00
2017-10-23 10:50:02 +02:00
2017-11-07 13:03:52 +00:00
2017-10-15 05:54:43 +03:00
2017-07-14 12:04:42 +02:00
2017-10-15 05:54:43 +03:00
2017-10-27 16:03:54 +02:00
2017-10-27 16:03:54 +02:00
2017-09-14 15:52:10 +01:00
2017-07-14 17:59:42 +01:00
2017-10-27 16:04:28 +02:00
2017-10-15 05:54:43 +03:00
2017-10-27 16:03:54 +02:00
2017-10-31 17:25:36 +00:00
2017-09-01 11:54:24 -03:00
2017-10-15 05:54:40 +03:00
2017-10-27 16:03:54 +02:00
2017-10-15 05:54:43 +03:00
2017-10-15 05:54:43 +03:00
2017-10-31 11:50:52 +00:00
2016-01-29 15:07:25 +00:00
2017-11-08 13:21:37 +11:00
2017-11-08 12:00:08 +01:00
2017-10-31 17:25:36 +00:00
2017-10-15 05:54:43 +03:00
2017-10-27 16:03:54 +02:00
2017-01-16 17:52:35 +01:00
2017-10-31 17:25:36 +00:00
2017-10-27 16:04:27 +02:00
2017-10-31 11:50:51 +00:00
2017-09-27 11:35:59 +01:00
2017-10-25 01:05:53 -04:00
2017-10-27 16:04:27 +02:00
2017-10-27 16:04:27 +02:00
2017-10-23 10:05:28 +02:00
2017-10-20 13:32:10 +02:00
2017-10-15 05:54:44 +03:00
2017-10-15 05:54:43 +03:00
2017-11-05 14:52:10 +01:00
2017-07-07 11:10:03 -07:00
2017-10-27 16:04:27 +02:00
2017-08-30 18:23:25 +02:00