summaryrefslogtreecommitdiffstats
path: root/src/gui/opengl/qopengl.cpp
diff options
context:
space:
mode:
authorEirik Aavitsland <eirik.aavitsland@qt.io>2019-01-14 11:30:36 +0100
committerEirik Aavitsland <eirik.aavitsland@qt.io>2019-02-05 22:47:07 +0000
commite96641d881f2106151995c812fabb9d6c58beccb (patch)
tree21082abeb57927ee9086319c77a52ca4233e9a24 /src/gui/opengl/qopengl.cpp
parent0736e050cb0f82ca445e954e1db631f1dd1de473 (diff)
Fix xbm image format handler: properly reject invalid files
The read_xbm_header() function is used to check for valid file header, containing valid width and height values. But in case of an invalid file, the check could depend on uninitialized variables. Change-Id: I9f933ed6e38d86109e5b5a8d55fe763ab928d749 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/gui/opengl/qopengl.cpp')
0 files changed, 0 insertions, 0 deletions