[PATCH] Check for QImage allocation failure in qgifhandler
authorEirik Aavitsland <eirik.aavitsland@qt.io>
Fri, 3 Aug 2018 11:25:15 +0000 (13:25 +0200)
committerRoberto C. Sánchez <roberto@debian.org>
Tue, 22 Aug 2023 13:42:24 +0000 (14:42 +0100)
commit40f430ed0782cd63a6b8466fba577ea0c94d32b7
tree86c4739f3e332301efe79a6b289204a1c7ed3376
parent3092da6fecefc16007f3c1acc1fbbb310fbae69f
[PATCH] Check for QImage allocation failure in qgifhandler

Since image files easily can be (or corrupt files claim to be) huge,
it is worth checking for out of memory situations.

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