gnome-desktop3-44.0-15.fc41

List of Defects

Error: CPPCHECK_WARNING: [#def1]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg-slide-show.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def2]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg-slide-show.c:307:9: warning[unix.Malloc]: Potential leak of memory pointed to by 'size'
#  305|                   }
#  306|           }
#  307|->         g_queue_push_tail (self->priv->stack, g_strdup (name));
#  308|   }
#  309|   

Error: CPPCHECK_WARNING (CWE-664): [#def3]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg-slide-show.c:347: error[va_end_missing]: va_list 'args' was opened but not closed by va_end().
#  345|                   if (strcmp (l1->data, l2->data) != 0) {
#  346|                           g_list_free (stack);
#  347|->                         return FALSE;
#  348|                   }
#  349|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg-slide-show.c: scope_hint: In function ‘handle_text’
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg-slide-show.c:397:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  395|           else if (stack_is (self, "duration", "static", "background", NULL) ||
#  396|                    stack_is (self, "duration", "transition", "background", NULL)) {
#  397|->                 slide->duration = g_strtod (text, NULL);
#  398|                   self->priv->total_duration += slide->duration;
#  399|           }

Error: CLANG_WARNING: [#def5]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg-slide-show.c:397:33: warning[core.NullDereference]: Access to field 'duration' results in a dereference of a null pointer (loaded from variable 'slide')
#  395|           else if (stack_is (self, "duration", "static", "background", NULL) ||
#  396|                    stack_is (self, "duration", "transition", "background", NULL)) {
#  397|->                 slide->duration = g_strtod (text, NULL);
#  398|                   self->priv->total_duration += slide->duration;
#  399|           }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def6]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg-slide-show.c:412:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/include/glib-2.0/glib/glist.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/ghash.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:52: included_from: Included from here.
/usr/include/glib-2.0/glib/gmem.h:315:57: note: in expansion of macro ‘_G_NEW’
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg-slide-show.c:408:22: note: in expansion of macro ‘g_new’
/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.
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg-slide-show.c:411:28: note: in expansion of macro ‘g_strdup’
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg-slide-show.c: scope_hint: In function ‘handle_text’
#  410|                   fs->height = -1;
#  411|                   fs->file = g_strdup (text);
#  412|->                 slide->file1 = g_slist_prepend (slide->file1, fs);
#  413|                   if (slide->file1->next != NULL)
#  414|                           self->priv->has_multiple_sizes = TRUE;

Error: CLANG_WARNING: [#def7]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg-slide-show.c:412:49: warning[core.NullDereference]: Access to field 'file1' results in a dereference of a null pointer (loaded from variable 'slide')
#  410|                   fs->height = -1;
#  411|                   fs->file = g_strdup (text);
#  412|->                 slide->file1 = g_slist_prepend (slide->file1, fs);
#  413|                   if (slide->file1->next != NULL)
#  414|                           self->priv->has_multiple_sizes = TRUE;

Error: CLANG_WARNING: [#def8]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg-slide-show.c:418:22: warning[core.NullDereference]: Access to field 'file1' results in a dereference of a null pointer (loaded from variable 'slide')
#  416|           else if (stack_is (self, "size", "file", "static", "background", NULL) ||
#  417|                    stack_is (self, "size", "from", "transition", "background", NULL)) {
#  418|->                 fs = slide->file1->data;
#  419|                   fs->file = g_strdup (text);
#  420|                   if (slide->file1->next != NULL)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def9]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg-slide-show.c:418:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  416|           else if (stack_is (self, "size", "file", "static", "background", NULL) ||
#  417|                    stack_is (self, "size", "from", "transition", "background", NULL)) {
#  418|->                 fs = slide->file1->data;
#  419|                   fs->file = g_strdup (text);
#  420|                   if (slide->file1->next != NULL)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def10]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg-slide-show.c:434:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/include/glib-2.0/glib/gmem.h:315:57: note: in expansion of macro ‘_G_NEW’
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg-slide-show.c:430:22: note: in expansion of macro ‘g_new’
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg-slide-show.c:433:28: note: in expansion of macro ‘g_strdup’
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg-slide-show.c: scope_hint: In function ‘handle_text’
#  432|                   fs->height = -1;
#  433|                   fs->file = g_strdup (text);
#  434|->                 slide->file2 = g_slist_prepend (slide->file2, fs);
#  435|                   if (slide->file2->next != NULL)
#  436|                           self->priv->has_multiple_sizes = TRUE;

Error: CLANG_WARNING: [#def11]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg-slide-show.c:434:49: warning[core.NullDereference]: Access to field 'file2' results in a dereference of a null pointer (loaded from variable 'slide')
#  432|                   fs->height = -1;
#  433|                   fs->file = g_strdup (text);
#  434|->                 slide->file2 = g_slist_prepend (slide->file2, fs);
#  435|                   if (slide->file2->next != NULL)
#  436|                           self->priv->has_multiple_sizes = TRUE;

Error: CLANG_WARNING: [#def12]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg-slide-show.c:439:22: warning[core.NullDereference]: Access to field 'file2' results in a dereference of a null pointer (loaded from variable 'slide')
#  437|           }
#  438|           else if (stack_is (self, "size", "to", "transition", "background", NULL)) {
#  439|->                 fs = slide->file2->data;
#  440|                   fs->file = g_strdup (text);
#  441|                   if (slide->file2->next != NULL)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def13]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg-slide-show.c:439:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  437|           }
#  438|           else if (stack_is (self, "size", "to", "transition", "background", NULL)) {
#  439|->                 fs = slide->file2->data;
#  440|                   fs->file = g_strdup (text);
#  441|                   if (slide->file2->next != NULL)

Error: CLANG_WARNING: [#def14]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg-slide-show.c:478:42: warning[core.NullDereference]: Access to field 'width' results in a dereference of a null pointer (loaded from variable 'best')
#  476|                           }
#  477|   			else if (d == distance) {
#  478|-> 				if (abs (size->width - width) < abs (best->width - width)) {
#  479|   					best = size;
#  480|   				}

Error: GCC_ANALYZER_WARNING (CWE-476): [#def15]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg-slide-show.c: scope_hint: In function ‘find_best_size’
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg-slide-show.c:478:74: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘best’
#  476|                           }
#  477|   			else if (d == distance) {
#  478|-> 				if (abs (size->width - width) < abs (best->width - width)) {
#  479|   					best = size;
#  480|   				}

Error: CPPCHECK_WARNING (CWE-476): [#def16]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg-slide-show.c:488: warning[nullPointer]: Possible null pointer dereference: best
#  486|   	}
#  487|   
#  488|-> 	return best->file;
#  489|   }
#  490|   

Error: CLANG_WARNING: [#def17]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg-slide-show.c:488:9: warning[core.NullDereference]: Access to field 'file' results in a dereference of a null pointer (loaded from variable 'best')
#  486|   	}
#  487|   
#  488|-> 	return best->file;
#  489|   }
#  490|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def18]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg-slide-show.c:488:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘best’
#  486|   	}
#  487|   
#  488|-> 	return best->file;
#  489|   }
#  490|   

Error: CPPCHECK_WARNING: [#def19]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def20]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg/gnome-bg-slide-show.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def21]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg/gnome-bg-slide-show.c:307:9: warning[unix.Malloc]: Potential leak of memory pointed to by 'size'
#  305|                   }
#  306|           }
#  307|->         g_queue_push_tail (self->priv->stack, g_strdup (name));
#  308|   }
#  309|   

Error: CPPCHECK_WARNING (CWE-664): [#def22]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg/gnome-bg-slide-show.c:347: error[va_end_missing]: va_list 'args' was opened but not closed by va_end().
#  345|                   if (strcmp (l1->data, l2->data) != 0) {
#  346|                           g_list_free (stack);
#  347|->                         return FALSE;
#  348|                   }
#  349|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def23]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg/gnome-bg-slide-show.c: scope_hint: In function ‘handle_text’
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg/gnome-bg-slide-show.c:397:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  395|           else if (stack_is (self, "duration", "static", "background", NULL) ||
#  396|                    stack_is (self, "duration", "transition", "background", NULL)) {
#  397|->                 slide->duration = g_strtod (text, NULL);
#  398|                   self->priv->total_duration += slide->duration;
#  399|           }

Error: CLANG_WARNING: [#def24]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg/gnome-bg-slide-show.c:397:33: warning[core.NullDereference]: Access to field 'duration' results in a dereference of a null pointer (loaded from variable 'slide')
#  395|           else if (stack_is (self, "duration", "static", "background", NULL) ||
#  396|                    stack_is (self, "duration", "transition", "background", NULL)) {
#  397|->                 slide->duration = g_strtod (text, NULL);
#  398|                   self->priv->total_duration += slide->duration;
#  399|           }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def25]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg/gnome-bg-slide-show.c:412:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/include/glib-2.0/glib/glist.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/ghash.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:52: included_from: Included from here.
/usr/include/glib-2.0/glib/gmem.h:315:57: note: in expansion of macro ‘_G_NEW’
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg/gnome-bg-slide-show.c:408:22: note: in expansion of macro ‘g_new’
/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.
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg/gnome-bg-slide-show.c:411:28: note: in expansion of macro ‘g_strdup’
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg/gnome-bg-slide-show.c: scope_hint: In function ‘handle_text’
#  410|                   fs->height = -1;
#  411|                   fs->file = g_strdup (text);
#  412|->                 slide->file1 = g_slist_prepend (slide->file1, fs);
#  413|                   if (slide->file1->next != NULL)
#  414|                           self->priv->has_multiple_sizes = TRUE;

Error: CLANG_WARNING: [#def26]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg/gnome-bg-slide-show.c:412:49: warning[core.NullDereference]: Access to field 'file1' results in a dereference of a null pointer (loaded from variable 'slide')
#  410|                   fs->height = -1;
#  411|                   fs->file = g_strdup (text);
#  412|->                 slide->file1 = g_slist_prepend (slide->file1, fs);
#  413|                   if (slide->file1->next != NULL)
#  414|                           self->priv->has_multiple_sizes = TRUE;

Error: CLANG_WARNING: [#def27]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg/gnome-bg-slide-show.c:418:22: warning[core.NullDereference]: Access to field 'file1' results in a dereference of a null pointer (loaded from variable 'slide')
#  416|           else if (stack_is (self, "size", "file", "static", "background", NULL) ||
#  417|                    stack_is (self, "size", "from", "transition", "background", NULL)) {
#  418|->                 fs = slide->file1->data;
#  419|                   fs->file = g_strdup (text);
#  420|                   if (slide->file1->next != NULL)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def28]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg/gnome-bg-slide-show.c:418:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  416|           else if (stack_is (self, "size", "file", "static", "background", NULL) ||
#  417|                    stack_is (self, "size", "from", "transition", "background", NULL)) {
#  418|->                 fs = slide->file1->data;
#  419|                   fs->file = g_strdup (text);
#  420|                   if (slide->file1->next != NULL)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def29]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg/gnome-bg-slide-show.c:434:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/include/glib-2.0/glib/gmem.h:315:57: note: in expansion of macro ‘_G_NEW’
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg/gnome-bg-slide-show.c:430:22: note: in expansion of macro ‘g_new’
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg/gnome-bg-slide-show.c:433:28: note: in expansion of macro ‘g_strdup’
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg/gnome-bg-slide-show.c: scope_hint: In function ‘handle_text’
#  432|                   fs->height = -1;
#  433|                   fs->file = g_strdup (text);
#  434|->                 slide->file2 = g_slist_prepend (slide->file2, fs);
#  435|                   if (slide->file2->next != NULL)
#  436|                           self->priv->has_multiple_sizes = TRUE;

Error: CLANG_WARNING: [#def30]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg/gnome-bg-slide-show.c:434:49: warning[core.NullDereference]: Access to field 'file2' results in a dereference of a null pointer (loaded from variable 'slide')
#  432|                   fs->height = -1;
#  433|                   fs->file = g_strdup (text);
#  434|->                 slide->file2 = g_slist_prepend (slide->file2, fs);
#  435|                   if (slide->file2->next != NULL)
#  436|                           self->priv->has_multiple_sizes = TRUE;

Error: CLANG_WARNING: [#def31]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg/gnome-bg-slide-show.c:439:22: warning[core.NullDereference]: Access to field 'file2' results in a dereference of a null pointer (loaded from variable 'slide')
#  437|           }
#  438|           else if (stack_is (self, "size", "to", "transition", "background", NULL)) {
#  439|->                 fs = slide->file2->data;
#  440|                   fs->file = g_strdup (text);
#  441|                   if (slide->file2->next != NULL)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def32]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg/gnome-bg-slide-show.c:439:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  437|           }
#  438|           else if (stack_is (self, "size", "to", "transition", "background", NULL)) {
#  439|->                 fs = slide->file2->data;
#  440|                   fs->file = g_strdup (text);
#  441|                   if (slide->file2->next != NULL)

Error: CLANG_WARNING: [#def33]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg/gnome-bg-slide-show.c:478:42: warning[core.NullDereference]: Access to field 'width' results in a dereference of a null pointer (loaded from variable 'best')
#  476|                           }
#  477|   			else if (d == distance) {
#  478|-> 				if (abs (size->width - width) < abs (best->width - width)) {
#  479|   					best = size;
#  480|   				}

Error: GCC_ANALYZER_WARNING (CWE-476): [#def34]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg/gnome-bg-slide-show.c: scope_hint: In function ‘find_best_size’
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg/gnome-bg-slide-show.c:478:74: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘best’
#  476|                           }
#  477|   			else if (d == distance) {
#  478|-> 				if (abs (size->width - width) < abs (best->width - width)) {
#  479|   					best = size;
#  480|   				}

Error: CPPCHECK_WARNING (CWE-476): [#def35]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg/gnome-bg-slide-show.c:488: warning[nullPointer]: Possible null pointer dereference: best
#  486|   	}
#  487|   
#  488|-> 	return best->file;
#  489|   }
#  490|   

Error: CLANG_WARNING: [#def36]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg/gnome-bg-slide-show.c:488:9: warning[core.NullDereference]: Access to field 'file' results in a dereference of a null pointer (loaded from variable 'best')
#  486|   	}
#  487|   
#  488|-> 	return best->file;
#  489|   }
#  490|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def37]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg/gnome-bg-slide-show.c:488:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘best’
#  486|   	}
#  487|   
#  488|-> 	return best->file;
#  489|   }
#  490|   

Error: CPPCHECK_WARNING: [#def38]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-bg/gnome-bg.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def39]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-desktop-thumbnail-script.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def40]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-desktop-thumbnail-script.c:917:64: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')
#  915|         if (reply == NULL)
#  916|           {
#  917|->           g_debug ("Failed to get Flatpak portal version: %s", error->message);
#  918|             /* Don't try again if we failed once */
#  919|             version = 0;

Error: CPPCHECK_WARNING: [#def41]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-desktop-thumbnail.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def42]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-languages.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-688): [#def43]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-languages.c: scope_hint: In function ‘language_name_get_codeset_details’
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-languages.c:310:28: warning[-Wanalyzer-null-argument]: use of NULL 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.
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-languages.c:34: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition 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’
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-languages.c:508:9: 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’
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-languages.c:508:9: 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’
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-languages.c:371:9: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition 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’
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-languages.c:372:9: 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’
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-languages.c:372:9: note: in expansion of macro ‘g_return_val_if_fail’
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-languages.c:28: included_from: Included from here.
/usr/include/string.h:156:12: note: argument 1 of ‘strcmp’ must be non-null
#  308|                   g_autofree char *normalized_codeset = normalize_codeset (codeset);
#  309|   
#  310|->                 *is_utf8 = strcmp (normalized_codeset, "UTF-8") == 0;
#  311|           }
#  312|   

Error: CPPCHECK_WARNING: [#def44]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-rr-config.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def45]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-rr-output-info.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def46]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-rr.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def47]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-rr/gnome-rr-config.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def48]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-rr/gnome-rr-output-info.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def49]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-rr/gnome-rr-screen.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def50]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-systemd.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def51]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-systemd.c:56:3: warning[deadcode.DeadStores]: Value stored to 'reply' is never read
#   54|     StartSystemdScopeData *task_data = g_task_get_task_data (task);
#   55|   
#   56|->   reply = g_dbus_connection_call_finish (G_DBUS_CONNECTION (source),
#   57|                                            res, &error);
#   58|     if (error && !g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED))

Error: CPPCHECK_WARNING: [#def52]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/gnome-xkb-info.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def53]
gnome-desktop3-44.0-build/gnome-desktop-44.0/libgnome-desktop/test-desktop-thumbnail.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def54]
gnome-desktop3-44.0-build/gnome-desktop-44.0/redhat-linux-build/libgnome-desktop/meta-dbus-idle-monitor.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def55]
gnome-desktop3-44.0-build/gnome-desktop-44.0/redhat-linux-build/libgnome-desktop/meta-dbus-xrandr.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def56]
gnome-desktop3-44.0-build/gnome-desktop-44.0/redhat-linux-build/libgnome-desktop/sd-locale1.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def57]
gnome-desktop3-44.0-build/gnome-desktop-44.0/redhat-linux-build/tmp-introspect7kqn9smi/GnomeBG-4.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def58]
gnome-desktop3-44.0-build/gnome-desktop-44.0/redhat-linux-build/tmp-introspect7kqn9smi/GnomeBG-4.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: [#def59]
gnome-desktop3-44.0-build/gnome-desktop-44.0/redhat-linux-build/tmp-introspectcme0o38n/GnomeRR-4.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def60]
gnome-desktop3-44.0-build/gnome-desktop-44.0/redhat-linux-build/tmp-introspectcme0o38n/GnomeRR-4.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: [#def61]
gnome-desktop3-44.0-build/gnome-desktop-44.0/redhat-linux-build/tmp-introspecthlm31_sr/GnomeDesktop-4.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def62]
gnome-desktop3-44.0-build/gnome-desktop-44.0/redhat-linux-build/tmp-introspecthlm31_sr/GnomeDesktop-4.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: [#def63]
gnome-desktop3-44.0-build/gnome-desktop-44.0/redhat-linux-build/tmp-introspectyt_dts32/GnomeDesktop-3.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def64]
gnome-desktop3-44.0-build/gnome-desktop-44.0/redhat-linux-build/tmp-introspectyt_dts32/GnomeDesktop-3.0.c:799:27: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')

Error: COMPILER_WARNING (CWE-252): [#def65]
gnome-desktop3-44.0-build/gnome-desktop-44.0/tests/bg-slide-show.c: scope_hint: In function ‘main’
gnome-desktop3-44.0-build/gnome-desktop-44.0/tests/bg-slide-show.c:95:9: warning[-Wunused-result]: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’
#   95 |         chdir (basedir);
#      |         ^~~~~~~~~~~~~~~
#   93|   	 * slide show easily.
#   94|   	 */
#   95|-> 	chdir (basedir);
#   96|   
#   97|   	g_test_add_func ("/bg-slide-show/starttime-no-dst", test_starttime_no_dst);

Error: CPPCHECK_WARNING: [#def66]
gnome-desktop3-44.0-build/gnome-desktop-44.0/tests/wall-clock.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def67]
gnome-desktop3-44.0-build/gnome-desktop-44.0/tests/wallclock-reftest.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-682): [#def68]
gnome-desktop3-44.0-build/gnome-desktop-44.0/tests/wallclock-reftest.c:347: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
#  345|         const guint32 *row_a = (const guint32 *) (buf_a + y * stride_a);
#  346|         const guint32 *row_b = (const guint32 *) (buf_b + y * stride_b);
#  347|->       guint32 *row = (guint32 *) (buf_diff + y * stride_diff);
#  348|   
#  349|         for (x = 0; x < width; x++)

Error: COMPILER_WARNING (CWE-252): [#def69]
gnome-desktop3-44.0-build/gnome-desktop-44.0/tests/wallclock-reftest.c: scope_hint: In function ‘main’
gnome-desktop3-44.0-build/gnome-desktop-44.0/tests/wallclock-reftest.c:610:3: warning[-Wunused-result]: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’
#  610 |   chdir (basedir);
#      |   ^~~~~~~~~~~~~~~
#  608|      * "file" property of GtkImage as a relative path in builder files.
#  609|      */
#  610|->   chdir (basedir);
#  611|   
#  612|     return g_test_run ();

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-203.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namegnome-desktop3-44.0-15.fc41
store-results-to/tmp/tmp7k7gpshh/gnome-desktop3-44.0-15.fc41.tar.xz
time-created2024-07-03 12:54:34
time-finished2024-07-03 12:56:34
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp7k7gpshh/gnome-desktop3-44.0-15.fc41.tar.xz' '--gcc-analyze' '/tmp/tmp7k7gpshh/gnome-desktop3-44.0-15.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9