Error: COMPILER_WARNING (CWE-477): [#def1] udisks2-2.10.1-build/udisks-2.10.1/modules/lvm2/udiskslvm2daemonutil.c: scope_hint: In function 'run_sync' udisks2-2.10.1-build/udisks-2.10.1/modules/lvm2/udiskslvm2daemonutil.c:126:3: warning[-Wdeprecated-declarations]: 'g_spawn_check_exit_status' is deprecated: Use 'g_spawn_check_wait_status' instead # 126 | if (!g_spawn_check_exit_status (exit_status, error)) # | ^~ /usr/include/glib-2.0/glib.h:84: included_from: Included from here. /usr/include/glib-2.0/glib/gi18n-lib.h:23: included_from: Included from here. udisks2-2.10.1-build/udisks-2.10.1/modules/lvm2/udiskslvm2daemonutil.c:22: included_from: Included from here. /usr/include/glib-2.0/glib/gspawn.h:315:10: note: declared here # 315 | gboolean g_spawn_check_exit_status (gint wait_status, # | ^~~~~~~~~~~~~~~~~~~~~~~~~ # 124| return FALSE; # 125| # 126|-> if (!g_spawn_check_exit_status (exit_status, error)) # 127| { # 128| g_prefix_error (error, "stdout: '%s', stderr: '%s', ", standard_output, standard_error); Error: GCC_ANALYZER_WARNING (CWE-476): [#def2] udisks2-2.10.1-build/udisks-2.10.1/src/tests/helper.c: scope_hint: In function ‘main’ udisks2-2.10.1-build/udisks-2.10.1/src/tests/helper.c:66:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 64| const gchar **p = NULL; # 65| /* coverity[var_deref_op] */ # 66|-> *p = "fail"; # 67| } # 68| g_assert_not_reached (); Error: GCC_ANALYZER_WARNING (CWE-476): [#def3] udisks2-2.10.1-build/udisks-2.10.1/modules/lvm2/udiskslvm2daemonutil.c:46: included_from: Included from here. udisks2-2.10.1-build/udisks-2.10.1/modules/lvm2/udiskslvm2daemonutil.c: scope_hint: In function 'udisks_daemon_util_lvm2_wipe_block' udisks2-2.10.1-build/udisks-2.10.1/src/udiskslogging.h:93:33: warning[-Wanalyzer-null-dereference]: dereference of NULL 'local_error' udisks2-2.10.1-build/udisks-2.10.1/modules/lvm2/udiskslvm2daemonutil.c:235:7: note: in expansion of macro 'udisks_warning' udisks2-2.10.1-build/udisks-2.10.1/src/udiskslogging.h:93:91: note: in definition of macro 'udisks_warning' udisks2-2.10.1-build/udisks-2.10.1/src/udiskslogging.h:93:91: note: in definition of macro 'udisks_warning' udisks2-2.10.1-build/udisks-2.10.1/modules/lvm2/udiskslvm2daemonutil.c:235:7: note: in expansion of macro 'udisks_warning' # 91| * See #UDisksLogLevel for more details. # 92| */ # 93|-> #define udisks_warning(args...) udisks_log(UDISKS_LOG_LEVEL_WARNING, G_STRFUNC, G_STRLOC, args) # 94| # 95| /**
analyzer-version-clippy | 1.82.0 |
analyzer-version-cppcheck | 2.16.0 |
analyzer-version-gcc | 14.2.1 |
analyzer-version-gcc-analyzer | 15.0.0 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
diffbase-analyzer-version-clippy | 1.82.0 |
diffbase-analyzer-version-cppcheck | 2.16.0 |
diffbase-analyzer-version-gcc | 14.2.1 |
diffbase-analyzer-version-gcc-analyzer | 15.0.0 |
diffbase-analyzer-version-shellcheck | 0.10.0 |
diffbase-analyzer-version-unicontrol | 0.0.2 |
diffbase-enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
diffbase-exit-code | 0 |
diffbase-host | ip-172-16-1-16.us-west-2.compute.internal |
diffbase-mock-config | fedora-rawhide-gcc-latest-x86_64 |
diffbase-project-name | udisks2-2.10.90-1.fc42 |
diffbase-store-results-to | /tmp/tmp714ngtyj/udisks2-2.10.90-1.fc42.tar.xz |
diffbase-time-created | 2024-11-13 03:45:32 |
diffbase-time-finished | 2024-11-13 03:52:15 |
diffbase-tool | csmock |
diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmp714ngtyj/udisks2-2.10.90-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmp714ngtyj/udisks2-2.10.90-1.fc42.src.rpm' |
diffbase-tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-16.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | udisks2-2.10.1-6.fc41 |
store-results-to | /tmp/tmpm_uy0p8c/udisks2-2.10.1-6.fc41.tar.xz |
time-created | 2024-11-13 03:38:00 |
time-finished | 2024-11-13 03:45:10 |
title | Fixed findings |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpm_uy0p8c/udisks2-2.10.1-6.fc41.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpm_uy0p8c/udisks2-2.10.1-6.fc41.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |