qt5base-lts/tests/auto
Jüri Valdmann d3935cbd71 QJsonDocument::fromRawData: Fix out-of-bounds access
This method takes a pointer+size pair, but begins reading through the pointer
without first checking the size parameter. Fixed by checking the size parameter.

A new test case is added with an empty binary json file. Although the test does
not fail under normal conditions, the problem can be detected using valgrind or
AddressSanitizer.

Task-number: QTBUG-61969
Change-Id: Ie91cc9a56dbc3c676472c614d4e633d7721b8481
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2018-05-04 11:53:03 +00:00
..
android Updated license headers 2016-01-21 18:55:18 +00:00
bic/data Add binary compatibility files for QtBase for 5.10 2018-01-04 16:26:32 +00:00
cmake Remove CMake code for CMake < 3.1 2018-03-24 22:31:18 +00:00
compilerwarnings/data Updated license headers 2016-01-21 18:55:18 +00:00
concurrent Fix of flaky qFutureAssignmentLeak test 2018-02-15 16:24:38 +00:00
corelib QJsonDocument::fromRawData: Fix out-of-bounds access 2018-05-04 11:53:03 +00:00
dbus tests/auto/dbus: Avoid unconditional qWait()s 2018-04-12 05:49:07 +00:00
gui tests: unblacklist tst_qwindow.cpp::modalWindowPosition() 2018-05-03 07:16:15 +00:00
guiapplauncher Fix path to examples part of tst_GuiAppLauncher 2015-02-13 07:28:15 +00:00
installed_cmake Add a unit test for testing Qt in its install location. 2013-07-02 23:08:54 +02:00
network tst_QUdpSocket: Fix Clang warning about unused expression 2018-05-02 15:56:04 +00:00
opengl tst_QGL: Use qWaitForWindowExposed() 2018-04-11 06:05:46 +00:00
other Fix crash in QMacPanGestureRecognizer 2018-05-02 09:16:22 +00:00
printsupport If the page size is not valid on the new printer, set a custom size 2018-05-02 13:32:09 +00:00
shared Remove workaround for potentially unavailable pasteboard in macOS 2017-03-07 01:04:46 +00:00
sql oci: Use OCIBindByPos2 to accommodate data longer than USHRT_MAX 2018-04-06 12:44:37 +00:00
testlib Stabilize tst_QSignalSpy::waitFunctionPointer_signalEmittedTooLate() 2018-03-17 12:10:05 +00:00
tools qmake: make VFS aware of exact vs. cumulative evaluation 2018-03-29 18:15:10 +00:00
widgets Tests: Fix clang warnings about unused variables and captures 2018-05-02 09:36:00 +00:00
xml Don't indefinitely wait for data if it was able to read some data 2018-01-24 05:54:31 +00:00
auto.pro tests/auto/auto.pro: Use correct null device for DBUS check 2017-12-01 09:53:07 +00:00
network-settings.h Merge remote-tracking branch 'origin/5.6' into 5.7 2016-05-06 15:36:44 +02:00