Check for QImage allocation failure in qgifhandler
authorEirik Aavitsland <eirik.aavitsland@qt.io>
Fri, 3 Aug 2018 11:25:15 +0000 (13:25 +0200)
committerMike Gabriel <sunweaver@debian.org>
Tue, 7 May 2019 07:14:21 +0000 (08:14 +0100)
commit4a32f56e9b13eb8c8a533bd90a54b97a1cff3fde
tree4c9d6bb23d6bea6163740c8413d67ee29ab5f652
parent5db09531c4d7856e12ba20b2ef6091a758bb0982
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