Fixed findings

List of Findings

Error: COMPILER_WARNING (CWE-477): [#def1]
qtlocation-everywhere-src-6.10.2/src/location/declarativeplaces/qdeclarativecontactdetails.cpp: scope_hint: In constructor ‘QDeclarativeContactDetails::QDeclarativeContactDetails(QObject*)’
qtlocation-everywhere-src-6.10.2/src/location/declarativeplaces/qdeclarativecontactdetails.cpp:68:29: warning[-Wdeprecated-declarations]: ‘QQmlPropertyMap::QQmlPropertyMap(QObject*)’ is deprecated: Use create() or the protected two-argument constructor instead.
#   68 |     : QQmlPropertyMap(parent)
#      |                             ^
/usr/include/qt6/QtQml/QtQml:34: included_from: Included from here.
/usr/include/qt6/QtPositioningQuick/QtPositioningQuickDepends:5: included_from: Included from here.
/usr/include/qt6/QtPositioningQuick/QtPositioningQuick:3: included_from: Included from here.
qtlocation-everywhere-src-6.10.2/redhat-linux-build/src/location/CMakeFiles/Location.dir/cmake_pch.hxx:7: included_from: Included from here.
<command-line>: included_from: Included from here.
/usr/include/qt6/QtQml/qqmlpropertymap.h:28:14: note: declared here
#   28 |     explicit QQmlPropertyMap(QObject *parent = nullptr);
#      |              ^~~~~~~~~~~~~~~
#   66|   */
#   67|   QDeclarativeContactDetails::QDeclarativeContactDetails(QObject *parent)
#   68|->     : QQmlPropertyMap(parent)
#   69|   {
#   70|   }

Error: COMPILER_WARNING (CWE-477): [#def2]
qtlocation-everywhere-src-6.10.2/src/location/declarativeplaces/qdeclarativeplace.cpp: scope_hint: In constructor ‘QDeclarativePlace::QDeclarativePlace(QObject*)’
qtlocation-everywhere-src-6.10.2/src/location/declarativeplaces/qdeclarativeplace.cpp:152:50: warning[-Wdeprecated-declarations]: ‘QQmlPropertyMap::QQmlPropertyMap(QObject*)’ is deprecated: Use create() or the protected two-argument constructor instead.
#  152 |     m_extendedAttributes(new QQmlPropertyMap(this)),
#      |                                                  ^
/usr/include/qt6/QtQml/QtQml:34: included_from: Included from here.
/usr/include/qt6/QtPositioningQuick/QtPositioningQuickDepends:5: included_from: Included from here.
/usr/include/qt6/QtPositioningQuick/QtPositioningQuick:3: included_from: Included from here.
qtlocation-everywhere-src-6.10.2/redhat-linux-build/src/location/CMakeFiles/Location.dir/cmake_pch.hxx:7: included_from: Included from here.
<command-line>: included_from: Included from here.
/usr/include/qt6/QtQml/qqmlpropertymap.h:28:14: note: declared here
#   28 |     explicit QQmlPropertyMap(QObject *parent = nullptr);
#      |              ^~~~~~~~~~~~~~~
#  150|   QDeclarativePlace::QDeclarativePlace(QObject *parent)
#  151|   :   QObject(parent),
#  152|->     m_extendedAttributes(new QQmlPropertyMap(this)),
#  153|       m_contactDetails(new QDeclarativeContactDetails(this))
#  154|   {

Error: COMPILER_WARNING (CWE-477): [#def3]
qtlocation-everywhere-src-6.10.2/src/location/declarativeplaces/qdeclarativeplace.cpp: scope_hint: In constructor ‘QDeclarativePlace::QDeclarativePlace(const QPlace&, QDeclarativeGeoServiceProvider*, QObject*)’
qtlocation-everywhere-src-6.10.2/src/location/declarativeplaces/qdeclarativeplace.cpp:163:50: warning[-Wdeprecated-declarations]: ‘QQmlPropertyMap::QQmlPropertyMap(QObject*)’ is deprecated: Use create() or the protected two-argument constructor instead.
#  163 |     m_extendedAttributes(new QQmlPropertyMap(this)),
#      |                                                  ^
/usr/include/qt6/QtQml/qqmlpropertymap.h:28:14: note: declared here
#   28 |     explicit QQmlPropertyMap(QObject *parent = nullptr);
#      |              ^~~~~~~~~~~~~~~
#  161|   QDeclarativePlace::QDeclarativePlace(const QPlace &src, QDeclarativeGeoServiceProvider *plugin, QObject *parent)
#  162|   :   QObject(parent),
#  163|->     m_extendedAttributes(new QQmlPropertyMap(this)),
#  164|       m_contactDetails(new QDeclarativeContactDetails(this)),
#  165|       m_plugin(plugin)

Scan Properties

analyzer-version-clippy1.95.0
analyzer-version-cppcheck2.20.0
analyzer-version-gcc16.1.1
analyzer-version-gcc-analyzer16.1.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.95.0
diffbase-analyzer-version-cppcheck2.20.0
diffbase-analyzer-version-gcc16.1.1
diffbase-analyzer-version-gcc-analyzer16.1.1
diffbase-analyzer-version-shellcheck0.11.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-231.us-west-2.compute.internal
diffbase-known-false-positives/usr/share/csmock/known-false-positives.js
diffbase-known-false-positives-rpmknown-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-nameqt6-qtlocation-6.11.1-1.fc45
diffbase-store-results-to/tmp/tmpmt5zubcd/qt6-qtlocation-6.11.1-1.fc45.tar.xz
diffbase-time-created2026-06-01 16:45:49
diffbase-time-finished2026-06-01 16:49:04
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmpmt5zubcd/qt6-qtlocation-6.11.1-1.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpmt5zubcd/qt6-qtlocation-6.11.1-1.fc45.src.rpm'
diffbase-tool-versioncsmock-3.8.5.20260529.133039.g6f3b5c6-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-231.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-nameqt6-qtlocation-6.10.2-1.fc44
store-results-to/tmp/tmpi5xsk5rr/qt6-qtlocation-6.10.2-1.fc44.tar.xz
time-created2026-06-01 16:41:42
time-finished2026-06-01 16:45:29
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmpi5xsk5rr/qt6-qtlocation-6.10.2-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpi5xsk5rr/qt6-qtlocation-6.10.2-1.fc44.src.rpm'
tool-versioncsmock-3.8.5.20260529.133039.g6f3b5c6-1.el9