qt5base-lts/tests/auto
Giuseppe D'Angelo b9f96cacc9 QRegExp: remove an out of bounds access into QString
... spotted with the brand-new checks for that in QCharRef.

The rx[i] == ~~~ check is clearly wrong, as rx is the regexp
we're building and `i` was not supposed to index into it.

The intended meaning was wc[i] == ~~~, testing if we were seeing
the closing bracket of a character set. We need to check for
that immediately for dealing with the special syntax of []...] where
the ] belongs to the character set (it can't be the closing one
as character sets cannot be empty).

Fix and add a regression test. Bonus: this code was almost
unchanged since 2009.

Change-Id: I958cd87fc25558e9d202d18b3dd4a35d0db16d8d
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Reviewed-by: hjk <hjk@qt.io>
2019-05-27 17:33:30 +00:00
..
android
bic/data Add binary compatibility files for 5.12 for QtBase 2018-12-21 19:42:57 +00:00
cmake Export modules' enabled/disabled features to cmake 2018-09-28 13:10:28 +00:00
concurrent
corelib QRegExp: remove an out of bounds access into QString 2019-05-27 17:33:30 +00:00
dbus Add cmdline feature to qmake 2019-02-18 07:12:14 +00:00
gui Blacklist tst_qwindow::spuriousMouseMove() on Windows 2019-05-20 16:43:23 +02:00
guiapplauncher
installed_cmake
network tst_http2 - extend 'singleRequest' test case 2019-04-09 04:08:01 +00:00
opengl qWaitFor: Prevent being stuck in QCoreApplication::processEvents 2019-01-09 18:10:54 +00:00
other Fix compilation of tst_qaccessibilitylinux 2019-05-07 10:07:59 +00:00
printsupport tst_QPrinter: stabilize qprinter test 2019-01-20 13:39:54 +00:00
shared Read font selection flags and use them when querying for metrics 2018-11-30 16:15:03 +00:00
sql Fix a couple of SQL tests 2019-02-19 11:00:19 +00:00
testlib Fix integer overflows in QDeadlineTimer 2019-05-08 17:19:44 +00:00
tools Make moc grok binary literals with digit separators 2019-05-10 18:34:02 +00:00
widgets tst_QMdiSubWindow::setSystemMenu(): Pass in High DPI/multi-screen setups 2019-05-20 10:51:46 +02:00
xml
auto.pro winrt: Skip network auto tests for now 2018-06-22 05:02:39 +00:00
network-settings.h Rework QNetworkReply tests to use docker-based test servers 2018-07-27 17:40:27 +00:00
testserver.pri Postpone testing docker images and files until running 'make check' 2018-08-30 04:06:51 +00:00