[PATCH] bmp image handler: check for out of range image size
authorEirik Aavitsland <eirik.aavitsland@qt.io>
Tue, 4 Sep 2018 09:08:06 +0000 (11:08 +0200)
committerLisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Mon, 14 Sep 2020 13:56:35 +0000 (14:56 +0100)
commitef4cefcf903680ec9f08cfb1f1eaf8a3965d4fa1
treed8d881afa66e8d366d2bdcdba2f6589f6955ff15
parent3edac92ae20935f937cc4861ac6b81dda49b98d4
[PATCH] bmp image handler: check for out of range image size

Make the decoder fail early to avoid spending time and memory on
attempting to decode a corrupt image file.

Change-Id: I874e04f3b43122d73f8e58c7a5bcc4a741b68264
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Gbp-Pq: Name CVE-2018-19873.patch
src/gui/image/qbmphandler.cpp