Error: GCC_ANALYZER_WARNING (CWE-476): [#def1] xdg-dbus-proxy-0.1.6-build/xdg-dbus-proxy-0.1.6/dbus-proxy.c: scope_hint: In function ‘parse_generic_args’ xdg-dbus-proxy-0.1.6-build/xdg-dbus-proxy-0.1.6/dbus-proxy.c:211:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error’ /usr/include/glib-2.0/glib.h:33: included_from: Included from here. /usr/include/glib-2.0/gobject/gbinding.h:30: included_from: Included from here. /usr/include/glib-2.0/glib-object.h:24: included_from: Included from here. /usr/include/glib-2.0/gio/gioenums.h:30: included_from: Included from here. /usr/include/glib-2.0/gio/giotypes.h:30: included_from: Included from here. /usr/include/glib-2.0/gio/gio.h:28: included_from: Included from here. xdg-dbus-proxy-0.1.6-build/xdg-dbus-proxy-0.1.6/flatpak-proxy.h:24: included_from: Included from here. xdg-dbus-proxy-0.1.6-build/xdg-dbus-proxy-0.1.6/dbus-proxy.c:33: included_from: Included from here. xdg-dbus-proxy-0.1.6-build/xdg-dbus-proxy-0.1.6/dbus-proxy.c:395:25: note: in expansion of macro ‘g_ptr_array_index’ /usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here. /usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here. /usr/include/glib-2.0/glib.h:56: included_from: Included from here. xdg-dbus-proxy-0.1.6-build/xdg-dbus-proxy-0.1.6/dbus-proxy.c:174:12: note: in expansion of macro ‘g_str_has_prefix’ xdg-dbus-proxy-0.1.6-build/xdg-dbus-proxy-0.1.6/dbus-proxy.c:192:12: note: in expansion of macro ‘g_str_has_prefix’ xdg-dbus-proxy-0.1.6-build/xdg-dbus-proxy-0.1.6/dbus-proxy.c:192:12: note: in expansion of macro ‘g_str_has_prefix’ xdg-dbus-proxy-0.1.6-build/xdg-dbus-proxy-0.1.6/dbus-proxy.c:29: included_from: Included from here. /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. /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:1251:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ xdg-dbus-proxy-0.1.6-build/xdg-dbus-proxy-0.1.6/dbus-proxy.c:109:11: note: in expansion of macro ‘G_UNLIKELY’ # 209| if (data == NULL) # 210| { # 211|-> g_printerr ("Failed to load --args: %s\n", error->message); # 212| return FALSE; # 213| } Error: GCC_ANALYZER_WARNING (CWE-476): [#def2] xdg-dbus-proxy-0.1.6-build/xdg-dbus-proxy-0.1.6/tests/test-proxy.c: scope_hint: In function ‘setup’ xdg-dbus-proxy-0.1.6-build/xdg-dbus-proxy-0.1.6/tests/test-proxy.c:102:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘newline’ /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. xdg-dbus-proxy-0.1.6-build/xdg-dbus-proxy-0.1.6/tests/test-proxy.c:26: 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:255:49: note: in expansion of macro ‘G_LIKELY’ xdg-dbus-proxy-0.1.6-build/xdg-dbus-proxy-0.1.6/tests/test-proxy.c:101:3: note: in expansion of macro ‘g_assert_nonnull’ /usr/include/glib-2.0/glib.h:89: included_from: Included from here. xdg-dbus-proxy-0.1.6-build/xdg-dbus-proxy-0.1.6/tests/test-proxy.c:101:3: note: in expansion of macro ‘g_assert_nonnull’ # 100| newline = strchr (address_buffer, '\n'); # 101| g_assert_nonnull (newline); # 102|-> *newline = '\0'; # 103| f->dbus_address = g_strdup (address_buffer); # 104|
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 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-58.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | xdg-dbus-proxy-0.1.6-1.fc42 |
store-results-to | /tmp/tmpustl4ckb/xdg-dbus-proxy-0.1.6-1.fc42.tar.xz |
time-created | 2024-11-13 03:38:33 |
time-finished | 2024-11-13 03:39:51 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpustl4ckb/xdg-dbus-proxy-0.1.6-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpustl4ckb/xdg-dbus-proxy-0.1.6-1.fc42.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |