Task #1324 - xfce4-session-4.18.4-2.fc41/scan-results.err
back to task #1324download
Error: COMPILER_WARNING (CWE-477): xfce4-session-4.18.4-build/xfce4-session-4.18.4/libxfsm/xfsm-util.c: scope_hint: In function 'xfsm_start_application' xfce4-session-4.18.4-build/xfce4-session-4.18.4/libxfsm/xfsm-util.c:85:42: warning[-Wdeprecated-declarations]: 'gdk_screen_get_number' is deprecated /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31: included_from: Included from here. /usr/include/gtk-3.0/gdk/gdk.h:32: included_from: Included from here. /usr/include/gtk-3.0/gdk/gdkx.h:28: included_from: Included from here. xfce4-session-4.18.4-build/xfce4-session-4.18.4/libxfsm/xfsm-util.c:41: included_from: Included from here. /usr/include/gtk-3.0/gdk/gdkscreen.h:56:14: note: declared here # 83| # 84| screen_name = g_strdup_printf ("%s.%d", display_name, # 85|-> gdk_screen_get_number (screen)); # 86| } # 87| else Error: COMPILER_WARNING (CWE-477): xfce4-session-4.18.4-build/xfce4-session-4.18.4/libxfsm/xfsm-util.c:88:9: warning[-Wdeprecated-declarations]: 'gdk_screen_make_display_name' is deprecated /usr/include/gtk-3.0/gdk/gdkscreen.h:71:14: note: declared here # 86| } # 87| else # 88|-> screen_name = gdk_screen_make_display_name (screen); # 89| argv[argc++] = g_strdup ("env"); # 90| argv[argc++] = g_strdup_printf ("DISPLAY=%s", screen_name); Error: CPPCHECK_WARNING: xfce4-session-4.18.4-build/xfce4-session-4.18.4/settings/main.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: xfce4-session-4.18.4-build/xfce4-session-4.18.4/settings/session-editor.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: xfce4-session-4.18.4-build/xfce4-session-4.18.4/settings/xfae-model.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: xfce4-session-4.18.4-build/xfce4-session-4.18.4/settings/xfsm-client-dbus-client.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: xfce4-session-4.18.4-build/xfce4-session-4.18.4/settings/xfsm-manager-dbus-client.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: xfce4-session-4.18.4-build/xfce4-session-4.18.4/xfce4-session-logout/main.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: xfce4-session-4.18.4-build/xfce4-session-4.18.4/xfce4-session/main.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-688): xfce4-session-4.18.4-build/xfce4-session-4.18.4/xfce4-session/main.c: scope_hint: In function ‘setup_environment’ xfce4-session-4.18.4-build/xfce4-session-4.18.4/xfce4-session/main.c:115:8: warning[-Wanalyzer-null-argument]: use of NULL ‘authfile’ where non-null expected /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. /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. xfce4-session-4.18.4-build/xfce4-session-4.18.4/xfce4-session/main.c:49: included_from: Included from here. /usr/include/glib-2.0/glib/gstrfuncs.h:324:38: note: in definition of macro ‘g_strdup’ xfce4-session-4.18.4-build/xfce4-session-4.18.4/xfce4-session/main.c:112:16: note: in expansion of macro ‘g_strdup’ xfce4-session-4.18.4-build/xfce4-session-4.18.4/xfce4-session/main.c: scope_hint: In function ‘setup_environment’ xfce4-session-4.18.4-build/xfce4-session-4.18.4/xfce4-session/main.c:31: included_from: Included from here. /usr/include/fcntl.h:209:12: note: argument 1 of ‘open’ must be non-null # 113| else # 114| authfile = xfce_get_homefile (".ICEauthority", NULL); # 115|-> fd = open (authfile, O_RDWR | O_CREAT, 0600); # 116| if (fd < 0) # 117| { Error: CPPCHECK_WARNING: xfce4-session-4.18.4-build/xfce4-session-4.18.4/xfce4-session/sm-layer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: xfce4-session-4.18.4-build/xfce4-session-4.18.4/xfce4-session/xfsm-client-dbus.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: xfce4-session-4.18.4-build/xfce4-session-4.18.4/xfce4-session/xfsm-client.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: xfce4-session-4.18.4-build/xfce4-session-4.18.4/xfce4-session/xfsm-compat-gnome.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: xfce4-session-4.18.4-build/xfce4-session-4.18.4/xfce4-session/xfsm-global.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: xfce4-session-4.18.4-build/xfce4-session-4.18.4/xfce4-session/xfsm-legacy.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: COMPILER_WARNING (CWE-477): xfce4-session-4.18.4-build/xfce4-session-4.18.4/xfce4-session/xfsm-legacy.c: scope_hint: In function ‘xfsm_legacy_perform_session_save’ xfce4-session-4.18.4-build/xfce4-session-4.18.4/xfce4-session/xfsm-legacy.c:340:7: warning[-Wdeprecated-declarations]: ‘wnck_screen_get’ is deprecated: Use 'wnck_handle_get_screen' instead /usr/include/libwnck-3.0/libwnck/wnck-handle.h:26: included_from: Included from here. /usr/include/libwnck-3.0/libwnck/libwnck.h:26: included_from: Included from here. xfce4-session-4.18.4-build/xfce4-session-4.18.4/xfce4-session/xfsm-legacy.c:75: included_from: Included from here. /usr/include/libwnck-3.0/libwnck/screen.h:201:16: note: declared here # 338| for (n = 0; n < ScreenCount (gdk_x11_get_default_xdisplay ()); ++n) # 339| { # 340|-> screen = wnck_screen_get (n); # 341| wnck_screen_force_update (screen); # 342| Error: CPPCHECK_WARNING: xfce4-session-4.18.4-build/xfce4-session-4.18.4/xfce4-session/xfsm-logout-dialog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: COMPILER_WARNING (CWE-477): xfce4-session-4.18.4-build/xfce4-session-4.18.4/xfce4-session/xfsm-logout-dialog.c: scope_hint: In function ‘xfsm_logout_dialog_screenshot_new’ xfce4-session-4.18.4-build/xfce4-session-4.18.4/xfce4-session/xfsm-logout-dialog.c:564:3: warning[-Wdeprecated-declarations]: ‘gdk_screen_get_width’ is deprecated /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31: included_from: Included from here. /usr/include/gtk-3.0/gdk/gdk.h:32: included_from: Included from here. /usr/include/gtk-3.0/gtk/gtk.h:30: included_from: Included from here. xfce4-session-4.18.4-build/xfce4-session-4.18.4/xfce4-session/xfsm-logout-dialog.c:47: included_from: Included from here. /usr/include/gtk-3.0/gdk/gdkscreen.h:58:14: note: declared here # 562| screen_rect.x = 0; # 563| screen_rect.y = 0; # 564|-> screen_rect.width = gdk_screen_get_width (screen); # 565| screen_rect.height = gdk_screen_get_height (screen); # 566| Error: COMPILER_WARNING (CWE-477): xfce4-session-4.18.4-build/xfce4-session-4.18.4/xfce4-session/xfsm-logout-dialog.c:565:3: warning[-Wdeprecated-declarations]: ‘gdk_screen_get_height’ is deprecated /usr/include/gtk-3.0/gdk/gdkscreen.h:60:14: note: declared here # 563| screen_rect.y = 0; # 564| screen_rect.width = gdk_screen_get_width (screen); # 565|-> screen_rect.height = gdk_screen_get_height (screen); # 566| # 567| window = gdk_screen_get_root_window (screen); Error: CPPCHECK_WARNING: xfce4-session-4.18.4-build/xfce4-session-4.18.4/xfce4-session/xfsm-manager-dbus.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: xfce4-session-4.18.4-build/xfce4-session-4.18.4/xfce4-session/xfsm-manager.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: COMPILER_WARNING (CWE-477): xfce4-session-4.18.4-build/xfce4-session-4.18.4/xfce4-session/xfsm-manager.c: scope_hint: In function ‘xfsm_manager_restore_active_workspace’ xfce4-session-4.18.4-build/xfce4-session-4.18.4/xfce4-session/xfsm-manager.c:303:7: warning[-Wdeprecated-declarations]: ‘wnck_screen_get’ is deprecated: Use 'wnck_handle_get_screen' instead /usr/include/libwnck-3.0/libwnck/wnck-handle.h:26: included_from: Included from here. /usr/include/libwnck-3.0/libwnck/libwnck.h:26: included_from: Included from here. xfce4-session-4.18.4-build/xfce4-session-4.18.4/xfce4-session/xfsm-manager.c:52: included_from: Included from here. /usr/include/libwnck-3.0/libwnck/screen.h:201:16: note: declared here # 301| m = g_key_file_get_integer (file, group, buffer, NULL); # 302| # 303|-> screen = wnck_screen_get (n); # 304| wnck_screen_force_update (screen); # 305| Error: COMPILER_WARNING (CWE-477): xfce4-session-4.18.4-build/xfce4-session-4.18.4/xfce4-session/xfsm-manager.c: scope_hint: In function ‘xfsm_manager_store_session’ xfce4-session-4.18.4-build/xfce4-session-4.18.4/xfce4-session/xfsm-manager.c:1880:7: warning[-Wdeprecated-declarations]: ‘wnck_screen_get’ is deprecated: Use 'wnck_handle_get_screen' instead /usr/include/libwnck-3.0/libwnck/screen.h:201:16: note: declared here # 1878| for (n = 0; n < XScreenCount (gdk_x11_display_get_xdisplay (display)); ++n) # 1879| { # 1880|-> screen = wnck_screen_get (n); # 1881| wnck_screen_force_update (screen); # 1882| Error: CPPCHECK_WARNING: xfce4-session-4.18.4-build/xfce4-session-4.18.4/xfce4-session/xfsm-properties.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: xfce4-session-4.18.4-build/xfce4-session-4.18.4/xfce4-session/xfsm-properties.c:657:27: warning[unix.Malloc]: Potential leak of memory pointed to by 'value_strv' # 655| g_value_take_boxed (value, value_strv); # 656| g_tree_replace (properties->sm_properties, # 657|-> g_strdup (sm_prop->name), # 658| value); # 659| } Error: CPPCHECK_WARNING: xfce4-session-4.18.4-build/xfce4-session-4.18.4/xfce4-session/xfsm-shutdown.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: xfce4-session-4.18.4-build/xfce4-session-4.18.4/xfce4-session/xfsm-startup.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: xfce4-session-4.18.4-build/xfce4-session-4.18.4/xfsm-shutdown-helper/main.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.