summaryrefslogtreecommitdiffstats
path: root/src/gui/rhi/qrhigles2_p_p.h
diff options
context:
space:
mode:
authorEirik Aavitsland <eirik.aavitsland@qt.io>2020-09-17 16:34:12 +0200
committerEirik Aavitsland <eirik.aavitsland@qt.io>2020-09-18 09:37:46 +0200
commit6f2c7469f86785e6ba81fe0280210ef7275099de (patch)
treeb5ca8f1bf0115ad1806f2c697bb3a750e92d2fc2 /src/gui/rhi/qrhigles2_p_p.h
parent679ec56d9543079748a0deea6205a636d23bd685 (diff)
xpm handler: fix read error caused by off-by-one in overflow check
The recently introduced overflow check for 8 bit images was too aggressive, causing the last pixel on each line to be rejected. As a driveby, add the same (fixed) overflow check also for 32bit images. Pick-to: 5.15 5.12 Fixes: QTBUG-86691 Change-Id: I62e4d5884e314f1171cb5a3e2c48657ce7259676 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/gui/rhi/qrhigles2_p_p.h')
0 files changed, 0 insertions, 0 deletions