libgusb-0.4.9-1.fc41

List of Defects

Error: CPPCHECK_WARNING: [#def1]
libgusb-0.4.9-build/libgusb-0.4.9/gusb/gusb-context.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def2]
libgusb-0.4.9-build/libgusb-0.4.9/gusb/gusb-device-event.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def3]
libgusb-0.4.9-build/libgusb-0.4.9/gusb/gusb-device.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def4]
libgusb-0.4.9-build/libgusb-0.4.9/gusb/gusb-device.c:1938:3: warning[unix.Malloc]: Potential leak of memory pointed to by 'buf'
# 1936|   	/* emulated */
# 1937|   	if (priv->device == NULL) {
# 1938|-> 		GBytes *bytes;
# 1939|   		event = g_usb_device_load_event(self, event_id);
# 1940|   		if (event == NULL) {

Error: CPPCHECK_WARNING: [#def5]
libgusb-0.4.9-build/libgusb-0.4.9/gusb/gusb-endpoint.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def6]
libgusb-0.4.9-build/libgusb-0.4.9/gusb/gusb-interface.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def7]
libgusb-0.4.9-build/libgusb-0.4.9/gusb/gusb-self-test.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def8]
libgusb-0.4.9-build/libgusb-0.4.9/redhat-linux-build/tmp-introspecty9hcgbcc/GUsb-1.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def9]
libgusb-0.4.9-build/libgusb-0.4.9/redhat-linux-build/tmp-introspecty9hcgbcc/GUsb-1.0.c:799:27: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')

Error: CPPCHECK_WARNING: [#def10]
libgusb-0.4.9-build/libgusb-0.4.9/tools/gusb-main.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

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
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-92.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namelibgusb-0.4.9-1.fc41
store-results-to/tmp/tmplkgdusqu/libgusb-0.4.9-1.fc41.tar.xz
time-created2024-07-03 15:52:10
time-finished2024-07-03 15:53:18
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmplkgdusqu/libgusb-0.4.9-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmplkgdusqu/libgusb-0.4.9-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9