[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)
committerAdrian Bunk <bunk@debian.org>
Sun, 20 Sep 2020 19:01:50 +0000 (20:01 +0100)
commit9ba8ed9e0bdeb627f8964347665d3e7079f4f95b
treef81fa8acd77a0157821da6dd902d77e63c0b545c
parent35ad16029c8d5775557a1b60c7edfbd8470b4600
[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