summaryrefslogtreecommitdiffstats
path: root/src/opengl
diff options
context:
space:
mode:
authorHarald Fernengel <harald.fernengel@nokia.com>2010-11-04 12:49:43 (GMT)
committerHarald Fernengel <harald.fernengel@nokia.com>2010-11-04 12:49:43 (GMT)
commit018c0ebc7d7ffaa55bf5a80b2a8a0e3ee1ebcc7b (patch)
treeaea8ef0d8ce7f466d049bbec5059f65e853b29b4 /src/opengl
parentadc6d4776e6570fa6e6d5d2e4e40fe7eab0ebb99 (diff)
downloadQt-018c0ebc7d7ffaa55bf5a80b2a8a0e3ee1ebcc7b.zip
Qt-018c0ebc7d7ffaa55bf5a80b2a8a0e3ee1ebcc7b.tar.gz
Qt-018c0ebc7d7ffaa55bf5a80b2a8a0e3ee1ebcc7b.tar.bz2
Prevent excessive seeks in xbm detection
When auto-detecting an image type, the xbm handler would read the entire file just to figure out that it's not an xbm. This patch limits the read to maximum 4k and also breaks if line length >= 299. Task-number: QT-4021 Reviewed-by: Robert Griebl
Diffstat (limited to 'src/opengl')
0 files changed, 0 insertions, 0 deletions