qtbase-opensource-src.git
4 years ago[PATCH] Fix invalid pointer return with QGridLayout::itemAt(-1)
Zhang Yu [Mon, 22 Feb 2021 01:25:01 +0000 (09:25 +0800)]
[PATCH] Fix invalid pointer return with QGridLayout::itemAt(-1)

QGridLayout::takeAt() and QLayoutItem *itemAt() only check the upper bound.
If the index < 0, these function will return invalid pointer.

Fixes: QTBUG-91261
Pick-to: 5.15 6.0 6.1
Change-Id: Idfb9fb6228b9707f817353b04974da16205a835c
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Gbp-Pq: Name fix-invalid-pointer-return-with-QGridLayout.diff

4 years agoadjust QMimeDatabase implementation
Debian Qt/KDE Maintainers [Sun, 14 Nov 2021 13:34:39 +0000 (13:34 +0000)]
adjust QMimeDatabase implementation

Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=0cbbba2aa5b47224
Last-Update: 2021-06-12

When multiple globs match, and the result from magic sniffing is
unrelated to any of those globs, globs have priority and one of them
should be picked up.

Gbp-Pq: Name mime_globs.diff

4 years agofix allocated memory of QByteArray returned by QIODevice::readLine
Debian Qt/KDE Maintainers [Sun, 14 Nov 2021 13:34:39 +0000 (13:34 +0000)]
fix allocated memory of QByteArray returned by QIODevice::readLine

Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=6485b6d45ad165cf
Last-Update: 2021-02-20

Gbp-Pq: Name qiodevice_readline_memory.diff

4 years agoinclude <limits> to fix some GCC 11 build issues
Debian Qt/KDE Maintainers [Sun, 14 Nov 2021 13:34:39 +0000 (13:34 +0000)]
include <limits> to fix some GCC 11 build issues

Origin: upstream, commits:
 https://code.qt.io/cgit/qt/qtbase.git/commit/?id=813a928c7c3cf986
 https://code.qt.io/cgit/qt/qtbase.git/commit/?id=9c56d4da2ff631a8
Last-Update: 2021-01-26

Gbp-Pq: Name gcc_11_limits.diff

4 years agoQNAM: work around QObject finicky orphan cleanup details
Debian Qt/KDE Maintainers [Sun, 14 Nov 2021 13:34:39 +0000 (13:34 +0000)]
QNAM: work around QObject finicky orphan cleanup details

Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=0807f16eb407eaf8
Last-Update: 2021-01-26

Gbp-Pq: Name qnam_connect_memory_leak.diff

4 years agoAvoid use-after-free in QXcbConnection::initializeScreens()
Debian Qt/KDE Maintainers [Sun, 14 Nov 2021 13:34:39 +0000 (13:34 +0000)]
Avoid use-after-free in QXcbConnection::initializeScreens()

Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=86b8c5c3f32c2457
Last-Update: 2020-11-23

Gbp-Pq: Name xcb_screens_uaf.patch

4 years agoqtbase-opensource-src (5.15.2+dfsg-13) unstable; urgency=medium
Dmitry Shachnev [Sun, 14 Nov 2021 13:34:39 +0000 (13:34 +0000)]
qtbase-opensource-src (5.15.2+dfsg-13) unstable; urgency=medium

  [ Lu YaNing ]
  * Backport upstream patch to fix recursion crash when calling
    setStyleSheet with `qproperty-styleSheet`: fix_recursion_crash.diff.

  [ Dmitry Shachnev ]
  * Backport upstream patch to treat MYSQL_FIELD as read-only, to fix issues
    with MariaDB server 10.6 (closes: #999595).
  * Update symbols files from buildds’ and the current build logs.
  * Bump Standards-Version to 4.6.0, no changes needed.

[dgit import unpatched qtbase-opensource-src 5.15.2+dfsg-13]

4 years agoImport qtbase-opensource-src_5.15.2+dfsg-13.debian.tar.xz
Dmitry Shachnev [Sun, 14 Nov 2021 13:34:39 +0000 (13:34 +0000)]
Import qtbase-opensource-src_5.15.2+dfsg-13.debian.tar.xz

[dgit import tarball qtbase-opensource-src 5.15.2+dfsg-13 qtbase-opensource-src_5.15.2+dfsg-13.debian.tar.xz]

5 years agoImport qtbase-opensource-src_5.15.2+dfsg.orig.tar.xz
Dmitry Shachnev [Fri, 20 Nov 2020 13:08:35 +0000 (13:08 +0000)]
Import qtbase-opensource-src_5.15.2+dfsg.orig.tar.xz

[dgit import orig qtbase-opensource-src_5.15.2+dfsg.orig.tar.xz]