summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Dmitry Shachnev [Sun, 29 Jun 2025 19:50:45 +0000 (22:50 +0300)]
disable htmlinfo example which contains non-free files
Forwarded: not-needed
Last-Update: 2014-12-17
Gbp-Pq: Name no_htmlinfo_example.diff
Debian Qt/KDE Maintainers [Sun, 29 Jun 2025 19:50:45 +0000 (22:50 +0300)]
qDecodeDataUrl(): fix precondition violation in call to QByteArrayView::at()
Origin: upstream, https://download.qt.io/official_releases/qt/5.15/CVE-2025-5455-qtbase-5.15.patch
Last-Update: 2025-06-29
It is a precondition violation to call QByteArrayView::at() with
size() as argument. The code used that, though, as an implicit
end-of-string check, assuming == ' ' and == '=' would both fail for
null bytes. Besides, QByteArrays (but most certainly QByteArrayViews)
need not be null-terminated, so this could read even past size().
To fix, use higher-level API (startsWith()), consuming parsed tokens
along the way.
Gbp-Pq: Name CVE-2025-5455.diff
Debian Qt/KDE Maintainers [Sun, 29 Jun 2025 19:50:45 +0000 (22:50 +0300)]
a11y atspi: add null checks in table iface methods
Origin: upstream, https://invent.kde.org/qt/qt/qtbase/-/commit/
076da096464a5d3f
Last-Update: 2025-03-24
Bug: https://bugs.debian.org/
1081682
Add null checks to cover the cases where QAccessibleTableInterface::cellAt
returns nullptr (which happens e.g. when called with invalid indices via
AT-SPI) or where the cell object doesn't implement the
QAccessibleTableCellInterface, which would previously result in crashes.
Cherry-picked into 5.15 as it fixes a crash in popular accessibility client
software. Conflict resolution: remove C++17'isms (`if` with initializer).
Gbp-Pq: Name a11y_null_checks.diff
Debian Qt/KDE Maintainers [Sun, 29 Jun 2025 19:50:45 +0000 (22:50 +0300)]
check D-Bus tray availability every time
Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=
3c93dedc063bf453
Last-Update: 2024-07-24
It could appear in runtime, this allows applications to watch for it
themselves and re-create QSystemTrayIcon as needed.
Gbp-Pq: Name check_dbus_tray_availability_every_time.diff
Debian Qt/KDE Maintainers [Sun, 29 Jun 2025 19:50:45 +0000 (22:50 +0300)]
don't fallback to X11 tray backend on non-X11
Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=
f6cd286e6609cfbf
Last-Update: 2024-07-24
This allows to have system tray support on the fly on Wayland at least
where only QDBusTrayIcon is possible and no need to fallback to
QSystemTrayIconSys
Gbp-Pq: Name dont_fallback_to_x11_tray_on_non_x11.diff
Debian Qt/KDE Maintainers [Sun, 29 Jun 2025 19:50:45 +0000 (22:50 +0300)]
Revert "D-Bus system tray: properly check whether StatusNotifierHost available"
Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=
447f3ade9a284d52
Last-Update: 2024-07-24
The original commit was made based on a KDE workaround for
libdbusmenu-qt crash, but Qt is not using libdbusmenu-qt, Qt is not
watching for StatusNotifierHost registration and Qt is not capable
to switch backends on the fly leading to tray support being
not detected on Plasma Wayland sessions and falling back to the poor
legacy protocol on X11.
Gbp-Pq: Name revert_statusnotifierhost_checking.diff
Debian Qt/KDE Maintainers [Sun, 29 Jun 2025 19:50:45 +0000 (22:50 +0300)]
QFutureInterface: fix build with GCC14/C++20: template-id not allowed
Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=
111c08d0eaa13465
Last-Update: 2024-07-24
When declaring a constructor, you must use the injected name, not a
template.
qfutureinterface.h:472:37: error: template-id not allowed for constructor in C++20 [-Werror=template-id-cdtor]
Gbp-Pq: Name gcc_14.diff
Debian Qt/KDE Maintainers [Sun, 29 Jun 2025 19:50:45 +0000 (22:50 +0300)]
HTTP2: delay any communication until encrypted() can be responded to
Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=
b1e75376cc3adfc7
Last-Update: 2024-07-14
We have the encrypted() signal that lets users do extra checks on the
established connection. It is emitted as BlockingQueued, so the HTTP
thread stalls until it is done emitting. Users can potentially call
abort() on the QNetworkReply at that point, which is passed as a Queued
call back to the HTTP thread. That means that any currently queued
signal emission will be processed before the abort() call is processed.
In the case of HTTP2 it is a little special since it is multiplexed and
the code is built to start requests as they are available. This means
that, while the code worked fine for HTTP1, since one connection only
has one request, it is not working for HTTP2, since we try to send more
requests in-between the encrypted() signal and the abort() call.
This patch changes the code to delay any communication until the
encrypted() signal has been emitted and processed, for HTTP2 only.
It's done by adding a few booleans, both to know that we have to return
early and so we can keep track of what events arose and what we need to
resume once enough time has passed that any abort() call must have been
processed.
Gbp-Pq: Name CVE-2024-39936.diff
Debian Qt/KDE Maintainers [Sun, 29 Jun 2025 19:50:45 +0000 (22:50 +0300)]
improve KTX file reading memory safety
Origin: upstream, https://download.qt.io/official_releases/qt/5.15/CVE-2024-25580-qtbase-5.15.diff
Last-Update: 2024-02-17
Gbp-Pq: Name CVE-2024-25580.diff
Debian Qt/KDE Maintainers [Sun, 29 Jun 2025 19:50:45 +0000 (22:50 +0300)]
HPack: fix incorrect integer overflow check
Origin: upstream
https://download.qt.io/official_releases/qt/5.15/0001-CVE-2023-51714-qtbase-5.15.diff
https://download.qt.io/official_releases/qt/5.15/0002-CVE-2023-51714-qtbase-5.15.diff
Last-Update: 2024-01-13
Gbp-Pq: Name CVE-2023-51714.diff
Debian Qt/KDE Maintainers [Sun, 29 Jun 2025 19:50:45 +0000 (22:50 +0300)]
add support for LoongArch
Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=
bdc16f086f1664b5
Last-Update: 2024-03-09
Gbp-Pq: Name loongarch.diff
Debian Qt/KDE Maintainers [Sun, 29 Jun 2025 19:50:45 +0000 (22:50 +0300)]
xkb: fix build with libxkbcommon 1.6.0 and later
Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=
8af35d27e8f02bbb
Last-Update: 2023-10-17
A few XKB_KEY_dead_* defines got removed from 1.6.0. See also
https://github.com/xkbcommon/libxkbcommon/blob/
6073565903488cb5b9a8d37fdc4a7c2f9d7ad04d/NEWS#L9-L14
https://gitlab.freedesktop.org/xorg/proto/xorgproto/-/merge_requests/70/diffs?commit_id=
cb44799b72f611eb4c9d7cc185bc3b09e070be08
Gbp-Pq: Name libxkbcommon_1.6.0.diff
Debian Qt/KDE Maintainers [Sun, 29 Jun 2025 19:50:45 +0000 (22:50 +0300)]
fix capitalization error in auto-generated qdbusmacros.h include
Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=
dca0304c26012a57
Last-Update: 2023-05-13
Gbp-Pq: Name fix_qdbusmacros_h.diff
Debian Qt/KDE Maintainers [Sun, 29 Jun 2025 19:50:45 +0000 (22:50 +0300)]
OpenFile portal: do not use O_PATH fds
Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=
03cbcba7b2b0e42a
Last-Update: 2023-05-13
Using O_PATH requires correctly specifying whether the fd is writable or
not. Stating that the fd is writable without it actually being writable
results into rejection on xdg-desktop-portal side. Other implementations
like xdg-open or gtk have also moved away from O_PATH fds so this will
make a matching implementation and avoid possible rejections from xdp.
Gbp-Pq: Name dont_use_O_PATH.diff
Debian Qt/KDE Maintainers [Sun, 29 Jun 2025 19:50:45 +0000 (22:50 +0300)]
fix accessibility on XCB when running as root
Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=
db346e711c9af505
Bug: https://bugs.debian.org/
1033995
Last-Update: 2023-04-15
Accessibility actually works when running applications as root, but we
would never properly connect, since the enabledChanged signal would be
emitted from the constructor in this case. So after connecting the
signal, check the value by hand to make sure not to miss the
notification.
Only applications running as root would be affected, because all other
applications would go through the asynchronous pattern of getting the
bus address from dbus instead.
Gbp-Pq: Name a11y_root.diff
Debian Qt/KDE Maintainers [Sun, 29 Jun 2025 19:50:45 +0000 (22:50 +0300)]
SQL/ODBC: add another check to detect unicode availability in driver
Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=
f19320748d282b1e
Last-Update: 2024-05-25
Since ODBC does not have a direct way finding out if unicode is
supported by the underlying driver the ODBC plugin does some checks. As
a last resort a sql statement is executed which returns a string. But
even this may fail because the select statement has no FROM part which
is rejected by at least Oracle does not allow. Therefore add another
query which is correct for Oracle & DB2 as a workaround. The question
why the first three statements to check for unicode availability fail
is still open but can't be checked since I've no access to an oracle
database.
Gbp-Pq: Name sql_odbc_more_unicode_checks.diff
Debian Qt/KDE Maintainers [Sun, 29 Jun 2025 19:50:45 +0000 (22:50 +0300)]
do not set Qt::ToolTip flag for QShapedPixmapWindow
Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=
180b496b537089b8
Bug: https://bugreports.qt.io/browse/QTBUG-98048
Last-Update: 2023-05-20
This hint is not really needed in the first place and only causes
problems in some environments.
For example in KDE, the compositor animates changes in position and size
for all ToolTip windows. However, this is not wanted here because we use
this window as a thumbnail for a drag-and-drop operation.
Before this patch the dragged element would lag significantly behind the
cursor. Now it works as expected, i.e. the dragged element follows the
cursor immediately.
Gbp-Pq: Name qshapedpixmapwindow_no_tooltip.diff
Debian Qt/KDE Maintainers [Sun, 29 Jun 2025 19:50:45 +0000 (22:50 +0300)]
use wayland platform plugin on GNOME wayland sessions by default
Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=
dda7dab8274991e4
Last-Update: 2022-10-16
Qt wayland platform plugin has improved quite a lot and it is now pretty
much usable on Gnome. It also improves user experience a lot on HiDPI
displays.
Gbp-Pq: Name gnome_wayland.diff
Debian Qt/KDE Maintainers [Sun, 29 Jun 2025 19:50:45 +0000 (22:50 +0300)]
widgets: setTransientParent() when a QMenu is a window
Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=
493a85a9e4688744
Last-Update: 2022-10-16
On some platforms, such as X11 and Wayland with some compositors,
QMenu could be a popup window, which should be set a transient parent
to get relative position, which is requested by Wayland.
Added transientParentWindow() for QMenuPrivate like QDialogPrivate.
Gbp-Pq: Name qmenu_set_transient_parent.diff
Debian Qt/KDE Maintainers [Sun, 29 Jun 2025 19:50:45 +0000 (22:50 +0300)]
upstream fixes to support OpenSSL 3.0
Origin: upstream, commits
https://code.qt.io/cgit/qt/qtbase.git/commit/?id=
3186ca3e3972cf46
https://code.qt.io/cgit/qt/qtbase.git/commit/?id=
408656c6f9de326c
Last-Update: 2023-10-17
Gbp-Pq: Name openssl3.diff
Debian Qt/KDE Maintainers [Sun, 29 Jun 2025 19:50:45 +0000 (22:50 +0300)]
QPushButton/fusion style: don't ignore QIcon::On icon
Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=
e9ccdf4d84157173
Last-Update: 2021-08-10
The fusion style did ignore the QIcon::On icon because it reset
State_On to avoid the visual shift of a pressed button.
But it's not needed to reset this flag - the shift does not happen
because the fusion style does return 0 as offset for
PM_ButtonShiftHorizontal/PM_ButtonShiftVertical so no shifting will
happen.
Gbp-Pq: Name fusion_checkable_qpushbutton.diff
Debian Qt/KDE Maintainers [Sun, 29 Jun 2025 19:50:45 +0000 (22:50 +0300)]
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
Dmitry Shachnev [Sun, 29 Jun 2025 19:50:45 +0000 (22:50 +0300)]
qtbase-opensource-src (5.15.15+dfsg-6) unstable; urgency=medium
* Backport upstream patch to fix assertion errors in data: URL parsing
(CVE-2025-5455, closes: #
1108475).
[dgit import unpatched qtbase-opensource-src 5.15.15+dfsg-6]
Dmitry Shachnev [Sun, 29 Jun 2025 19:50:45 +0000 (22:50 +0300)]
Import qtbase-opensource-src_5.15.15+dfsg-6.debian.tar.xz
[dgit import tarball qtbase-opensource-src 5.15.15+dfsg-6 qtbase-opensource-src_5.15.15+dfsg-6.debian.tar.xz]
Dmitry Shachnev [Fri, 30 Aug 2024 19:07:11 +0000 (22:07 +0300)]
Import qtbase-opensource-src_5.15.15+dfsg.orig.tar.xz
[dgit import orig qtbase-opensource-src_5.15.15+dfsg.orig.tar.xz]