Files
qemu/hw/display
Mauro Matteo Cascella 409723f5db ui/cursor: fix integer overflow in cursor_alloc (CVE-2021-4206)
Git-commit fa892e9abb
References: bsc#1198035, CVE-2021-4206

Prevent potential integer overflow by limiting 'width' and 'height' to
512x512. Also change 'datasize' type to size_t. Refer to security
advisory https://starlabs.sg/advisories/22-4206/ for more information.

Fixes: CVE-2021-4206
Signed-off-by: Mauro Matteo Cascella <mcascell@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20220407081712.345609-1-mcascell@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Dario Faggioli <dfaggioli@suse.com>
2023-07-31 19:20:26 +02:00
..
2020-12-10 12:15:18 -05:00
2017-03-27 12:14:45 +02:00
2021-05-12 18:20:25 +02:00
2021-11-09 16:42:49 +01:00
2021-09-15 08:41:59 +02:00
2020-05-18 15:43:51 +02:00
2021-03-19 15:18:43 +01:00
2019-08-16 13:31:52 +02:00