Fixes crash in bmp and ico image decoding
authorEirik Aavitsland <eirik.aavitsland@theqtcompany.com>
Wed, 11 Mar 2015 12:34:01 +0000 (13:34 +0100)
committerRaspbian forward porter <root@raspbian.org>
Sun, 14 Jun 2015 16:38:43 +0000 (16:38 +0000)
commit0ffcd07ce20b8015ba5581f678c97eca3bda3acb
tree288879dbef2725b21bfe53cb8f953241184772cb
parent7f61b9acb1f1cb3ba10041d1fa5e6ebb6b09a480
Fixes crash in bmp and ico image decoding

Fuzzing test revealed that for certain malformed bmp and ico files,
the handler would segfault.

Change-Id: I19d45145f31e7f808f7f6a1a1610270ea4159cbe
(cherry picked from qtbase/2adbbae5432aa9d8cc41c6fcf55c2e310d2d4078)
Reviewed-by: Richard J. Moore <rich@kde.org>
Gbp-Pq: Name fixes_crash_in_bmp_and_ico_image_decoder.patch
src/gui/image/qbmphandler.cpp
src/plugins/imageformats/ico/qicohandler.cpp