Fixed findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1]
fwupd-2.0.16/plugins/dell-dock/fu-dell-dock-mst.c:276:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error_local’
fwupd-2.0.16/plugins/dell-dock/fu-dell-dock-mst.c:1029:1: enter_function: entry to ‘fu_dell_dock_mst_write_fw’
fwupd-2.0.16/plugins/dell-dock/fu-dell-dock-mst.c:1041:9: branch_true: following ‘true’ branch (when ‘device’ is non-NULL)...
fwupd-2.0.16/plugins/dell-dock/fu-dell-dock-mst.c:1042:9: branch_true: ...to here
fwupd-2.0.16/plugins/dell-dock/fu-dell-dock-mst.c:1042:9: branch_true: following ‘true’ branch...
fwupd-2.0.16/plugins/dell-dock/fu-dell-dock-mst.c:1043:9: branch_true: ...to here
fwupd-2.0.16/plugins/dell-dock/fu-dell-dock-mst.c:1043:9: branch_true: following ‘true’ branch...
fwupd-2.0.16/plugins/dell-dock/fu-dell-dock-mst.c:1046:14: branch_true: ...to here
fwupd-2.0.16/plugins/dell-dock/fu-dell-dock-mst.c:1046:12: branch_false: following ‘false’ branch...
fwupd-2.0.16/plugins/dell-dock/fu-dell-dock-mst.c:1050:14: branch_false: ...to here
fwupd-2.0.16/plugins/dell-dock/fu-dell-dock-mst.c:1050:12: branch_false: following ‘false’ branch...
fwupd-2.0.16/plugins/dell-dock/fu-dell-dock-mst.c:1054:14: branch_false: ...to here
fwupd-2.0.16/plugins/dell-dock/fu-dell-dock-mst.c:1055:12: branch_false: following ‘false’ branch...
fwupd-2.0.16/plugins/dell-dock/fu-dell-dock-mst.c:1057:16: branch_false: ...to here
fwupd-2.0.16/plugins/dell-dock/fu-dell-dock-mst.c:1066:14: call_function: calling ‘fu_dell_dock_mst_enable_remote_control’ from ‘fu_dell_dock_mst_write_fw’
#  274|   					 (guint8 *)data,
#  275|   					 &error_local)) {
#  276|-> 		g_debug("Failed to enable remote control: %s", error_local->message);
#  277|   		/* try to disable / re-enable */
#  278|   		if (!fu_dell_dock_mst_disable_remote_control(device, error))

Scan Properties

analyzer-version-clippy1.92.0
analyzer-version-cppcheck2.19.1
analyzer-version-gcc16.0.0
analyzer-version-gcc-analyzer16.0.0
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.92.0
diffbase-analyzer-version-cppcheck2.19.1
diffbase-analyzer-version-gcc16.0.0
diffbase-analyzer-version-gcc-analyzer16.0.0
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-61.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.20250521.132812.g8eff701.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namefwupd-2.0.19-1.fc44
diffbase-store-results-to/tmp/tmpj0zpgpgt/fwupd-2.0.19-1.fc44.tar.xz
diffbase-time-created2026-01-08 16:23:51
diffbase-time-finished2026-01-08 16:35:51
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpj0zpgpgt/fwupd-2.0.19-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpj0zpgpgt/fwupd-2.0.19-1.fc44.src.rpm'
diffbase-tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-61.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namefwupd-2.0.16-1.fc43
store-results-to/tmp/tmp5ycvrph7/fwupd-2.0.16-1.fc43.tar.xz
time-created2026-01-08 16:11:31
time-finished2026-01-08 16:23:19
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmp5ycvrph7/fwupd-2.0.16-1.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp5ycvrph7/fwupd-2.0.16-1.fc43.src.rpm'
tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9