Fixed defects

List of Defects

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1]
libinput-1.25.0-build/libinput-1.25.0/src/libinput.c: scope_hint: In function ‘tablet_pad_notify_button’
libinput-1.25.0-build/libinput-1.25.0/src/libinput.c:2906:9: warning[-Wanalyzer-malloc-leak]: leak of ‘zalloc(104)’
# 2904|   	};
# 2905|   
# 2906|-> 	post_device_event(device,
# 2907|   			  time,
# 2908|   			  LIBINPUT_EVENT_TABLET_PAD_BUTTON,

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2]
libinput-1.25.0-build/libinput-1.25.0/src/libinput.c: scope_hint: In function ‘tablet_pad_notify_ring’
libinput-1.25.0-build/libinput-1.25.0/src/libinput.c:2936:9: warning[-Wanalyzer-malloc-leak]: leak of ‘zalloc(104)’
# 2934|   	};
# 2935|   
# 2936|-> 	post_device_event(device,
# 2937|   			  time,
# 2938|   			  LIBINPUT_EVENT_TABLET_PAD_RING,

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3]
libinput-1.25.0-build/libinput-1.25.0/src/libinput.c: scope_hint: In function ‘tablet_pad_notify_strip’
libinput-1.25.0-build/libinput-1.25.0/src/libinput.c:2966:9: warning[-Wanalyzer-malloc-leak]: leak of ‘zalloc(104)’
# 2964|   	};
# 2965|   
# 2966|-> 	post_device_event(device,
# 2967|   			  time,
# 2968|   			  LIBINPUT_EVENT_TABLET_PAD_STRIP,

Error: GCC_ANALYZER_WARNING (CWE-401): [#def4]
libinput-1.25.0-build/libinput-1.25.0/src/libinput.c: scope_hint: In function ‘tablet_pad_notify_key’
libinput-1.25.0-build/libinput-1.25.0/src/libinput.c:2988:9: warning[-Wanalyzer-malloc-leak]: leak of ‘zalloc(104)’
# 2986|   	};
# 2987|   
# 2988|-> 	post_device_event(device,
# 2989|   			  time,
# 2990|   			  LIBINPUT_EVENT_TABLET_PAD_KEY,

Error: CPPCHECK_WARNING: [#def5]
libinput-1.25.0-build/libinput-1.25.0/test/test-misc.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
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-218.us-west-2.compute.internal
diffbase-mock-configfedora-41-x86_64
diffbase-project-namelibinput-1.26.1-1.fc41
diffbase-store-results-to/tmp/tmp4q2n4ak1/libinput-1.26.1-1.fc41.tar.xz
diffbase-time-created2024-07-03 14:46:33
diffbase-time-finished2024-07-03 14:48:35
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp4q2n4ak1/libinput-1.26.1-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmp4q2n4ak1/libinput-1.26.1-1.fc41.src.rpm'
diffbase-tool-versioncsmock-3.5.3-1.el9
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-218.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namelibinput-1.25.0-3.fc40
store-results-to/tmp/tmpkkxh0t1o/libinput-1.25.0-3.fc40.tar.xz
time-created2024-07-03 14:43:47
time-finished2024-07-03 14:46:11
titleFixed defects
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpkkxh0t1o/libinput-1.25.0-3.fc40.tar.xz' '--gcc-analyze' '/tmp/tmpkkxh0t1o/libinput-1.25.0-3.fc40.src.rpm'
tool-versioncsmock-3.5.3-1.el9