pango-1.54.0-1.fc41

List of Defects

Error: CLANG_WARNING: [#def1]
pango-1.54.0-build/pango-1.54.0/examples/cairotwisted.c:334:13: warning[core.UndefinedBinaryOperatorResult]: The right operand of '>' is a garbage value
#  332|   
#  333|     for (i=0; i + path->data[i].header.length < path->num_data &&
#  334|-> 	    (the_x > parametrization[i] ||
#  335|   	     path->data[i].header.type == CAIRO_PATH_MOVE_TO);
#  336|          i += path->data[i].header.length) {

Error: CLANG_WARNING: [#def2]
pango-1.54.0-build/pango-1.54.0/examples/cairotwisted.c:368:16: warning[core.UndefinedBinaryOperatorResult]: The right operand of '/' is a garbage value
#  366|     case CAIRO_PATH_LINE_TO:
#  367|         {
#  368|-> 	ratio = the_x / parametrization[i];
#  369|   	/* Line polynomial */
#  370|   	*x = current_point.point.x * (1 - ratio) + data[1].point.x * ratio;

Error: CLANG_WARNING: [#def3]
pango-1.54.0-build/pango-1.54.0/examples/cairotwisted.c:397:16: warning[core.UndefinedBinaryOperatorResult]: The right operand of '/' is a garbage value
#  395|   	double _1__4ratio_1_0_3ratio_2_0, _2ratio_1_0_3ratio_2_0;
#  396|   
#  397|-> 	ratio = the_x / parametrization[i];
#  398|   
#  399|   	ratio_1_0 = ratio;

Error: CPPCHECK_WARNING (CWE-457): [#def4]
pango-1.54.0-build/pango-1.54.0/pango/break-thai.c:52: warning[uninitvar]: Uninitialized variable: tis_text
#   50|   
#   51|     *tis_cnt = tis_p - tis_text;
#   52|->   return tis_text;
#   53|   }
#   54|   

Error: CPPCHECK_WARNING: [#def5]
pango-1.54.0-build/pango-1.54.0/pango/break.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def6]
pango-1.54.0-build/pango-1.54.0/pango/ellipsize.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def7]
pango-1.54.0-build/pango-1.54.0/pango/ellipsize.c:513:13: warning[core.UndefinedBinaryOperatorResult]: The right operand of '+' is a garbage value
#  511|     for (i = 0; i < state->n_runs; i++)
#  512|       {
#  513|->       if (x + state->run_info[i].width > state->gap_center)
#  514|   	break;
#  515|   

Error: CPPCHECK_WARNING: [#def8]
pango-1.54.0-build/pango-1.54.0/pango/fonts.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-688): [#def9]
pango-1.54.0-build/pango-1.54.0/pango/fonts.c: scope_hint: In function ‘pango_font_family_real_get_face’
pango-1.54.0-build/pango-1.54.0/pango/fonts.c:2627:15: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
pango-1.54.0-build/pango-1.54.0/pango/fonts.c:25: included_from: Included from here.
/usr/include/string.h:156:12: note: argument 2 of ‘strcmp’ must be non-null
# 2625|         for (i = 0; i < n_faces; i++)
# 2626|           {
# 2627|->           if (strcmp (name, pango_font_face_get_face_name (faces[i])) == 0)
# 2628|               {
# 2629|                 face = faces[i];

Error: CPPCHECK_WARNING: [#def10]
pango-1.54.0-build/pango-1.54.0/pango/itemize.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def11]
pango-1.54.0-build/pango-1.54.0/pango/json/gtkjsonparser.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def12]
pango-1.54.0-build/pango-1.54.0/pango/json/gtkjsonparser.c:377:5: warning[deadcode.DeadStores]: Value stored to 'start_location' is never read
#  375|   
#  376|     if (self->block->member_name)
#  377|->     start_location = self->block->member_name;
#  378|     if (self->block->value)
#  379|       start_location = self->block->value;

Error: CPPCHECK_WARNING: [#def13]
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def14]
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.c: scope_hint: In function ‘pango_attr_list_change’
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.c:2125:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/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/gobject/gbinding.h:30: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
pango-1.54.0-build/pango-1.54.0/pango/pango-coverage.h:25: included_from: Included from here.
pango-1.54.0-build/pango-1.54.0/pango/pango-font.h:25: included_from: Included from here.
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.h:25: included_from: Included from here.
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.c:25: 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:651:9: note: in expansion of macro ‘G_LIKELY’
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.c:2319:3: note: in expansion of macro ‘g_return_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:651:9: note: in expansion of macro ‘G_LIKELY’
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.c:2320:3: note: in expansion of macro ‘g_return_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:651:9: note: in expansion of macro ‘G_LIKELY’
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.c:2320:3: note: in expansion of macro ‘g_return_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:651:9: note: in expansion of macro ‘G_LIKELY’
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.c:2321:3: note: in expansion of macro ‘g_return_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:651:9: note: in expansion of macro ‘G_LIKELY’
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.c:2321:3: note: in expansion of macro ‘g_return_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:651:9: note: in expansion of macro ‘G_LIKELY’
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.c:2322:3: note: in expansion of macro ‘g_return_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:651:9: note: in expansion of macro ‘G_LIKELY’
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.c:2322:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib.h:33: included_from: Included from here.
/usr/include/glib-2.0/glib/garray.h:149:46: note: in definition of macro ‘g_ptr_array_index’
/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’
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.c:143: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:651:9: note: in expansion of macro ‘G_LIKELY’
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.c:2062:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/garray.h:149:46: note: in definition of macro ‘g_ptr_array_index’
/usr/include/glib-2.0/glib/garray.h:149:46: note: in definition of macro ‘g_ptr_array_index’
# 2123|                 PangoAttribute *end_attr = pango_attribute_copy (tmp_attr);
# 2124|   
# 2125|->               end_attr->start_index = end_index;
# 2126|                 pango_attr_list_insert (list, end_attr);
# 2127|               }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def15]
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.c: scope_hint: In function ‘pango_attr_list_splice’
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.c:2364:51: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/include/glib-2.0/glib/gmacros.h:936:23: note: in definition of macro ‘MIN’
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.c:2364:36: note: in expansion of macro ‘CLAMP_ADD’
/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:651:9: note: in expansion of macro ‘G_LIKELY’
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.c:2319:3: note: in expansion of macro ‘g_return_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:651:9: note: in expansion of macro ‘G_LIKELY’
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.c:2320:3: note: in expansion of macro ‘g_return_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:651:9: note: in expansion of macro ‘G_LIKELY’
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.c:2320:3: note: in expansion of macro ‘g_return_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:651:9: note: in expansion of macro ‘G_LIKELY’
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.c:2321:3: note: in expansion of macro ‘g_return_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:651:9: note: in expansion of macro ‘G_LIKELY’
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.c:2321:3: note: in expansion of macro ‘g_return_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:651:9: note: in expansion of macro ‘G_LIKELY’
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.c:2322:3: note: in expansion of macro ‘g_return_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:651:9: note: in expansion of macro ‘G_LIKELY’
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.c:2322:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/garray.h:149:46: note: in definition of macro ‘g_ptr_array_index’
/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’
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.c:143:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:936:23: note: in definition of macro ‘MIN’
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.c:2364:36: note: in expansion of macro ‘CLAMP_ADD’
/usr/include/glib-2.0/glib/gmacros.h:936:23: note: in definition of macro ‘MIN’
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.c:2364:36: note: in expansion of macro ‘CLAMP_ADD’
# 2362|         if (ulen > 0)
# 2363|           {
# 2364|->           attr->start_index = MIN (CLAMP_ADD (attr->start_index, upos), end);
# 2365|             attr->end_index = MIN (CLAMP_ADD (attr->end_index, upos), end);
# 2366|           }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def16]
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.c:2369:46: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.c:2330:27: note: in definition of macro ‘CLAMP_ADD’
/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:651:9: note: in expansion of macro ‘G_LIKELY’
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.c:2319:3: note: in expansion of macro ‘g_return_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:651:9: note: in expansion of macro ‘G_LIKELY’
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.c:2320:3: note: in expansion of macro ‘g_return_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:651:9: note: in expansion of macro ‘G_LIKELY’
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.c:2320:3: note: in expansion of macro ‘g_return_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:651:9: note: in expansion of macro ‘G_LIKELY’
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.c:2321:3: note: in expansion of macro ‘g_return_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:651:9: note: in expansion of macro ‘G_LIKELY’
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.c:2321:3: note: in expansion of macro ‘g_return_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:651:9: note: in expansion of macro ‘G_LIKELY’
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.c:2322:3: note: in expansion of macro ‘g_return_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:651:9: note: in expansion of macro ‘G_LIKELY’
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.c:2322:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/garray.h:149:46: note: in definition of macro ‘g_ptr_array_index’
/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’
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.c:143:3: note: in expansion of macro ‘g_return_val_if_fail’
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.c:2330:27: note: in definition of macro ‘CLAMP_ADD’
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.c:2330:27: note: in definition of macro ‘CLAMP_ADD’
# 2367|         else
# 2368|           {
# 2369|->           attr->start_index = CLAMP_ADD (attr->start_index, upos);
# 2370|             attr->end_index = CLAMP_ADD (attr->end_index, upos);
# 2371|           }

Error: GCC_ANALYZER_WARNING (CWE-465): [#def17]
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.c: scope_hint: In function ‘attr_print’
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.c:2646:11: warning[-Wanalyzer-deref-before-check]: check of ‘attr’ for NULL after already dereferencing it
# 2644|              attr->klass->type == PANGO_ATTR_FALLBACK)
# 2645|       g_string_append (str, ((PangoAttrInt *)attr)->value ? " true" : " false");
# 2646|->   else if ((string = pango_attribute_as_string (attr)) != NULL)
# 2647|       {
# 2648|         char *s = g_strescape (string->value, NULL);

Error: GCC_ANALYZER_WARNING (CWE-465): [#def18]
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.c:2652:11: warning[-Wanalyzer-deref-before-check]: check of ‘attr’ for NULL after already dereferencing it
# 2650|         g_free (s);
# 2651|       }
# 2652|->   else if ((lang = pango_attribute_as_language (attr)) != NULL)
# 2653|       g_string_append_printf (str, " %s", pango_language_to_string (lang->value));
# 2654|     else if ((integer = pango_attribute_as_int (attr)) != NULL)

Error: GCC_ANALYZER_WARNING (CWE-465): [#def19]
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.c:2654:11: warning[-Wanalyzer-deref-before-check]: check of ‘attr’ for NULL after already dereferencing it
# 2652|     else if ((lang = pango_attribute_as_language (attr)) != NULL)
# 2653|       g_string_append_printf (str, " %s", pango_language_to_string (lang->value));
# 2654|->   else if ((integer = pango_attribute_as_int (attr)) != NULL)
# 2655|       g_string_append_printf (str, " %d", integer->value);
# 2656|     else if ((flt = pango_attribute_as_float (attr)) != NULL)

Error: GCC_ANALYZER_WARNING (CWE-465): [#def20]
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.c:2656:11: warning[-Wanalyzer-deref-before-check]: check of ‘attr’ for NULL after already dereferencing it
# 2654|     else if ((integer = pango_attribute_as_int (attr)) != NULL)
# 2655|       g_string_append_printf (str, " %d", integer->value);
# 2656|->   else if ((flt = pango_attribute_as_float (attr)) != NULL)
# 2657|       {
# 2658|         char buf[20];

Error: GCC_ANALYZER_WARNING (CWE-465): [#def21]
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.c:2662:11: warning[-Wanalyzer-deref-before-check]: check of ‘attr’ for NULL after already dereferencing it
# 2660|         g_string_append_printf (str, " %s", buf);
# 2661|       }
# 2662|->   else if ((font = pango_attribute_as_font_desc (attr)) != NULL)
# 2663|       {
# 2664|         char *s = pango_font_description_to_string (font->desc);

Error: GCC_ANALYZER_WARNING (CWE-465): [#def22]
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.c:2670:11: warning[-Wanalyzer-deref-before-check]: check of ‘attr’ for NULL after already dereferencing it
# 2668|         g_free (s);
# 2669|       }
# 2670|->   else if ((color = pango_attribute_as_color (attr)) != NULL)
# 2671|       {
# 2672|         char *s = pango_color_to_string (&color->color);

Error: GCC_ANALYZER_WARNING (CWE-465): [#def23]
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.c:2676:11: warning[-Wanalyzer-deref-before-check]: check of ‘attr’ for NULL after already dereferencing it
# 2674|         g_free (s);
# 2675|       }
# 2676|->   else if ((shape = pango_attribute_as_shape (attr)) != NULL)
# 2677|       g_string_append (str, "shape"); /* FIXME */
# 2678|     else if ((size = pango_attribute_as_size (attr)) != NULL)

Error: CLANG_WARNING: [#def24]
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.c:2676:13: warning[deadcode.DeadStores]: Although the value stored to 'shape' is used in the enclosing expression, the value is never actually read from 'shape'
# 2674|         g_free (s);
# 2675|       }
# 2676|->   else if ((shape = pango_attribute_as_shape (attr)) != NULL)
# 2677|       g_string_append (str, "shape"); /* FIXME */
# 2678|     else if ((size = pango_attribute_as_size (attr)) != NULL)

Error: GCC_ANALYZER_WARNING (CWE-465): [#def25]
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.c:2678:11: warning[-Wanalyzer-deref-before-check]: check of ‘attr’ for NULL after already dereferencing it
# 2676|     else if ((shape = pango_attribute_as_shape (attr)) != NULL)
# 2677|       g_string_append (str, "shape"); /* FIXME */
# 2678|->   else if ((size = pango_attribute_as_size (attr)) != NULL)
# 2679|       g_string_append_printf (str, " %d", size->size);
# 2680|     else if ((features = pango_attribute_as_font_features (attr)) != NULL)

Error: GCC_ANALYZER_WARNING (CWE-465): [#def26]
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.c:2680:11: warning[-Wanalyzer-deref-before-check]: check of ‘attr’ for NULL after already dereferencing it
# 2678|     else if ((size = pango_attribute_as_size (attr)) != NULL)
# 2679|       g_string_append_printf (str, " %d", size->size);
# 2680|->   else if ((features = pango_attribute_as_font_features (attr)) != NULL)
# 2681|       g_string_append_printf (str, " \"%s\"", features->features);
# 2682|     else

Error: CLANG_WARNING: [#def27]
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.c:3095:11: warning[deadcode.DeadStores]: Value stored to 'integer' is never read
# 3093|   
# 3094|           case PANGO_ATTR_WORD:
# 3095|->           integer = g_ascii_strtoll (p, &endp, 10);
# 3096|             if (!is_valid_end_char (*endp)) goto fail;
# 3097|             attr = pango_attr_word_new ();

Error: CLANG_WARNING: [#def28]
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.c:3101:11: warning[deadcode.DeadStores]: Value stored to 'integer' is never read
# 3099|   
# 3100|           case PANGO_ATTR_SENTENCE:
# 3101|->           integer = g_ascii_strtoll (p, &endp, 10);
# 3102|             if (!is_valid_end_char (*endp)) goto fail;
# 3103|             attr = pango_attr_sentence_new ();

Error: CPPCHECK_WARNING: [#def29]
pango-1.54.0-build/pango-1.54.0/pango/pango-bidi-type.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def30]
pango-1.54.0-build/pango-1.54.0/pango/pango-emoji.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def31]
pango-1.54.0-build/pango-1.54.0/pango/pango-glyph-item.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def32]
pango-1.54.0-build/pango-1.54.0/pango/pango-item.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def33]
pango-1.54.0-build/pango-1.54.0/pango/pango-language.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def34]
pango-1.54.0-build/pango-1.54.0/pango/pango-markup.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def35]
pango-1.54.0-build/pango-1.54.0/pango/pango-renderer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def36]
pango-1.54.0-build/pango-1.54.0/pango/pango-renderer.c:365:25: warning[core.NullDereference]: Access to field 'x' results in a dereference of a null pointer (loaded from variable 'ink_rect')
#  363|     int underline_position = pango_font_metrics_get_underline_position (metrics);
#  364|   
#  365|->   new_rect.x = base_x + MIN (ink_rect->x, logical_rect->x);
#  366|     new_rect.width = MAX (ink_rect->width, logical_rect->width);
#  367|     new_rect.height = underline_thickness;

Error: CLANG_WARNING: [#def37]
pango-1.54.0-build/pango-1.54.0/pango/pango-renderer.c:428:25: warning[core.NullDereference]: Access to field 'x' results in a dereference of a null pointer (loaded from variable 'ink_rect')
#  426|     int ascent = pango_font_metrics_get_ascent (metrics);
#  427|   
#  428|->   new_rect.x = base_x + ink_rect->x;
#  429|     new_rect.width = ink_rect->width;
#  430|     new_rect.height = underline_thickness;

Error: CLANG_WARNING: [#def38]
pango-1.54.0-build/pango-1.54.0/pango/pango-renderer.c:483:25: warning[core.NullDereference]: Access to field 'x' results in a dereference of a null pointer (loaded from variable 'ink_rect')
#  481|     int strikethrough_position = pango_font_metrics_get_strikethrough_position (metrics);
#  482|   
#  483|->   new_rect.x = base_x + ink_rect->x;
#  484|     new_rect.width = ink_rect->width;
#  485|     new_rect.y = (base_y - strikethrough_position) * num_glyphs;

Error: CLANG_WARNING: [#def39]
pango-1.54.0-build/pango-1.54.0/pango/pango-renderer.c:659:49: warning[core.UndefinedBinaryOperatorResult]: The left operand of '|' is a garbage value
#  657|         if (run->item->analysis.flags & PANGO_ANALYSIS_FLAG_CENTERED_BASELINE)
#  658|           {
#  659|->           gboolean is_hinted = ((logical_rect.y | logical_rect.height) & (PANGO_SCALE - 1)) == 0;
#  660|             int adjustment = logical_rect.y + logical_rect.height / 2;
#  661|   

Error: CPPCHECK_WARNING: [#def40]
pango-1.54.0-build/pango-1.54.0/pango/pango-script.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def41]
pango-1.54.0-build/pango-1.54.0/pango/pango-tabs.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def42]
pango-1.54.0-build/pango-1.54.0/pango/pango-tabs.c: scope_hint: In function ‘pango_tab_array_copy’
pango-1.54.0-build/pango-1.54.0/pango/pango-tabs.c:191:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/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.
pango-1.54.0-build/pango-1.54.0/pango/pango-types.h:25: included_from: Included from here.
pango-1.54.0-build/pango-1.54.0/pango/pango-tabs.h:25: included_from: Included from here.
pango-1.54.0-build/pango-1.54.0/pango/pango-tabs.c:23: 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’
pango-1.54.0-build/pango-1.54.0/pango/pango-tabs.c:187: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’
pango-1.54.0-build/pango-1.54.0/pango/pango-tabs.c:85:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/glib.h:64: included_from: Included from here.
pango-1.54.0-build/pango-1.54.0/pango/pango-tabs.c:85:3: note: in expansion of macro ‘g_return_val_if_fail’
#  189|     copy = pango_tab_array_new (src->size, src->positions_in_pixels);
#  190|   
#  191|->   if (copy->tabs)
#  192|       memcpy (copy->tabs, src->tabs, sizeof(PangoTab) * src->size);
#  193|   

Error: CPPCHECK_WARNING: [#def43]
pango-1.54.0-build/pango-1.54.0/pango/pango-utils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def44]
pango-1.54.0-build/pango-1.54.0/pango/pangocairo-font.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-476): [#def45]
pango-1.54.0-build/pango-1.54.0/pango/pangocairo-font.c:68: error[ctunullpointer]: Null pointer dereference: cf_priv
#   66|     cairo_font_face_t *font_face;
#   67|   
#   68|->   if (G_LIKELY (cf_priv->scaled_font))
#   69|       return cf_priv->scaled_font;
#   70|   

Error: CPPCHECK_WARNING (CWE-476): [#def46]
pango-1.54.0-build/pango-1.54.0/pango/pangocairo-font.c:68: warning[nullPointer]: Possible null pointer dereference: cf_priv
#   66|     cairo_font_face_t *font_face;
#   67|   
#   68|->   if (G_LIKELY (cf_priv->scaled_font))
#   69|       return cf_priv->scaled_font;
#   70|   

Error: CPPCHECK_WARNING (CWE-476): [#def47]
pango-1.54.0-build/pango-1.54.0/pango/pangocairo-font.c:231: warning[nullPointer]: Possible null pointer dereference: cf_priv
#  229|     const char *sample_str = pango_language_get_sample_string (language);
#  230|   
#  231|->   tmp_list = cf_priv->metrics_by_lang;
#  232|     while (tmp_list)
#  233|       {

Error: CPPCHECK_WARNING: [#def48]
pango-1.54.0-build/pango-1.54.0/pango/pangocairo-render.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def49]
pango-1.54.0-build/pango-1.54.0/pango/pangofc-font.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def50]
pango-1.54.0-build/pango-1.54.0/pango/pangofc-fontmap.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def51]
pango-1.54.0-build/pango-1.54.0/pango/pangofc-fontmap.c: scope_hint: In function ‘font_set_copy’
pango-1.54.0-build/pango-1.54.0/pango/pangofc-fontmap.c:805:29: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘copy’
/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.
pango-1.54.0-build/pango-1.54.0/pango/pangofc-fontmap.c:38: included_from: Included from here.
pango-1.54.0-build/pango-1.54.0/pango/pangofc-fontmap.c:431:21: note: in expansion of macro ‘g_strdup’
pango-1.54.0-build/pango-1.54.0/pango/pangofc-fontmap.c: scope_hint: In function ‘font_set_copy’
/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:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1245:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
pango-1.54.0-build/pango-1.54.0/pango/pangofc-fontmap.c:2438:7: note: in expansion of macro ‘G_UNLIKELY’
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:571:66: note: in expansion of macro ‘_G_TYPE_IGC’
pango-1.54.0-build/pango-1.54.0/pango/pangofc-fontmap-private.h:81:46: note: in expansion of macro ‘G_TYPE_INSTANCE_GET_CLASS’
pango-1.54.0-build/pango-1.54.0/pango/pangofc-fontmap.c:2261:5: note: in expansion of macro ‘PANGO_FC_FONT_MAP_GET_CLASS’
/usr/include/glib-2.0/glib.h:75: included_from: Included from here.
pango-1.54.0-build/pango-1.54.0/pango/pangofc-fontmap.c:1000:10: note: in expansion of macro ‘g_atomic_rc_box_new0’
/usr/include/glib-2.0/gobject/gobject.h:533:64: note: in definition of macro ‘g_object_ref’
#  803|   
#  804|     copy = malloc (sizeof (FcFontSet));
#  805|->   copy->sfont = copy->nfont = fontset->nfont;
#  806|     copy->fonts = malloc (sizeof (FcPattern *) * copy->nfont);
#  807|     memcpy (copy->fonts, fontset->fonts, sizeof (FcPattern *) * copy->nfont);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def52]
pango-1.54.0-build/pango-1.54.0/pango/pangofc-fontmap.c:807:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc((long unsigned int)*fontset.nfont * 8)’ where non-null expected
pango-1.54.0-build/pango-1.54.0/pango/pangofc-fontmap.c:431:21: note: in expansion of macro ‘g_strdup’
pango-1.54.0-build/pango-1.54.0/pango/pangofc-fontmap.c: scope_hint: In function ‘font_set_copy’
/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:1245:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
pango-1.54.0-build/pango-1.54.0/pango/pangofc-fontmap.c:2438:7: note: in expansion of macro ‘G_UNLIKELY’
/usr/include/glib-2.0/gobject/gtype.h:571:66: note: in expansion of macro ‘_G_TYPE_IGC’
pango-1.54.0-build/pango-1.54.0/pango/pangofc-fontmap-private.h:81:46: note: in expansion of macro ‘G_TYPE_INSTANCE_GET_CLASS’
pango-1.54.0-build/pango-1.54.0/pango/pangofc-fontmap.c:2261:5: note: in expansion of macro ‘PANGO_FC_FONT_MAP_GET_CLASS’
pango-1.54.0-build/pango-1.54.0/pango/pangofc-fontmap.c:1000:10: note: in expansion of macro ‘g_atomic_rc_box_new0’
/usr/include/glib-2.0/gobject/gobject.h:533:64: note: in definition of macro ‘g_object_ref’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  805|     copy->sfont = copy->nfont = fontset->nfont;
#  806|     copy->fonts = malloc (sizeof (FcPattern *) * copy->nfont);
#  807|->   memcpy (copy->fonts, fontset->fonts, sizeof (FcPattern *) * copy->nfont);
#  808|     for (i = 0; i < copy->nfont; i++)
#  809|       FcPatternReference (copy->fonts[i]);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def53]
pango-1.54.0-build/pango-1.54.0/pango/pangofc-fontmap.c: scope_hint: In function ‘pango_fc_font_map_get_hb_face’
pango-1.54.0-build/pango-1.54.0/pango/pangofc-fontmap.c:3685:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 3683|     data = pango_fc_font_map_get_font_face_data (fcfontmap, fcfont->font_pattern);
# 3684|   
# 3685|->   if (!data->hb_face)
# 3686|       {
# 3687|         hb_blob_t *blob;

Error: CPPCHECK_WARNING: [#def54]
pango-1.54.0-build/pango-1.54.0/pango/pangoft2-render.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def55]
pango-1.54.0-build/pango-1.54.0/pango/pangoft2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def56]
pango-1.54.0-build/pango-1.54.0/pango/pangoxft-render.c: scope_hint: In function ‘_pango_xft_renderer_draw_unknown_glyph’
pango-1.54.0-build/pango-1.54.0/pango/pangoxft-render.c:417:117: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘xfont’
#  415|   
#  416|   
#  417|->   ys[0] = glyph_y - PANGO_SCALE * xft_font->ascent + PANGO_SCALE * (((xft_font->ascent + xft_font->descent) - (xfont->mini_height * 2 + xfont->mini_pad * 5 + PANGO_SCALE / 2) / PANGO_SCALE) / 2);
#  418|     ys[1] = ys[0] + 2 * xfont->mini_pad + xfont->mini_height;
#  419|     ys[2] = ys[1] + xfont->mini_height + xfont->mini_pad;

Error: CPPCHECK_WARNING: [#def57]
pango-1.54.0-build/pango-1.54.0/pango/reorder-items.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def58]
pango-1.54.0-build/pango-1.54.0/pango/serializer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-457): [#def59]
pango-1.54.0-build/pango-1.54.0/pango/serializer.c: scope_hint: In function ‘json_parser_fill_tabs’
pango-1.54.0-build/pango-1.54.0/pango/serializer.c:1224:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pos’
/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/gobject/gbinding.h:30: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
pango-1.54.0-build/pango-1.54.0/pango/pango-coverage.h:25: included_from: Included from here.
pango-1.54.0-build/pango-1.54.0/pango/pango-font.h:25: included_from: Included from here.
pango-1.54.0-build/pango-1.54.0/pango/pango-attributes.h:25: included_from: Included from here.
pango-1.54.0-build/pango-1.54.0/pango/pango-layout.h:25: included_from: Included from here.
pango-1.54.0-build/pango-1.54.0/pango/serializer.c:24: 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’
pango-1.54.0-build/pango-1.54.0/pango/serializer.c:1692:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
pango-1.54.0-build/pango-1.54.0/pango/pango-context.h:38:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
pango-1.54.0-build/pango-1.54.0/pango/serializer.c:1692:25: note: in expansion of macro ‘PANGO_IS_CONTEXT’
/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’
pango-1.54.0-build/pango-1.54.0/pango/serializer.c:1692:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
pango-1.54.0-build/pango-1.54.0/pango/pango-context.h:38:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
pango-1.54.0-build/pango-1.54.0/pango/serializer.c:1692:25: note: in expansion of macro ‘PANGO_IS_CONTEXT’
# 1222|           pos = (int) gtk_json_parser_get_number (parser);
# 1223|   
# 1224|->       pango_tab_array_set_tab (tabs, index, align, pos);
# 1225|         pango_tab_array_set_decimal_point (tabs, index, ch);
# 1226|         index++;

Error: CLANG_WARNING: [#def60]
pango-1.54.0-build/pango-1.54.0/pango/serializer.c:1224:7: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
# 1222|           pos = (int) gtk_json_parser_get_number (parser);
# 1223|   
# 1224|->       pango_tab_array_set_tab (tabs, index, align, pos);
# 1225|         pango_tab_array_set_decimal_point (tabs, index, ch);
# 1226|         index++;

Error: CPPCHECK_WARNING: [#def61]
pango-1.54.0-build/pango-1.54.0/pango/shape.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-457): [#def62]
pango-1.54.0-build/pango-1.54.0/pango/shape.c: scope_hint: In function ‘pango_hb_shape’
pango-1.54.0-build/pango-1.54.0/pango/shape.c:505:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘hyphen_index’
/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.
pango-1.54.0-build/pango-1.54.0/pango/shape.c:26: 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:651:9: note: in expansion of macro ‘G_LIKELY’
pango-1.54.0-build/pango-1.54.0/pango/shape.c:642:3: note: in expansion of macro ‘g_return_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:651:9: note: in expansion of macro ‘G_LIKELY’
pango-1.54.0-build/pango-1.54.0/pango/shape.c:642:3: note: in expansion of macro ‘g_return_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:651:9: note: in expansion of macro ‘G_LIKELY’
pango-1.54.0-build/pango-1.54.0/pango/shape.c:643:3: note: in expansion of macro ‘g_return_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:651:9: note: in expansion of macro ‘G_LIKELY’
pango-1.54.0-build/pango-1.54.0/pango/shape.c:643:3: note: in expansion of macro ‘g_return_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:651:9: note: in expansion of macro ‘G_LIKELY’
pango-1.54.0-build/pango-1.54.0/pango/shape.c:394:3: note: in expansion of macro ‘g_return_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:651:9: note: in expansion of macro ‘G_LIKELY’
pango-1.54.0-build/pango-1.54.0/pango/shape.c:395:3: note: in expansion of macro ‘g_return_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:651:9: note: in expansion of macro ‘G_LIKELY’
pango-1.54.0-build/pango-1.54.0/pango/shape.c:395:3: note: in expansion of macro ‘g_return_if_fail’
#  503|         /* Note: We rely on hb_buffer_add clearing existing post-context */
#  504|         if (hb_font_get_nominal_glyph (hb_font, 0x2010, &glyph))
#  505|->         hb_buffer_add (hb_buffer, 0x2010, hyphen_index);
#  506|         else if (hb_font_get_nominal_glyph (hb_font, '-', &glyph))
#  507|           hb_buffer_add (hb_buffer, '-', hyphen_index);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def63]
pango-1.54.0-build/pango-1.54.0/pango/shape.c:507:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘hyphen_index’
/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:651:9: note: in expansion of macro ‘G_LIKELY’
pango-1.54.0-build/pango-1.54.0/pango/shape.c:642:3: note: in expansion of macro ‘g_return_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:651:9: note: in expansion of macro ‘G_LIKELY’
pango-1.54.0-build/pango-1.54.0/pango/shape.c:642:3: note: in expansion of macro ‘g_return_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:651:9: note: in expansion of macro ‘G_LIKELY’
pango-1.54.0-build/pango-1.54.0/pango/shape.c:643:3: note: in expansion of macro ‘g_return_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:651:9: note: in expansion of macro ‘G_LIKELY’
pango-1.54.0-build/pango-1.54.0/pango/shape.c:643:3: note: in expansion of macro ‘g_return_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:651:9: note: in expansion of macro ‘G_LIKELY’
pango-1.54.0-build/pango-1.54.0/pango/shape.c:394:3: note: in expansion of macro ‘g_return_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:651:9: note: in expansion of macro ‘G_LIKELY’
pango-1.54.0-build/pango-1.54.0/pango/shape.c:395:3: note: in expansion of macro ‘g_return_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:651:9: note: in expansion of macro ‘G_LIKELY’
pango-1.54.0-build/pango-1.54.0/pango/shape.c:395:3: note: in expansion of macro ‘g_return_if_fail’
#  505|           hb_buffer_add (hb_buffer, 0x2010, hyphen_index);
#  506|         else if (hb_font_get_nominal_glyph (hb_font, '-', &glyph))
#  507|->         hb_buffer_add (hb_buffer, '-', hyphen_index);
#  508|       }
#  509|   

Error: CPPCHECK_WARNING: [#def64]
pango-1.54.0-build/pango-1.54.0/redhat-linux-build/tmp-introspect75nzxj6f/PangoXft-1.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def65]
pango-1.54.0-build/pango-1.54.0/redhat-linux-build/tmp-introspect75nzxj6f/PangoXft-1.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: [#def66]
pango-1.54.0-build/pango-1.54.0/redhat-linux-build/tmp-introspect9rrropa1/Pango-1.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def67]
pango-1.54.0-build/pango-1.54.0/redhat-linux-build/tmp-introspect9rrropa1/Pango-1.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: [#def68]
pango-1.54.0-build/pango-1.54.0/redhat-linux-build/tmp-introspectmwiwnnn1/PangoCairo-1.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def69]
pango-1.54.0-build/pango-1.54.0/redhat-linux-build/tmp-introspectmwiwnnn1/PangoCairo-1.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: [#def70]
pango-1.54.0-build/pango-1.54.0/redhat-linux-build/tmp-introspectn38804m8/PangoFT2-1.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def71]
pango-1.54.0-build/pango-1.54.0/redhat-linux-build/tmp-introspectn38804m8/PangoFT2-1.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: [#def72]
pango-1.54.0-build/pango-1.54.0/redhat-linux-build/tmp-introspectv55f5n54/PangoFc-1.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def73]
pango-1.54.0-build/pango-1.54.0/redhat-linux-build/tmp-introspectv55f5n54/PangoFc-1.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: [#def74]
pango-1.54.0-build/pango-1.54.0/redhat-linux-build/tmp-introspectx1os2b4d/PangoOT-1.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def75]
pango-1.54.0-build/pango-1.54.0/redhat-linux-build/tmp-introspectx1os2b4d/PangoOT-1.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: [#def76]
pango-1.54.0-build/pango-1.54.0/tests/markup-parse.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-688): [#def77]
pango-1.54.0-build/pango-1.54.0/tests/markup-parse.c: scope_hint: In function ‘get_expected_filename’
pango-1.54.0-build/pango-1.54.0/tests/markup-parse.c:103:7: warning[-Wanalyzer-null-argument]: use of NULL 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.
pango-1.54.0-build/pango-1.54.0/tests/markup-parse.c:22: included_from: Included from here.
pango-1.54.0-build/pango-1.54.0/tests/markup-parse.c:102:7: note: in expansion of macro ‘g_strdup’
pango-1.54.0-build/pango-1.54.0/tests/markup-parse.c: scope_hint: In function ‘get_expected_filename’
<built-in>: note: argument 1 of ‘__builtin_strstr’ must be non-null
#  101|   
#  102|     f = g_strdup (filename);
#  103|->   p = strstr (f, ".markup");
#  104|     if (p)
#  105|       *p = 0;

Error: CPPCHECK_WARNING: [#def78]
pango-1.54.0-build/pango-1.54.0/tests/test-bidi.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def79]
pango-1.54.0-build/pango-1.54.0/tests/test-break.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def80]
pango-1.54.0-build/pango-1.54.0/tests/test-common.c:143:3: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
#  141|     unlink (tmpfile);
#  142|     g_free (tmpfile);
#  143|->   unlink (tmpfile2);
#  144|     g_free (tmpfile2);
#  145|   

Error: CLANG_WARNING: [#def81]
pango-1.54.0-build/pango-1.54.0/tests/test-common.c:146:3: warning[core.uninitialized.UndefReturn]: Undefined or garbage value returned to caller
#  144|     g_free (tmpfile2);
#  145|   
#  146|->   return diff;
#  147|   }
#  148|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def82]
pango-1.54.0-build/pango-1.54.0/tests/test-common.c: scope_hint: In function ‘diff_bytes’
pango-1.54.0-build/pango-1.54.0/tests/test-common.c:146:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘diff’
#  144|     g_free (tmpfile2);
#  145|   
#  146|->   return diff;
#  147|   }
#  148|   

Error: CPPCHECK_WARNING: [#def83]
pango-1.54.0-build/pango-1.54.0/tests/test-font.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def84]
pango-1.54.0-build/pango-1.54.0/tests/test-fonts.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def85]
pango-1.54.0-build/pango-1.54.0/tests/test-itemize.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-688): [#def86]
pango-1.54.0-build/pango-1.54.0/tests/test-itemize.c: scope_hint: In function ‘get_expected_filename’
pango-1.54.0-build/pango-1.54.0/tests/test-itemize.c:246:7: warning[-Wanalyzer-null-argument]: use of NULL 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.
pango-1.54.0-build/pango-1.54.0/tests/test-itemize.c:22: included_from: Included from here.
pango-1.54.0-build/pango-1.54.0/tests/test-itemize.c:270:22: note: in expansion of macro ‘g_strdup’
pango-1.54.0-build/pango-1.54.0/tests/test-itemize.c: scope_hint: In function ‘get_expected_filename’
pango-1.54.0-build/pango-1.54.0/tests/test-itemize.c:245:7: note: in expansion of macro ‘g_strdup’
pango-1.54.0-build/pango-1.54.0/tests/test-itemize.c: scope_hint: In function ‘get_expected_filename’
<built-in>: note: argument 1 of ‘__builtin_strstr’ must be non-null
#  244|   
#  245|     f = g_strdup (filename);
#  246|->   p = strstr (f, ".items");
#  247|     if (p)
#  248|       *p = 0;

Error: CPPCHECK_WARNING: [#def87]
pango-1.54.0-build/pango-1.54.0/tests/test-layout.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def88]
pango-1.54.0-build/pango-1.54.0/tests/test-shape.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-688): [#def89]
pango-1.54.0-build/pango-1.54.0/tests/test-shape.c: scope_hint: In function ‘get_expected_filename’
pango-1.54.0-build/pango-1.54.0/tests/test-shape.c:351:7: warning[-Wanalyzer-null-argument]: use of NULL 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.
pango-1.54.0-build/pango-1.54.0/tests/test-shape.c:22: included_from: Included from here.
pango-1.54.0-build/pango-1.54.0/tests/test-shape.c:350:7: note: in expansion of macro ‘g_strdup’
pango-1.54.0-build/pango-1.54.0/tests/test-shape.c: scope_hint: In function ‘get_expected_filename’
<built-in>: note: argument 1 of ‘__builtin_strstr’ must be non-null
#  349|   
#  350|     f = g_strdup (filename);
#  351|->   p = strstr (f, ".shape");
#  352|     if (p)
#  353|       *p = 0;

Error: CPPCHECK_WARNING: [#def90]
pango-1.54.0-build/pango-1.54.0/tests/testboundaries.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def91]
pango-1.54.0-build/pango-1.54.0/tests/testboundaries_ucd.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def92]
pango-1.54.0-build/pango-1.54.0/tests/testboundaries_ucd.c:122:25: warning[unix.Malloc]: Use of memory allocated with size zero
#  120|           }
#  121|   
#  122|->       (*attr_return)[i] = temp_attr.attr;
#  123|   
#  124|         /* skip white space */

Error: CPPCHECK_WARNING: [#def93]
pango-1.54.0-build/pango-1.54.0/tests/testcolor.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def94]
pango-1.54.0-build/pango-1.54.0/tests/testiter.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def95]
pango-1.54.0-build/pango-1.54.0/tests/testmisc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def96]
pango-1.54.0-build/pango-1.54.0/tests/testscript.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def97]
pango-1.54.0-build/pango-1.54.0/tests/testserialize.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def98]
pango-1.54.0-build/pango-1.54.0/tests/validate-log-attrs.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def99]
pango-1.54.0-build/pango-1.54.0/tools/gen-script-for-lang.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def100]
pango-1.54.0-build/pango-1.54.0/tools/gen-script-for-lang.c:125:14: warning[deadcode.DeadStores]: Value stored to 'bits' during its initialization is never read
#  123|         for (i = 0; i < FC_CHARSET_MAP_SIZE; i++)
#  124|   	{
#  125|-> 	  FcChar32  bits = map[i];
#  126|   	  FcChar32  base = ucs4 + i * 32;
#  127|   	  int b = 0;

Error: CPPCHECK_WARNING: [#def101]
pango-1.54.0-build/pango-1.54.0/utils/pango-list.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def102]
pango-1.54.0-build/pango-1.54.0/utils/pango-segmentation.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def103]
pango-1.54.0-build/pango-1.54.0/utils/viewer-cairo.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def104]
pango-1.54.0-build/pango-1.54.0/utils/viewer-pangocairo.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def105]
pango-1.54.0-build/pango-1.54.0/utils/viewer-render.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-664): [#def106]
pango-1.54.0-build/pango-1.54.0/utils/viewer-render.c:98: error[va_end_missing]: va_list 'vap' was opened but not closed by va_end().
#   96|   
#   97|     exit (1);
#   98|-> }
#   99|   
#  100|   static PangoLayout *

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-18.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namepango-1.54.0-1.fc41
store-results-to/tmp/tmptjqtd5eb/pango-1.54.0-1.fc41.tar.xz
time-created2024-07-03 16:31:39
time-finished2024-07-03 16:34:10
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmptjqtd5eb/pango-1.54.0-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmptjqtd5eb/pango-1.54.0-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9