AlexChen
18520fa465
hw/display/exynos4210_fimd: Fix potential NULL pointer dereference
...
In exynos4210_fimd_update(), the pointer s is dereferinced before
being check if it is valid, which may lead to NULL pointer dereference.
So move the assignment to global_width after checking that the s is valid.
Reported-by: Euler Robot <euler.robot@huawei.com>
Signed-off-by: Alex Chen <alex.chen@huawei.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 5F9F8D88.9030102@huawei.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2020-11-02 16:52:17 +00:00
..
2020-09-18 14:12:32 -04:00
2020-09-18 14:12:32 -04:00
2020-04-07 09:25:23 +02:00
2020-06-30 22:54:24 +02:00
2020-09-18 14:12:32 -04:00
2020-06-30 22:54:24 +02:00
2020-06-30 22:54:24 +02:00
2020-07-10 15:18:08 +02:00
2020-05-04 11:17:27 +02:00
2020-09-18 14:12:32 -04:00
2020-09-18 14:12:32 -04:00
2018-10-15 09:57:33 +02:00
2020-09-18 14:12:32 -04:00
2017-03-27 12:14:45 +02:00
2017-03-17 10:23:44 +01:00
2020-09-18 14:12:32 -04:00
2020-05-28 11:38:57 +02:00
2020-09-29 10:08:25 +02:00
2019-08-16 13:31:52 +02:00
2020-11-02 16:52:17 +00:00
2019-08-16 13:31:52 +02:00
2015-07-24 13:57:45 +02:00
2020-09-18 14:12:32 -04:00
2020-01-24 20:59:15 +01:00
2020-09-18 14:12:32 -04:00
2020-01-27 10:49:51 -08:00
2020-08-27 14:04:55 -04:00
2020-10-29 06:37:24 +01:00
2020-09-18 14:12:32 -04:00
2014-02-04 19:34:30 +01:00
2020-09-18 14:12:32 -04:00
2020-09-18 14:12:32 -04:00
2020-05-28 11:38:57 +02:00
2016-05-12 13:22:24 +01:00
2020-11-02 16:52:17 +00:00
2014-01-31 14:47:33 +00:00
2020-09-18 14:12:32 -04:00
2020-05-28 11:38:57 +02:00
2014-01-31 14:47:33 +00:00
2020-09-01 08:38:00 +02:00
2020-01-02 13:54:57 +04:00
2020-09-23 16:07:44 +01:00
2020-09-18 14:12:32 -04:00
2020-09-09 09:27:09 -04:00
2020-05-18 15:43:51 +02:00
2020-09-18 14:12:32 -04:00
2017-04-24 12:32:12 +01:00
2020-09-18 14:12:32 -04:00
2020-09-18 14:12:32 -04:00
2020-09-18 14:12:32 -04:00
2014-01-31 14:47:33 +00:00
2019-08-16 13:31:52 +02:00
2020-10-28 07:59:26 +00:00
2020-09-09 17:17:58 +01:00
2020-08-21 06:18:24 -04:00
2019-12-18 02:34:13 +01:00
2019-05-13 08:58:55 +02:00
2019-09-19 10:37:46 +02:00
2019-09-19 10:37:46 +02:00
2019-12-18 02:34:13 +01:00
2020-09-18 14:12:32 -04:00
2020-10-13 15:56:30 -04:00
2020-09-01 12:06:15 +02:00
2020-09-09 09:27:09 -04:00
2020-08-27 14:04:54 -04:00
2020-09-09 13:20:22 -04:00
2020-10-29 06:37:24 +01:00
2020-09-29 10:08:25 +02:00
2020-09-09 09:27:09 -04:00
2020-09-29 10:08:25 +02:00
2020-09-29 10:08:25 +02:00
2020-09-18 14:12:32 -04:00
2020-09-09 09:27:09 -04:00
2019-08-16 13:31:52 +02:00
2020-06-15 22:05:28 +02:00