Newly introduced findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1]
libfprint-1.94.7-build/libfprint-v1.94.7/libfprint/drivers/egismoc/egismoc.c: scope_hint: In function ‘egismoc_exec_cmd’
libfprint-1.94.7-build/libfprint-v1.94.7/libfprint/drivers/egismoc/egismoc.c:359:3: warning[-Wanalyzer-null-argument]: use of NULL ‘cmd’ where non-null expected
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
libfprint-1.94.7-build/libfprint-v1.94.7/libfprint/drivers/egismoc/egismoc.c:31: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
libfprint-1.94.7-build/libfprint-v1.94.7/libfprint/drivers/egismoc/egismoc.c:331:3: note: in expansion of macro ‘g_assert’
libfprint-1.94.7-build/libfprint-v1.94.7/libfprint/drivers_api.h:33: included_from: Included from here.
libfprint-1.94.7-build/libfprint-v1.94.7/libfprint/drivers/egismoc/egismoc.c:34: included_from: Included from here.
libfprint-1.94.7-build/libfprint-v1.94.7/libfprint/drivers/egismoc/egismoc.c:332:19: note: in expansion of macro ‘fpi_ssm_new’
<built-in>: note: argument 2 of ‘__builtin_memcpy’ must be non-null
#  357|   
#  358|     /* Command Payload */
#  359|->   memcpy (buffer_out + egismoc_write_prefix_len + EGISMOC_CHECK_BYTES_LENGTH,
#  360|             cmd, cmd_length);
#  361|   

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
diffbase-analyzer-version-clippy1.82.0
diffbase-analyzer-version-cppcheck2.16.0
diffbase-analyzer-version-gcc14.2.1
diffbase-analyzer-version-gcc-analyzer15.0.0
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-237.us-west-2.compute.internal
diffbase-mock-configfedora-rawhide-gcc-latest-x86_64
diffbase-project-namelibfprint-1.94.8-1.fc41
diffbase-store-results-to/tmp/tmpgan4_po7/libfprint-1.94.8-1.fc41.tar.xz
diffbase-time-created2024-11-13 01:27:07
diffbase-time-finished2024-11-13 01:29:50
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpgan4_po7/libfprint-1.94.8-1.fc41.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpgan4_po7/libfprint-1.94.8-1.fc41.src.rpm'
diffbase-tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-237.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-namelibfprint-1.94.7-2.fc41
store-results-to/tmp/tmppssb5n39/libfprint-1.94.7-2.fc41.tar.xz
time-created2024-11-13 01:30:12
time-finished2024-11-13 01:32:31
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmppssb5n39/libfprint-1.94.7-2.fc41.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmppssb5n39/libfprint-1.94.7-2.fc41.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9