Go to file
Thiago Macieira fdea55cb98 QCborValue: fix double-accounting of the usedData when decoding strings
We can only update usedData at the end, after we've decoded all chunks.
The update inside the lambda was double-accounting for the first chunk,
which could lead to signed integer overflows in usedData.

Not unit-testable since the usedData value is not visible in the API.

Change-Id: Ibdc95e9af7bd456a94ecfffd16061cc955208859
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2020-04-22 18:04:30 -03:00
bin syncqt: Ignore deprecation macros when resolving class names 2020-04-14 10:14:37 +00:00
config.tests
dist Add changes file for Qt 5.14.2 2020-03-17 06:16:25 +01:00
doc Android: update Android specific variables docs 2020-04-17 17:27:36 +03:00
examples Stop using obsolete TouchPoint rect accessors in tests and examples 2020-04-10 13:54:43 +00:00
lib
mkspecs Merge remote-tracking branch 'origin/5.15' into 5.15.0 2020-04-21 21:40:01 +02:00
qmake Android: update Android specific variables docs 2020-04-17 17:27:36 +03:00
src QCborValue: fix double-accounting of the usedData when decoding strings 2020-04-22 18:04:30 -03:00
tests Markdown writer: omit space after opening code block fence 2020-04-20 21:08:32 +02: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
qtbase.pro
sync.profile