summaryrefslogtreecommitdiffstats
path: root/src/s60main/s60main.pro
diff options
context:
space:
mode:
authorHarald Fernengel <harald.fernengel@nokia.com>2011-02-04 12:36:27 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2011-02-11 13:25:05 (GMT)
commitcc0f75c93a0f97d0c71b2a8d3005f119e9a85ea5 (patch)
treed8ff89544c568e09b743b96e326620943bbea3ef /src/s60main/s60main.pro
parentd116612d7447900733ee7c4c193e4c83f76cd8ff (diff)
downloadQt-cc0f75c93a0f97d0c71b2a8d3005f119e9a85ea5.zip
Qt-cc0f75c93a0f97d0c71b2a8d3005f119e9a85ea5.tar.gz
Qt-cc0f75c93a0f97d0c71b2a8d3005f119e9a85ea5.tar.bz2
Don't crash when BMP color table is broken
If the BMP's number of color table entries is out of bounds, we would resize our color table vector to a silly value, leading to crashes later on. If the number of color table entries is larger than 256, just stop processing the BMP since it's most probably corrupt. Task-number: QT-4534 Reviewed-by: Robert Griebl (cherry picked from commit de1cfc13c66fcb35d0a211bb5136ebc25279041a)
Diffstat (limited to 'src/s60main/s60main.pro')
0 files changed, 0 insertions, 0 deletions