summaryrefslogtreecommitdiffstats
path: root/src/gui/opengl/qopenglprogrambinarycache.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2022-04-11 17:01:15 +0200
committerMarc Mutz <marc.mutz@qt.io>2022-04-13 01:16:22 +0200
commita986a8c0997bfa87e91d37baf108bb07c8fa1c2d (patch)
tree4b98926f43fed03be9ddb1416bae7bbd458c1742 /src/gui/opengl/qopenglprogrambinarycache.cpp
parent9c028b0ff4e684d9bb27df7171575a618e892267 (diff)
QXmlStreamPrivateTagStack: don't fail on more than 2Gi chars in the tag stack
QXmlStreamPrivateTagStack holds the string data in a single large QString, which, on 64-bit platforms, can hold more than INT_MAX characters' worth of data. However, the code managing this QString still used int variables instead of qsizetype, making failure for such large tag string data all but inevitable, even though I didn't go to the length of actually constructing a failing test case. Fix by using qsizetype instead of int where required. Fixes: QTBUG-102467 Pick-to: 6.3 6.2 Change-Id: I50b7e194e43f3c7dce69c6e1fd4682fc517dd7d6 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/gui/opengl/qopenglprogrambinarycache.cpp')
0 files changed, 0 insertions, 0 deletions