Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package qt6-coap for openSUSE:Factory checked in at 2025-08-29 18:36:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/qt6-coap (Old) and /work/SRC/openSUSE:Factory/.qt6-coap.new.1977 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "qt6-coap" Fri Aug 29 18:36:00 2025 rev:38 rq:1301700 version:6.9.2 Changes: -------- --- /work/SRC/openSUSE:Factory/qt6-coap/qt6-coap.changes 2025-06-05 20:33:38.099536465 +0200 +++ /work/SRC/openSUSE:Factory/.qt6-coap.new.1977/qt6-coap.changes 2025-08-29 18:36:51.970314283 +0200 @@ -1,0 +2,6 @@ +Wed Aug 27 07:15:06 UTC 2025 - Christophe Marin <christo...@krop.fr> + +- Update to 6.9.2: + * https://www.qt.io/blog/qt-6.9.2-released + +------------------------------------------------------------------- Old: ---- qtcoap-everywhere-src-6.9.1.tar.xz New: ---- qtcoap-everywhere-src-6.9.2.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ qt6-coap.spec ++++++ --- /var/tmp/diff_new_pack.UcOaR9/_old 2025-08-29 18:36:53.290370711 +0200 +++ /var/tmp/diff_new_pack.UcOaR9/_new 2025-08-29 18:36:53.306371395 +0200 @@ -1,7 +1,7 @@ # # spec file for package qt6-coap # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,7 +16,7 @@ # -%define real_version 6.9.1 +%define real_version 6.9.2 %define short_version 6.9 %define tar_name qtcoap-everywhere-src %define tar_suffix %{nil} @@ -27,7 +27,7 @@ %endif # Name: qt6-coap%{?pkg_suffix} -Version: 6.9.1 +Version: 6.9.2 Release: 0 Summary: Qt 6 CoAP client module License: GPL-3.0-or-later @@ -36,8 +36,8 @@ Source99: qt6-coap-rpmlintrc BuildRequires: fdupes BuildRequires: pkgconfig -BuildRequires: qt6-core-private-devel BuildRequires: cmake(Qt6Core) = %{real_version} +BuildRequires: cmake(Qt6CorePrivate) = %{real_version} BuildRequires: cmake(Qt6Gui) = %{real_version} BuildRequires: cmake(Qt6Network) = %{real_version} BuildRequires: cmake(Qt6Qml) = %{real_version} @@ -69,7 +69,7 @@ %package private-devel Summary: Non-ABI stable API for the Qt 6 CoAP library -Requires: qt6-core-private-devel = %{version} +BuildRequires: cmake(Qt6CorePrivate) = %{real_version} Requires: cmake(Qt6Coap) = %{real_version} Requires: cmake(Qt6Network) = %{real_version} ++++++ _service ++++++ --- /var/tmp/diff_new_pack.UcOaR9/_old 2025-08-29 18:36:53.594383707 +0200 +++ /var/tmp/diff_new_pack.UcOaR9/_new 2025-08-29 18:36:53.618384733 +0200 @@ -1,9 +1,9 @@ <services> <service name="tar_scm" mode="disabled"> <param name="changesgenerate">disable</param> - <param name="version">6.9.1</param> + <param name="version">6.9.2</param> <param name="url">git://code.qt.io/qt/qtcoap.git</param> - <param name="revision">v6.9.1</param> + <param name="revision">v6.9.2</param> <param name="scm">git</param> <param name="filename">qtcoap-everywhere-src</param> </service> ++++++ qtcoap-everywhere-src-6.9.1.tar.xz -> qtcoap-everywhere-src-6.9.2.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcoap-everywhere-src-6.9.1/.cmake.conf new/qtcoap-everywhere-src-6.9.2/.cmake.conf --- old/qtcoap-everywhere-src-6.9.1/.cmake.conf 2025-05-28 21:49:19.000000000 +0200 +++ new/qtcoap-everywhere-src-6.9.2/.cmake.conf 2025-08-17 21:32:28.000000000 +0200 @@ -1,4 +1,4 @@ -set(QT_REPO_MODULE_VERSION "6.9.1") +set(QT_REPO_MODULE_VERSION "6.9.2") set(QT_REPO_MODULE_PRERELEASE_VERSION_SEGMENT "alpha1") set(QT_EXTRA_INTERNAL_TARGET_DEFINES "QT_NO_AS_CONST=1") list(APPEND QT_EXTRA_INTERNAL_TARGET_DEFINES "QT_NO_FOREACH=1") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcoap-everywhere-src-6.9.1/dependencies.yaml new/qtcoap-everywhere-src-6.9.2/dependencies.yaml --- old/qtcoap-everywhere-src-6.9.1/dependencies.yaml 2025-05-28 21:49:19.000000000 +0200 +++ new/qtcoap-everywhere-src-6.9.2/dependencies.yaml 2025-08-17 21:32:28.000000000 +0200 @@ -1,4 +1,4 @@ dependencies: ../qtbase: - ref: 2ad23cd72d5f122f88ce95792a4323d639c27d25 + ref: 6f0d27d2e4ba5fa6562f738aaaf8eaf98ebf51e7 required: true diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapclient.cpp new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapclient.cpp --- old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapclient.cpp 2025-05-28 21:49:19.000000000 +0200 +++ new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapclient.cpp 2025-08-17 21:32:28.000000000 +0200 @@ -1,6 +1,7 @@ // Copyright (C) 2017 Witekio. // Copyright (C) 2018 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only +// Qt-Security score:significant reason:default #include "qcoapclient_p.h" #include "qcoapprotocol_p.h" @@ -258,7 +259,8 @@ Sends the \a request using the PUT method and returns a new QCoapReply object. Uses \a device content as the payload for this request. - A null device is treated as empty content. + A null device is treated as empty content, in which case the payload of the + \a request will be used. \note The device has to be open and readable before calling this function. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapclient.h new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapclient.h --- old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapclient.h 2025-05-28 21:49:19.000000000 +0200 +++ new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapclient.h 2025-08-17 21:32:28.000000000 +0200 @@ -1,6 +1,7 @@ // Copyright (C) 2017 Witekio. // Copyright (C) 2018 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only +// Qt-Security score:significant reason:default #ifndef QCOAPCLIENT_H #define QCOAPCLIENT_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapclient_p.h new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapclient_p.h --- old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapclient_p.h 2025-05-28 21:49:19.000000000 +0200 +++ new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapclient_p.h 2025-08-17 21:32:28.000000000 +0200 @@ -1,6 +1,7 @@ // Copyright (C) 2017 Witekio. // Copyright (C) 2018 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only +// Qt-Security score:significant reason:default #ifndef QCOAPCLIENT_P_H #define QCOAPCLIENT_P_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapconnection.cpp new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapconnection.cpp --- old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapconnection.cpp 2025-05-28 21:49:19.000000000 +0200 +++ new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapconnection.cpp 2025-08-17 21:32:28.000000000 +0200 @@ -1,5 +1,6 @@ // Copyright (C) 2019 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only +// Qt-Security score:significant reason:default #include "qcoapconnection_p.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapconnection_p.h new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapconnection_p.h --- old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapconnection_p.h 2025-05-28 21:49:19.000000000 +0200 +++ new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapconnection_p.h 2025-08-17 21:32:28.000000000 +0200 @@ -1,5 +1,6 @@ // Copyright (C) 2019 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only +// Qt-Security score:significant reason:default #ifndef QCOAPCONNECTION_P_H #define QCOAPCONNECTION_P_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapglobal.h new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapglobal.h --- old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapglobal.h 2025-05-28 21:49:19.000000000 +0200 +++ new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapglobal.h 2025-08-17 21:32:28.000000000 +0200 @@ -1,6 +1,7 @@ // Copyright (C) 2017 Witekio. // Copyright (C) 2018 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only +// Qt-Security score:significant reason:default #ifndef QCOAPGLOBAL_H #define QCOAPGLOBAL_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapinternalmessage.cpp new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapinternalmessage.cpp --- old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapinternalmessage.cpp 2025-05-28 21:49:19.000000000 +0200 +++ new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapinternalmessage.cpp 2025-08-17 21:32:28.000000000 +0200 @@ -1,6 +1,7 @@ // Copyright (C) 2017 Witekio. // Copyright (C) 2018 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only +// Qt-Security score:critical reason:network-protocol #include "qcoapinternalmessage_p.h" #include "qcoaprequest_p.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapinternalmessage_p.h new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapinternalmessage_p.h --- old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapinternalmessage_p.h 2025-05-28 21:49:19.000000000 +0200 +++ new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapinternalmessage_p.h 2025-08-17 21:32:28.000000000 +0200 @@ -1,6 +1,7 @@ // Copyright (C) 2017 Witekio. // Copyright (C) 2018 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only +// Qt-Security score:significant reason:default #ifndef QCOAPINTERNALMESSAGE_P_H #define QCOAPINTERNALMESSAGE_P_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapinternalreply.cpp new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapinternalreply.cpp --- old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapinternalreply.cpp 2025-05-28 21:49:19.000000000 +0200 +++ new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapinternalreply.cpp 2025-08-17 21:32:28.000000000 +0200 @@ -1,6 +1,7 @@ // Copyright (C) 2017 Witekio. // Copyright (C) 2018 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only +// Qt-Security score:critical reason:network-protocol #include "qcoapinternalreply_p.h" #include <QtCore/qmath.h> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapinternalreply_p.h new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapinternalreply_p.h --- old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapinternalreply_p.h 2025-05-28 21:49:19.000000000 +0200 +++ new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapinternalreply_p.h 2025-08-17 21:32:28.000000000 +0200 @@ -1,6 +1,7 @@ // Copyright (C) 2017 Witekio. // Copyright (C) 2018 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only +// Qt-Security score:significant reason:default #ifndef QCOAPINTERNALREPLY_H #define QCOAPINTERNALREPLY_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapinternalrequest.cpp new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapinternalrequest.cpp --- old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapinternalrequest.cpp 2025-05-28 21:49:19.000000000 +0200 +++ new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapinternalrequest.cpp 2025-08-17 21:32:28.000000000 +0200 @@ -1,6 +1,7 @@ // Copyright (C) 2017 Witekio. // Copyright (C) 2018 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only +// Qt-Security score:critical reason:network-protocol #include "qcoaprequest.h" #include "qcoapinternalrequest_p.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapinternalrequest_p.h new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapinternalrequest_p.h --- old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapinternalrequest_p.h 2025-05-28 21:49:19.000000000 +0200 +++ new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapinternalrequest_p.h 2025-08-17 21:32:28.000000000 +0200 @@ -1,6 +1,7 @@ // Copyright (C) 2017 Witekio. // Copyright (C) 2018 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only +// Qt-Security score:significant reason:default #ifndef QCOAPINTERNALREQUEST_H #define QCOAPINTERNALREQUEST_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapmessage.cpp new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapmessage.cpp --- old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapmessage.cpp 2025-05-28 21:49:19.000000000 +0200 +++ new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapmessage.cpp 2025-08-17 21:32:28.000000000 +0200 @@ -1,6 +1,7 @@ // Copyright (C) 2017 Witekio. // Copyright (C) 2018 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only +// Qt-Security score:significant reason:default #include "qcoapmessage_p.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapmessage.h new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapmessage.h --- old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapmessage.h 2025-05-28 21:49:19.000000000 +0200 +++ new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapmessage.h 2025-08-17 21:32:28.000000000 +0200 @@ -1,6 +1,7 @@ // Copyright (C) 2017 Witekio. // Copyright (C) 2018 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only +// Qt-Security score:significant reason:default #ifndef QCOAPMESSAGE_H #define QCOAPMESSAGE_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapmessage_p.h new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapmessage_p.h --- old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapmessage_p.h 2025-05-28 21:49:19.000000000 +0200 +++ new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapmessage_p.h 2025-08-17 21:32:28.000000000 +0200 @@ -1,6 +1,7 @@ // Copyright (C) 2017 Witekio. // Copyright (C) 2018 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only +// Qt-Security score:significant reason:default #ifndef QCOAPMESSAGE_P_H #define QCOAPMESSAGE_P_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapnamespace.cpp new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapnamespace.cpp --- old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapnamespace.cpp 2025-05-28 21:49:19.000000000 +0200 +++ new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapnamespace.cpp 2025-08-17 21:32:28.000000000 +0200 @@ -1,5 +1,6 @@ // Copyright (C) 2019 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only +// Qt-Security score:significant reason:default #include "qcoapnamespace_p.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapnamespace.h new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapnamespace.h --- old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapnamespace.h 2025-05-28 21:49:19.000000000 +0200 +++ new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapnamespace.h 2025-08-17 21:32:28.000000000 +0200 @@ -1,6 +1,7 @@ // Copyright (C) 2017 Witekio. // Copyright (C) 2018 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only +// Qt-Security score:significant reason:default #include <QtCoap/qcoapglobal.h> #include <QtCore/qobject.h> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapnamespace_p.h new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapnamespace_p.h --- old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapnamespace_p.h 2025-05-28 21:49:19.000000000 +0200 +++ new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapnamespace_p.h 2025-08-17 21:32:28.000000000 +0200 @@ -1,5 +1,6 @@ // Copyright (C) 2019 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only +// Qt-Security score:significant reason:default #ifndef QCOAPNAMESPACE_P_H #define QCOAPNAMESPACE_P_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapoption.cpp new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapoption.cpp --- old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapoption.cpp 2025-05-28 21:49:19.000000000 +0200 +++ new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapoption.cpp 2025-08-17 21:32:28.000000000 +0200 @@ -1,6 +1,7 @@ // Copyright (C) 2017 Witekio. // Copyright (C) 2018 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only +// Qt-Security score:significant reason:default #include "qcoapoption_p.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapoption.h new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapoption.h --- old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapoption.h 2025-05-28 21:49:19.000000000 +0200 +++ new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapoption.h 2025-08-17 21:32:28.000000000 +0200 @@ -1,6 +1,7 @@ // Copyright (C) 2017 Witekio. // Copyright (C) 2018 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only +// Qt-Security score:significant reason:default #ifndef QCOAPOPTION_H #define QCOAPOPTION_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapoption_p.h new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapoption_p.h --- old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapoption_p.h 2025-05-28 21:49:19.000000000 +0200 +++ new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapoption_p.h 2025-08-17 21:32:28.000000000 +0200 @@ -1,6 +1,7 @@ // Copyright (C) 2017 Witekio. // Copyright (C) 2018 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only +// Qt-Security score:significant reason:default #ifndef QCOAPOPTION_P_H #define QCOAPOPTION_P_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapprotocol.cpp new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapprotocol.cpp --- old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapprotocol.cpp 2025-05-28 21:49:19.000000000 +0200 +++ new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapprotocol.cpp 2025-08-17 21:32:28.000000000 +0200 @@ -1,6 +1,7 @@ // Copyright (C) 2017 Witekio. // Copyright (C) 2018 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only +// Qt-Security score:critical reason:network-protocol #include "qcoapprotocol_p.h" #include "qcoapinternalrequest_p.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapprotocol_p.h new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapprotocol_p.h --- old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapprotocol_p.h 2025-05-28 21:49:19.000000000 +0200 +++ new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapprotocol_p.h 2025-08-17 21:32:28.000000000 +0200 @@ -1,6 +1,7 @@ // Copyright (C) 2017 Witekio. // Copyright (C) 2018 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only +// Qt-Security score:significant reason:default #ifndef QCOAPPROTOCOL_P_H #define QCOAPPROTOCOL_P_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapqudpconnection.cpp new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapqudpconnection.cpp --- old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapqudpconnection.cpp 2025-05-28 21:49:19.000000000 +0200 +++ new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapqudpconnection.cpp 2025-08-17 21:32:28.000000000 +0200 @@ -1,6 +1,7 @@ // Copyright (C) 2017 Witekio. // Copyright (C) 2018 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only +// Qt-Security score:significant reason:default #include "qcoapqudpconnection_p.h" #include <private/qcoapnamespace_p.h> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapqudpconnection_p.h new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapqudpconnection_p.h --- old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapqudpconnection_p.h 2025-05-28 21:49:19.000000000 +0200 +++ new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapqudpconnection_p.h 2025-08-17 21:32:28.000000000 +0200 @@ -1,6 +1,7 @@ // Copyright (C) 2017 Witekio. // Copyright (C) 2018 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only +// Qt-Security score:significant reason:default #ifndef QCOAPQUDPCONNECTION_P_H #define QCOAPQUDPCONNECTION_P_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapreply.cpp new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapreply.cpp --- old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapreply.cpp 2025-05-28 21:49:19.000000000 +0200 +++ new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapreply.cpp 2025-08-17 21:32:28.000000000 +0200 @@ -1,6 +1,7 @@ // Copyright (C) 2017 Witekio. // Copyright (C) 2018 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only +// Qt-Security score:significant reason:default #include "qcoapreply_p.h" #include "qcoapinternalreply_p.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapreply.h new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapreply.h --- old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapreply.h 2025-05-28 21:49:19.000000000 +0200 +++ new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapreply.h 2025-08-17 21:32:28.000000000 +0200 @@ -1,6 +1,7 @@ // Copyright (C) 2017 Witekio. // Copyright (C) 2018 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only +// Qt-Security score:significant reason:default #ifndef QCOAPREPLY_H #define QCOAPREPLY_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapreply_p.h new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapreply_p.h --- old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapreply_p.h 2025-05-28 21:49:19.000000000 +0200 +++ new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapreply_p.h 2025-08-17 21:32:28.000000000 +0200 @@ -1,6 +1,7 @@ // Copyright (C) 2017 Witekio. // Copyright (C) 2018 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only +// Qt-Security score:significant reason:default #ifndef QCOAPREPLY_P_H #define QCOAPREPLY_P_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcoap-everywhere-src-6.9.1/src/coap/qcoaprequest.cpp new/qtcoap-everywhere-src-6.9.2/src/coap/qcoaprequest.cpp --- old/qtcoap-everywhere-src-6.9.1/src/coap/qcoaprequest.cpp 2025-05-28 21:49:19.000000000 +0200 +++ new/qtcoap-everywhere-src-6.9.2/src/coap/qcoaprequest.cpp 2025-08-17 21:32:28.000000000 +0200 @@ -1,6 +1,7 @@ // Copyright (C) 2017 Witekio. // Copyright (C) 2018 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only +// Qt-Security score:significant reason:default #include "qcoaprequest_p.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcoap-everywhere-src-6.9.1/src/coap/qcoaprequest.h new/qtcoap-everywhere-src-6.9.2/src/coap/qcoaprequest.h --- old/qtcoap-everywhere-src-6.9.1/src/coap/qcoaprequest.h 2025-05-28 21:49:19.000000000 +0200 +++ new/qtcoap-everywhere-src-6.9.2/src/coap/qcoaprequest.h 2025-08-17 21:32:28.000000000 +0200 @@ -1,6 +1,7 @@ // Copyright (C) 2017 Witekio. // Copyright (C) 2018 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only +// Qt-Security score:significant reason:default #ifndef QCOAPREQUEST_H #define QCOAPREQUEST_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcoap-everywhere-src-6.9.1/src/coap/qcoaprequest_p.h new/qtcoap-everywhere-src-6.9.2/src/coap/qcoaprequest_p.h --- old/qtcoap-everywhere-src-6.9.1/src/coap/qcoaprequest_p.h 2025-05-28 21:49:19.000000000 +0200 +++ new/qtcoap-everywhere-src-6.9.2/src/coap/qcoaprequest_p.h 2025-08-17 21:32:28.000000000 +0200 @@ -1,6 +1,7 @@ // Copyright (C) 2017 Witekio. // Copyright (C) 2018 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only +// Qt-Security score:significant reason:default #ifndef QCOAPREQUEST_P_H #define QCOAPREQUEST_P_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapresource.cpp new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapresource.cpp --- old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapresource.cpp 2025-05-28 21:49:19.000000000 +0200 +++ new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapresource.cpp 2025-08-17 21:32:28.000000000 +0200 @@ -1,6 +1,7 @@ // Copyright (C) 2017 Witekio. // Copyright (C) 2018 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only +// Qt-Security score:significant reason:default #include "qcoapresource_p.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapresource.h new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapresource.h --- old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapresource.h 2025-05-28 21:49:19.000000000 +0200 +++ new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapresource.h 2025-08-17 21:32:28.000000000 +0200 @@ -1,6 +1,7 @@ // Copyright (C) 2017 Witekio. // Copyright (C) 2018 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only +// Qt-Security score:significant reason:default #ifndef QCOAPRESOURCE_H #define QCOAPRESOURCE_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapresource_p.h new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapresource_p.h --- old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapresource_p.h 2025-05-28 21:49:19.000000000 +0200 +++ new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapresource_p.h 2025-08-17 21:32:28.000000000 +0200 @@ -1,6 +1,7 @@ // Copyright (C) 2017 Witekio. // Copyright (C) 2018 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only +// Qt-Security score:significant reason:default #ifndef QCOAPRESOURCE_P_H #define QCOAPRESOURCE_P_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapresourcediscoveryreply.cpp new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapresourcediscoveryreply.cpp --- old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapresourcediscoveryreply.cpp 2025-05-28 21:49:19.000000000 +0200 +++ new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapresourcediscoveryreply.cpp 2025-08-17 21:32:28.000000000 +0200 @@ -1,6 +1,7 @@ // Copyright (C) 2017 Witekio. // Copyright (C) 2018 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only +// Qt-Security score:critical reason:data-parser #include "qcoapresourcediscoveryreply_p.h" #include "qcoapinternalreply_p.h" @@ -108,14 +109,14 @@ QLatin1String quote = QLatin1String("\""); const QList<QByteArray> links = data.split(','); - for (QByteArray link : links) { + for (const QByteArray &link : links) { QCoapResource resource; resource.setHost(sender); const QList<QByteArray> parameterList = link.split(';'); - for (QByteArray parameter : parameterList) { + for (const QByteArray ¶meter : parameterList) { QString parameterString = QString::fromUtf8(parameter); - int length = parameterString.size(); + const qsizetype length = parameterString.size(); if (parameter.startsWith('<')) resource.setPath(parameterString.mid(1, length - 2)); else if (parameter.startsWith("title=")) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapresourcediscoveryreply.h new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapresourcediscoveryreply.h --- old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapresourcediscoveryreply.h 2025-05-28 21:49:19.000000000 +0200 +++ new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapresourcediscoveryreply.h 2025-08-17 21:32:28.000000000 +0200 @@ -1,6 +1,7 @@ // Copyright (C) 2017 Witekio. // Copyright (C) 2018 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only +// Qt-Security score:significant reason:default #ifndef QCOAPRESOURCEDISCOVERYREPLY_H #define QCOAPRESOURCEDISCOVERYREPLY_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapresourcediscoveryreply_p.h new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapresourcediscoveryreply_p.h --- old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapresourcediscoveryreply_p.h 2025-05-28 21:49:19.000000000 +0200 +++ new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapresourcediscoveryreply_p.h 2025-08-17 21:32:28.000000000 +0200 @@ -1,6 +1,7 @@ // Copyright (C) 2017 Witekio. // Copyright (C) 2018 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only +// Qt-Security score:significant reason:default #ifndef QCOAPRESOURCEDISCOVERYREPLY_P_H #define QCOAPRESOURCEDISCOVERYREPLY_P_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapsecurityconfiguration.cpp new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapsecurityconfiguration.cpp --- old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapsecurityconfiguration.cpp 2025-05-28 21:49:19.000000000 +0200 +++ new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapsecurityconfiguration.cpp 2025-08-17 21:32:28.000000000 +0200 @@ -1,5 +1,6 @@ // Copyright (C) 2019 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only +// Qt-Security score:significant reason:default #include "qcoapsecurityconfiguration.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapsecurityconfiguration.h new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapsecurityconfiguration.h --- old/qtcoap-everywhere-src-6.9.1/src/coap/qcoapsecurityconfiguration.h 2025-05-28 21:49:19.000000000 +0200 +++ new/qtcoap-everywhere-src-6.9.2/src/coap/qcoapsecurityconfiguration.h 2025-08-17 21:32:28.000000000 +0200 @@ -1,5 +1,6 @@ // Copyright (C) 2019 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only +// Qt-Security score:significant reason:default #ifndef QCOAPSECURITYCONFIGURATION_H #define QCOAPSECURITYCONFIGURATION_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcoap-everywhere-src-6.9.1/tests/auto/coapnetworksettings.h new/qtcoap-everywhere-src-6.9.2/tests/auto/coapnetworksettings.h --- old/qtcoap-everywhere-src-6.9.1/tests/auto/coapnetworksettings.h 2025-05-28 21:49:19.000000000 +0200 +++ new/qtcoap-everywhere-src-6.9.2/tests/auto/coapnetworksettings.h 2025-08-17 21:32:28.000000000 +0200 @@ -151,7 +151,7 @@ if (security != QtCoap::SecurityMode::NoSecurity) client.setSecurityConfiguration(createConfiguration(security)); - QSignalSpy spyClientFinished(&client, SIGNAL(finished(QCoapReply *))); + QSignalSpy spyClientFinished(&client, SIGNAL(finished(QCoapReply*))); client.get(url); spyClientFinished.wait(1000); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcoap-everywhere-src-6.9.1/tests/auto/qcoapreply/tst_qcoapreply.cpp new/qtcoap-everywhere-src-6.9.2/tests/auto/qcoapreply/tst_qcoapreply.cpp --- old/qtcoap-everywhere-src-6.9.1/tests/auto/qcoapreply/tst_qcoapreply.cpp 2025-05-28 21:49:19.000000000 +0200 +++ new/qtcoap-everywhere-src-6.9.2/tests/auto/qcoapreply/tst_qcoapreply.cpp 2025-08-17 21:32:28.000000000 +0200 @@ -18,6 +18,7 @@ void updateReply(); void requestData(); void abortRequest(); + void readReplyChunked(); }; void tst_QCoapReply::updateReply_data() @@ -117,6 +118,39 @@ QVERIFY(arguments.at(0).toByteArray() == "token"); } +void tst_QCoapReply::readReplyChunked() +{ + const QByteArray token = "\xAF\x01\xC2"; + const quint16 id = 645; + const QByteArray payload = "this is some payload"; + + QScopedPointer<QCoapReply> reply(QCoapReplyPrivate::createCoapReply(QCoapRequest())); + QCoapMessage message; + message.setToken(token); + message.setMessageId(id); + message.setPayload(payload); + + QMetaObject::invokeMethod(reply.data(), "_q_setContent", + Q_ARG(QHostAddress, QHostAddress()), + Q_ARG(QCoapMessage, message), + Q_ARG(QtCoap::ResponseCode, QtCoap::ResponseCode::Content)); + QMetaObject::invokeMethod(reply.data(), "_q_setFinished", + Q_ARG(QtCoap::Error, QtCoap::Error::Ok)); + + QCOMPARE_EQ(reply->pos(), 0); + const qsizetype startBytes = 7; + const QByteArray start = reply->read(startBytes); + QCOMPARE_EQ(start, payload.first(startBytes)); + QCOMPARE_EQ(reply->pos(), startBytes); + + QByteArray last(100, Qt::Uninitialized); + const qint64 read = reply->read(last.data(), last.size()); + QCOMPARE_EQ(read, payload.size() - startBytes); + QCOMPARE_EQ(reply->pos(), payload.size()); + last.resize(read); + QCOMPARE_EQ(start + last, payload); +} + QTEST_MAIN(tst_QCoapReply) #include "tst_qcoapreply.moc"