user avatar
Crash fix: reject certain malformed bmp images
Eirik Aavitsland authored
A malformed bmp file header could specify a negative color table
size. The bmp handler would then return a QImage that claimed to be
valid, but actually was invalid, having an empty color table. This
would cause crash later, e.g. when attempting to paint it.

Change-Id: I7df7c40867557a82dbcee44c7de061226ff232c0
Reviewed-by: default avatarLars Knoll <lars.knoll@theqtcompany.com>
Reviewed-by: default avatarRichard J. Moore <rich@kde.org>
e4f71b0c
Name Last commit Last update
..