Check for QImage allocation failure in qgifhandler
authorEirik Aavitsland <eirik.aavitsland@qt.io>
Fri, 3 Aug 2018 11:25:15 +0000 (13:25 +0200)
committerDmitry Shachnev <mitya57@debian.org>
Fri, 12 Apr 2019 20:10:28 +0000 (21:10 +0100)
commit185cc4b57f5f04c70fa8344775215664e0ac56af
treebcd3fc74c4699b521c9394daa7d36301120a727f
parentc846a2fbe2ccdb83e64600d0a742c9cd5de31564
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