Go to file
Thiago Macieira ddc7b3c156 QJsonObject: add missing detach2() calls
The refactoring to use CBOR missed two places where we could assign from
the same object and thus cause corruption. In fixing this issue, I found
a design flaw in QJsonObject, see Q_EXPECT_FAILing unit test and task
QTBUG-83398.

[ChangeLog][QtCore][QJsonObject] Fixed a regression from 5.13 that
incorrect results when assigning elements from an object to itself.

Fixes: QTBUG-83366
Change-Id: Ibdc95e9af7bd456a94ecfffd1603df24b06713aa
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2020-04-09 09:41:06 -03:00
bin Merge remote-tracking branch 'origin/5.13' into 5.14 2019-11-13 07:21:33 +01:00
config.tests Merge remote-tracking branch 'origin/5.14' into 5.15 2019-10-16 01:00:49 +02:00
dist Add changes file for Qt 5.14.2 2020-03-17 06:16:25 +01:00
doc Doc: Adjust offline style for the litehtml rendering engine 2020-03-26 15:28:31 +01:00
examples macOS: Remove all use of deprecated Q_OS_OSX define 2020-04-03 13:44:37 +02:00
lib
mkspecs WASM: Replace NO_EXIT_RUNTIME=0 with EXIT_RUNTIME=1 2020-04-08 22:41:32 +02:00
qmake qmake: Document QML_FOREIGN_METATYPES 2020-03-26 13:51:44 +01:00
src QJsonObject: add missing detach2() calls 2020-04-09 09:41:06 -03:00
tests QJsonObject: add missing detach2() calls 2020-04-09 09:41:06 -03:00
util Fix parameter order in cldr2qlocalexml.py's usage() 2020-04-06 14:29:32 +02:00
.gitattributes
.gitignore
.qmake.conf Bump version 2020-02-02 13:41:14 +01:00
.tag
config_help.txt Merge remote-tracking branch 'origin/5.14' into 5.15 2020-02-18 09:26:53 +01:00
configure Pass SDK root to the linker as -isysroot, not -Wl,-syslibroot 2020-04-02 18:33:42 +02:00
configure.bat
configure.json Merge remote-tracking branch 'origin/5.14' into 5.15 2020-02-18 09:26:53 +01:00
configure.pri configure: Add switch for clang's "source-based" code coverage feature 2020-01-28 20:26:15 +00:00
header.BSD
header.COMM
header.FDL
header.GPL
header.GPL-EXCEPT
header.LGPL
header.LGPL3
header.LGPL3-COMM
header.LGPL-NOGPL2
header.LGPL-ONLY
header.MIT
INSTALL
LICENSE.FDL
LICENSE.GPL2
LICENSE.GPL3
LICENSE.GPL3-EXCEPT
LICENSE.LGPL3
LICENSE.LGPLv3
LICENSE.QT-LICENSE-AGREEMENT Update enterprise license agreement v4.2.1 2019-12-18 13:07:19 +02:00
qtbase.pro
sync.profile Add QPasswordDigestor to syncqt 2019-12-12 12:43:56 +01:00