libxfce4ui-4.18.6-1.fc41

List of Defects

Error: CPPCHECK_WARNING: [#def1]
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4kbd-private/xfce-shortcuts-grabber.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def2]
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4kbd-private/xfce-shortcuts-provider.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def3]
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/tmp-introspectftiqlj0o/Libxfce4ui-2.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def4]
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/tmp-introspectftiqlj0o/Libxfce4ui-2.0.c:799:27: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')

Error: CPPCHECK_WARNING: [#def5]
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-686): [#def6]
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c: scope_hint: In function 'IA__xfce_message_dialog_new_valist'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:670:20: warning[-Wanalyzer-va-arg-type-mismatch]: 'va_arg' expected 'const gchar *' {aka 'const char *'} but received 'int' for variadic argument 1 of 'args'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:55: included_from: Included from here.
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:431:1: note: in expansion of macro 'xfce_dialog_confirm'
/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/gtk-3.0/gdk/gdkconfig.h:8: included_from: Included from here.
/usr/include/gtk-3.0/gdk/gdk.h:30: included_from: Included from here.
/usr/include/gtk-3.0/gtk/gtk.h:30: included_from: Included from here.
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:47: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro 'G_LIKELY'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:443:3: note: in expansion of macro 'g_return_val_if_fail'
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro 'G_LIKELY'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:444:3: note: in expansion of macro 'g_return_val_if_fail'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:462:17: note: in expansion of macro 'xfce_message_dialog'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:462:17: note: in expansion of macro 'xfce_message_dialog'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:858:1: note: in expansion of macro 'xfce_message_dialog'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:873:12: note: in expansion of macro 'xfce_message_dialog_new_valist'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:577:1: note: in expansion of macro 'xfce_message_dialog_new_valist'
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro 'G_LIKELY'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:600:3: note: in expansion of macro 'g_return_val_if_fail'
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro 'G_LIKELY'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:601:3: note: in expansion of macro 'g_return_val_if_fail'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:662:5: note: in expansion of macro 'xfce_gtk_window_center_on_active_screen'
#  668|           {
#  669|             /* get arguments */
#  670|->           stock_id = va_arg (args, const gchar *);
#  671|             label = va_arg (args, const gchar *);
#  672|             response = va_arg (args, gint);

Error: GCC_ANALYZER_WARNING (CWE-686): [#def7]
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:683:18: warning[-Wanalyzer-va-arg-type-mismatch]: 'va_arg' expected 'GdkPixbuf *' {aka 'struct _GdkPixbuf *'} but received 'int' for variadic argument 1 of 'args'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:431:1: note: in expansion of macro 'xfce_dialog_confirm'
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro 'G_LIKELY'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:443:3: note: in expansion of macro 'g_return_val_if_fail'
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro 'G_LIKELY'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:444:3: note: in expansion of macro 'g_return_val_if_fail'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:462:17: note: in expansion of macro 'xfce_message_dialog'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:462:17: note: in expansion of macro 'xfce_message_dialog'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:858:1: note: in expansion of macro 'xfce_message_dialog'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:873:12: note: in expansion of macro 'xfce_message_dialog_new_valist'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:577:1: note: in expansion of macro 'xfce_message_dialog_new_valist'
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro 'G_LIKELY'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:600:3: note: in expansion of macro 'g_return_val_if_fail'
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro 'G_LIKELY'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:601:3: note: in expansion of macro 'g_return_val_if_fail'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:662:5: note: in expansion of macro 'xfce_gtk_window_center_on_active_screen'
#  681|           {
#  682|             /* get arguments */
#  683|->           pixbuf = va_arg (args, GdkPixbuf *);
#  684|             label = va_arg (args, const gchar *);
#  685|             response = va_arg (args, gint);

Error: GCC_ANALYZER_WARNING (CWE-686): [#def8]
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:713:20: warning[-Wanalyzer-va-arg-type-mismatch]: 'va_arg' expected 'gint' {aka 'int'} but received 'char (*)[22]' for variadic argument 1 of 'args'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:389:1: note: in expansion of macro 'xfce_dialog_show_error'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:403:3: note: in expansion of macro 'xfce_message_dialog'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:403:3: note: in expansion of macro 'xfce_message_dialog'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:403:3: note: in expansion of macro 'xfce_message_dialog'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:858:1: note: in expansion of macro 'xfce_message_dialog'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:873:12: note: in expansion of macro 'xfce_message_dialog_new_valist'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:577:1: note: in expansion of macro 'xfce_message_dialog_new_valist'
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro 'G_LIKELY'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:600:3: note: in expansion of macro 'g_return_val_if_fail'
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro 'G_LIKELY'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:601:3: note: in expansion of macro 'g_return_val_if_fail'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:662:5: note: in expansion of macro 'xfce_gtk_window_center_on_active_screen'
#  711|             /* get arguments */
#  712|             stock_id = text;
#  713|->           response = va_arg (args, gint);
#  714|   
#  715|             /* add a stock button to the dialog */

Error: GCC_ANALYZER_WARNING (CWE-686): [#def9]
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:713:20: warning[-Wanalyzer-va-arg-type-mismatch]: 'va_arg' expected 'gint' {aka 'int'} but received 'const gchar *' {aka 'const char *'} for variadic argument 3 of 'args'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:431:1: note: in expansion of macro 'xfce_dialog_confirm'
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro 'G_LIKELY'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:443:3: note: in expansion of macro 'g_return_val_if_fail'
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro 'G_LIKELY'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:444:3: note: in expansion of macro 'g_return_val_if_fail'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:462:17: note: in expansion of macro 'xfce_message_dialog'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:462:17: note: in expansion of macro 'xfce_message_dialog'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:858:1: note: in expansion of macro 'xfce_message_dialog'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:873:12: note: in expansion of macro 'xfce_message_dialog_new_valist'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:577:1: note: in expansion of macro 'xfce_message_dialog_new_valist'
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro 'G_LIKELY'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:600:3: note: in expansion of macro 'g_return_val_if_fail'
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro 'G_LIKELY'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:601:3: note: in expansion of macro 'g_return_val_if_fail'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:662:5: note: in expansion of macro 'xfce_gtk_window_center_on_active_screen'
#  711|             /* get arguments */
#  712|             stock_id = text;
#  713|->           response = va_arg (args, gint);
#  714|   
#  715|             /* add a stock button to the dialog */

Error: GCC_ANALYZER_WARNING (CWE-686): [#def10]
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:713:20: warning[-Wanalyzer-va-arg-type-mismatch]: 'va_arg' expected 'gint' {aka 'int'} but received 'void *' for variadic argument 1 of 'args'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:505:1: note: in expansion of macro 'xfce_dialog_confirm_close_tabs'
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro 'G_LIKELY'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:516:3: note: in expansion of macro 'g_return_val_if_fail'
/usr/include/xfce4/libxfce4util/xfce-i18n.h:33: included_from: Included from here.
/usr/include/xfce4/libxfce4util/libxfce4util.h:32: included_from: Included from here.
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:48: included_from: Included from here.
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:518:18: note: in expansion of macro '_'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:528:12: note: in expansion of macro 'xfce_message_dialog_new'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:817:1: note: in expansion of macro 'xfce_message_dialog_new'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:831:12: note: in expansion of macro 'xfce_message_dialog_new_valist'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:577:1: note: in expansion of macro 'xfce_message_dialog_new_valist'
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro 'G_LIKELY'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:600:3: note: in expansion of macro 'g_return_val_if_fail'
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro 'G_LIKELY'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:601:3: note: in expansion of macro 'g_return_val_if_fail'
#  711|             /* get arguments */
#  712|             stock_id = text;
#  713|->           response = va_arg (args, gint);
#  714|   
#  715|             /* add a stock button to the dialog */

Error: GCC_ANALYZER_WARNING (CWE-686): [#def11]
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:713:20: warning[-Wanalyzer-va-arg-type-mismatch]: 'va_arg' expected 'gint' {aka 'int'} but received 'void *' for variadic argument 5 of 'args'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:505:1: note: in expansion of macro 'xfce_dialog_confirm_close_tabs'
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro 'G_LIKELY'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:516:3: note: in expansion of macro 'g_return_val_if_fail'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:518:18: note: in expansion of macro '_'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:528:12: note: in expansion of macro 'xfce_message_dialog_new'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:817:1: note: in expansion of macro 'xfce_message_dialog_new'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:831:12: note: in expansion of macro 'xfce_message_dialog_new_valist'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:577:1: note: in expansion of macro 'xfce_message_dialog_new_valist'
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro 'G_LIKELY'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:600:3: note: in expansion of macro 'g_return_val_if_fail'
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro 'G_LIKELY'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:601:3: note: in expansion of macro 'g_return_val_if_fail'
#  711|             /* get arguments */
#  712|             stock_id = text;
#  713|->           response = va_arg (args, gint);
#  714|   
#  715|             /* add a stock button to the dialog */

Error: GCC_ANALYZER_WARNING (CWE-686): [#def12]
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:713:20: warning[-Wanalyzer-va-arg-type-mismatch]: 'va_arg' expected 'gint' {aka 'int'} but received 'void *' for variadic argument 9 of 'args'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:505:1: note: in expansion of macro 'xfce_dialog_confirm_close_tabs'
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro 'G_LIKELY'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:516:3: note: in expansion of macro 'g_return_val_if_fail'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:518:18: note: in expansion of macro '_'
/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/glib/gstrfuncs.h:324:38: note: in definition of macro 'g_strdup'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:520:32: note: in expansion of macro '_'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:520:22: note: in expansion of macro 'g_strdup'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c: scope_hint: In function 'IA__xfce_message_dialog_new_valist'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:535:67: note: in expansion of macro '_'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:528:12: note: in expansion of macro 'xfce_message_dialog_new'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:817:1: note: in expansion of macro 'xfce_message_dialog_new'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:831:12: note: in expansion of macro 'xfce_message_dialog_new_valist'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:577:1: note: in expansion of macro 'xfce_message_dialog_new_valist'
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro 'G_LIKELY'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:600:3: note: in expansion of macro 'g_return_val_if_fail'
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro 'G_LIKELY'
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-dialogs.c:601:3: note: in expansion of macro 'g_return_val_if_fail'
#  711|             /* get arguments */
#  712|             stock_id = text;
#  713|->           response = va_arg (args, gint);
#  714|   
#  715|             /* add a stock button to the dialog */

Error: CPPCHECK_WARNING: [#def13]
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-filename-input.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-190): [#def14]
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-gdk-extensions.c:157: error[integerOverflow]: Signed integer overflow for expression 'w-x'.
#  155|       }
#  156|   
#  157|->   geometry->width = w - x;
#  158|     geometry->height = h - y;
#  159|   

Error: CPPCHECK_WARNING (CWE-190): [#def15]
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-gdk-extensions.c:158: error[integerOverflow]: Signed integer overflow for expression 'h-y'.
#  156|   
#  157|     geometry->width = w - x;
#  158|->   geometry->height = h - y;
#  159|   
#  160|     return geometry;

Error: CPPCHECK_WARNING: [#def16]
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-sm-client.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def17]
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/libxfce4ui/xfce-spawn.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def18]
libxfce4ui-4.18.6-build/libxfce4ui-4.18.6/xfce4-about/system-info.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Scan Properties

analyzer-version-clang18.1.7
analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-53.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namelibxfce4ui-4.18.6-1.fc41
store-results-to/tmp/tmpx8izkcuv/libxfce4ui-4.18.6-1.fc41.tar.xz
time-created2024-07-03 16:08:17
time-finished2024-07-03 16:10:20
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpx8izkcuv/libxfce4ui-4.18.6-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpx8izkcuv/libxfce4ui-4.18.6-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9