Fixed findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1]
libinput-1.28.0/redhat-linux-build/../src/evdev-tablet-pad-leds.c:221:9: warning[-Wanalyzer-malloc-leak]: leak of ‘zalloc(24)’
libinput-1.28.0/redhat-linux-build/../src/evdev-tablet-pad-leds.c:554:1: enter_function: entry to ‘pad_init_leds’
libinput-1.28.0/redhat-linux-build/../src/evdev-tablet-pad-leds.c:562:12: branch_false: following ‘false’ branch...
libinput-1.28.0/redhat-linux-build/../src/evdev-tablet-pad-leds.c:571:14: branch_false: ...to here
libinput-1.28.0/redhat-linux-build/../src/evdev-tablet-pad-leds.c:571:14: call_function: calling ‘pad_init_leds_from_libwacom’ from ‘pad_init_leds’
#  219|   		return -ENOMEM;
#  220|   
#  221|-> 	list_insert(&group->toggle_button_list, &button->link);
#  222|   	group->base.toggle_button_mask |= bit(button_index);
#  223|   	group->base.button_mask |= bit(button_index);

Scan Properties

analyzer-version-clippy1.86.0
analyzer-version-cppcheck2.17.1
analyzer-version-gcc15.0.1
analyzer-version-gcc-analyzer15.0.1
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.86.0
diffbase-analyzer-version-cppcheck2.17.1
diffbase-analyzer-version-gcc15.0.1
diffbase-analyzer-version-gcc-analyzer15.0.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-87.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.20250425.124705.g1c7c448.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namelibinput-1.28.1-1.fc43
diffbase-store-results-to/tmp/tmpf_qk6cm6/libinput-1.28.1-1.fc43.tar.xz
diffbase-time-created2025-04-25 14:03:40
diffbase-time-finished2025-04-25 14:05:53
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpf_qk6cm6/libinput-1.28.1-1.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpf_qk6cm6/libinput-1.28.1-1.fc43.src.rpm'
diffbase-tool-versioncsmock-3.8.1.20250422.172604.g26bc3d6-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-87.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namelibinput-1.28.0-1.fc42
store-results-to/tmp/tmpv88pe2lf/libinput-1.28.0-1.fc42.tar.xz
time-created2025-04-25 14:00:35
time-finished2025-04-25 14:03:11
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpv88pe2lf/libinput-1.28.0-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpv88pe2lf/libinput-1.28.0-1.fc42.src.rpm'
tool-versioncsmock-3.8.1.20250422.172604.g26bc3d6-1.el9