Qt Base (Core, Gui, Widgets, Network, ...)
Go to file
Marc Mutz 1e75a10294 QBitArray: don't create invalid Qt 5 streams
Qt 5 streams cannot handle QBitArrays with more than INT_MAX bits,
even on 64-bit platforms, because of interface constraints (size_type
int).

Qt 6 can, so make sure to refuse serialization of oversized QBitArrays
to Qt-5-compatible streams.

[ChangeLog][QtCore][QBitArray] Now refuses to stream a QBitArray with
size() > INT_MAX to a Qt-5-compatible QDataStream.

Pick-to: 6.5 6.2
Change-Id: I263e27bd366757c8e0360dfd337948c44d00647a
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
(cherry picked from commit 9219e8ff1d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 0985c707a9)
2024-02-08 12:40:34 +00:00
.github/workflows
LICENSES Update QLocale and calendar data to CLDR v44.1 2024-02-07 16:17:52 +01:00
bin CMake: Don't strip debug builds with qt-cmake-private-install in CI 2023-11-06 13:05:46 +00:00
cmake Add plugins of imported QtModules to the _qt_plugins property 2024-02-07 16:17:52 +01:00
coin Coin: Add native MSVC ARM64 instructions 2023-12-19 04:17:48 +00:00
config.tests Remove the mandatory x86-64 features from its feature list 2023-05-31 14:55:37 -07:00
dist
doc QFile::moveToTrash: add documentation about run time and fail conditions 2024-01-26 18:30:25 +00:00
examples Doc: Fix documentation issues for Qt Core 2024-01-12 15:46:21 +01:00
lib
libexec CMake: Add a config.redo script similar to qt5's config.status 2023-09-21 14:43:23 +02:00
mkspecs CMake: Warn when configuring Qt with an unsupported Apple SDK or Xcode 2023-11-30 10:18:33 +01:00
qmake Remove build machine path that was baked into the qmake binary 2023-12-16 01:34:20 +00:00
src QBitArray: don't create invalid Qt 5 streams 2024-02-08 12:40:34 +00:00
tests QBitArray: don't create invalid Qt 5 streams 2024-02-08 12:40:34 +00:00
util Update QLocale and calendar data to CLDR v44.1 2024-02-07 16:17:52 +01:00
.cmake.conf Bump version to 6.6.3 2024-01-23 08:23:36 +02:00
.gitattributes
.gitignore Add .cache/ to .gitignore 2023-11-09 02:42:49 +00:00
.lgtm.yml
.tag
CMakeLists.txt CMake: Fix find_package(Qt6*Tools) in non-qtbase tests 2023-11-28 17:19:23 +01:00
config_help.txt CMake: Allow installation of example sources into the Qt prefix 2023-08-17 07:38:18 +00:00
configure configure: Make sure the configure script exits with cmake's exit code 2023-11-22 07:46:51 +00:00
configure.bat CMake: Add a config.redo script similar to qt5's config.status 2023-09-21 14:43:23 +02:00
configure.cmake CMake: Fix Threads global promotion issue when using static openssl 2024-01-22 18:53:16 +00:00
dependencies.yaml
qt_cmdline.cmake CMake: Allow installation of example sources into the Qt prefix 2023-08-17 07:38:18 +00:00
sync.profile rhi: Make it a QPA-style private but semi-public API 2023-05-21 15:42:58 +02:00