Fixes crash in gif image decoder
authorEirik Aavitsland <eirik.aavitsland@theqtcompany.com>
Wed, 11 Mar 2015 08:00:41 +0000 (09:00 +0100)
committeraavit <eirik.aavitsland@theqtcompany.com>
Fri, 13 Mar 2015 10:16:39 +0000 (10:16 +0000)
commita1cf194c54be57d6ab55dfd26b9562a60532208e
tree985d1185055e60c5617c54ef8d60b5604011ba66
parentfb7fa2918b558381dd98aff3d3250786300d8a3b
Fixes crash in gif image decoder

Fuzzing test revealed that for certain malformed gif files,
qgifhandler would segfault.

Change-Id: I5bb6f60e1c61849e0d8c735edc3869945e5331c1
(cherry picked from qtbase/ea2c5417fcd374302f5019e67f72af5facbd29f6)
Reviewed-by: Richard J. Moore <rich@kde.org>
src/gui/image/qgifhandler.cpp