Fixed defects

List of Defects

Error: CLANG_WARNING: [#def1]
plasma-discover-6.0.3-build/discover-6.0.3/libdiscover/backends/PackageKitBackend/PackageKitUpdater.cpp:824:23: warning[core.CallAndMessage]: Called C++ object pointer is null
#  822|               upgrade->fetchChangelog();
#  823|           } else {
#  824|->             pkgids += static_cast<PackageKitResource *>(res)->availablePackageId();
#  825|           }
#  826|       }

Scan Properties

analyzer-version-clang18.1.7
analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-clang18.1.7
diffbase-analyzer-version-cppcheck2.14.2
diffbase-analyzer-version-gcc14.1.1
diffbase-analyzer-version-gcc-analyzer14.1.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-enabled-pluginsclang, cppcheck, gcc, shellcheck
diffbase-exit-code0
diffbase-hostip-172-16-1-188.us-west-2.compute.internal
diffbase-mock-configfedora-41-x86_64
diffbase-project-nameplasma-discover-6.1.1-1.fc41
diffbase-store-results-to/tmp/tmp56xq_jux/plasma-discover-6.1.1-1.fc41.tar.xz
diffbase-time-created2024-07-03 17:05:00
diffbase-time-finished2024-07-03 17:10:03
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp56xq_jux/plasma-discover-6.1.1-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmp56xq_jux/plasma-discover-6.1.1-1.fc41.src.rpm'
diffbase-tool-versioncsmock-3.5.3-1.el9
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-188.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-nameplasma-discover-6.0.3-1.fc40
store-results-to/tmp/tmpttplwr0u/plasma-discover-6.0.3-1.fc40.tar.xz
time-created2024-07-03 16:59:31
time-finished2024-07-03 17:04:32
titleFixed defects
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpttplwr0u/plasma-discover-6.0.3-1.fc40.tar.xz' '--gcc-analyze' '/tmp/tmpttplwr0u/plasma-discover-6.0.3-1.fc40.src.rpm'
tool-versioncsmock-3.5.3-1.el9