summaryrefslogtreecommitdiffstats
path: root/cmake/QtBuild.cmake
diff options
context:
space:
mode:
authorRobert Loehning <robert.loehning@qt.io>2020-08-11 14:22:58 +0200
committerRobert Loehning <robert.loehning@qt.io>2020-08-12 14:18:30 +0200
commit3e3fdbe831f24365780383b3c45a3d53f23ba435 (patch)
tree2bb189dfef2c9bc6550d6eca8b201f2e44e91c2d /cmake/QtBuild.cmake
parentca034e4e50c99634e2181c9d7ab217cec82f1639 (diff)
QXmlStreamReader: Don't resize readBuffer to a size it already has
Resizing it to 0 will cause it to allocate memory. This will then cause append() to copy the data from the other string instead of using copy on write. Task-number: oss-fuzz-24347 Pick-to: 5.12 5.15 Change-Id: I581bd109f9b973e1c70b7b41b1f610a2ad5725b8 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'cmake/QtBuild.cmake')
0 files changed, 0 insertions, 0 deletions