Prasad J Pandit
d6c3768b32
hw/display/tc6393xb: limit irq handler index to TC6393XB_GPIOS
...
The ctz32() routine could return a value greater than
TC6393XB_GPIOS=16, because the device has 24 GPIO level
bits but we only implement 16 outgoing lines. This could
lead to an OOB array access. Mask 'level' to avoid it.
Reported-by: Moguofang <moguofang@huawei.com>
Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
Message-id: 20171212041539.25700-1-ppandit@redhat.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2017-12-13 17:59:26 +00:00
..
2016-07-04 13:15:22 +01:00
2016-05-19 16:42:29 +02:00
2016-05-12 13:22:30 +01:00
2017-07-14 17:59:42 +01:00
2017-03-27 12:14:45 +02:00
2017-03-17 10:23:44 +01:00
2017-10-17 09:59:00 +02:00
2016-07-07 13:47:01 +01:00
2017-04-24 10:12:28 +02:00
2017-04-24 10:12:28 +02:00
2015-07-24 13:57:45 +02:00
2017-04-24 10:12:28 +02:00
2017-05-10 10:19:24 +03:00
2017-03-21 10:25:01 +00:00
2017-02-28 09:03:39 +03:00
2014-02-04 19:34:30 +01:00
2016-06-20 18:12:04 +02:00
2016-01-29 15:07:24 +00:00
2016-05-12 13:22:24 +01:00
2016-05-12 13:22:24 +01:00
2014-01-31 14:47:33 +00:00
2016-10-24 16:26:56 +01:00
2016-01-29 15:07:23 +00:00
2014-01-31 14:47:33 +00:00
2016-01-29 15:07:24 +00:00
2017-09-01 13:52:43 +02:00
2017-10-15 05:54:43 +03:00
2017-04-24 10:12:28 +02:00
2017-04-24 12:32:12 +01:00
2017-11-08 13:21:37 +11:00
2017-01-09 11:40:20 +00:00
2016-09-22 18:13:08 +01:00
2014-01-31 14:47:33 +00:00
2017-12-13 17:59:26 +00:00
2017-07-14 17:59:42 +01:00
2017-09-26 09:06:02 +03:00
2017-09-01 13:52:43 +02:00
2017-09-01 13:52:43 +02:00
2016-01-29 15:07:24 +00:00
2016-09-08 18:05:21 +04:00
2017-10-15 05:54:43 +03:00
2017-11-10 11:26:55 +01:00
2016-07-12 16:20:46 +02:00
2017-05-12 12:02:48 +02:00
2016-09-13 09:26:58 +02:00
2017-11-10 11:05:19 +01:00
2016-10-08 11:25:29 +03:00
2017-11-10 14:25:56 +01:00
2017-09-26 09:06:02 +03:00
2017-07-14 12:04:42 +02:00