libwacom-2.13.0-1.fc42

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1]
libwacom-2.13.0-build/libwacom-2.13.0/libwacom/libwacom-error.c: scope_hint: In function ‘libwacom_error_new’
libwacom-2.13.0-build/libwacom-2.13.0/libwacom/libwacom-error.c:40:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘error’
#   38|   {
#   39|   	WacomError *error = malloc(sizeof(*error));
#   40|-> 	error->code = WERROR_NONE;
#   41|   	error->msg = NULL;
#   42|   	return error;

Scan Properties

analyzer-version-clippy1.82.0
analyzer-version-cppcheck2.16.0
analyzer-version-gcc14.2.1
analyzer-version-gcc-analyzer15.0.0
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-156.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-namelibwacom-2.13.0-1.fc42
store-results-to/tmp/tmpk9_tfzsa/libwacom-2.13.0-1.fc42.tar.xz
time-created2024-11-13 01:52:53
time-finished2024-11-13 01:54:07
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpk9_tfzsa/libwacom-2.13.0-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpk9_tfzsa/libwacom-2.13.0-1.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9