summaryrefslogtreecommitdiffstats
path: root/src/corelib/xml/qxmlstream.cpp
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2021-01-26 12:07:53 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2021-01-27 10:30:26 +0100
commit05741b404ad5a8f9a490191a347e67c61456a89c (patch)
treedb845632cefd4e3582fe5938188c9b80333d367c /src/corelib/xml/qxmlstream.cpp
parenta543e8f42e597a92a56116d0c505ec0880d74e3a (diff)
Protect against sign-change of size on 32bit
Since qsizetype is signed and the profileSize unsigned, it can turn negative circumventing the test here. Fixes oss-fuzz issue 29278. Pick-to: 6.0 5.15 Change-Id: I1e211c78db6f4ff150613f52d8fc29807f0088ff Reviewed-by: Robert Löhning <robert.loehning@qt.io> Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Diffstat (limited to 'src/corelib/xml/qxmlstream.cpp')
0 files changed, 0 insertions, 0 deletions