Flawfinder version 2.0.10, (C) 2001-2019 David A. Wheeler.
Number of rules (primarily dangerous function names) in C/C++ ruleset: 223
Examining data/pango1.0-1.47.0/examples/cairoshape.c
Examining data/pango1.0-1.47.0/examples/cairosimple.c
Examining data/pango1.0-1.47.0/examples/cairotwisted.c
Examining data/pango1.0-1.47.0/examples/pangowin32tobmp.c
Examining data/pango1.0-1.47.0/pango/break-arabic.c
Examining data/pango1.0-1.47.0/pango/break-indic.c
Examining data/pango1.0-1.47.0/pango/break-thai.c
Examining data/pango1.0-1.47.0/pango/break.c
Examining data/pango1.0-1.47.0/pango/ellipsize.c
Examining data/pango1.0-1.47.0/pango/emoji_presentation_scanner.c
Examining data/pango1.0-1.47.0/pango/fonts.c
Examining data/pango1.0-1.47.0/pango/glyphstring.c
Examining data/pango1.0-1.47.0/pango/modules.c
Examining data/pango1.0-1.47.0/pango/pango-attributes-private.h
Examining data/pango1.0-1.47.0/pango/pango-attributes.c
Examining data/pango1.0-1.47.0/pango/pango-attributes.h
Examining data/pango1.0-1.47.0/pango/pango-bidi-type.c
Examining data/pango1.0-1.47.0/pango/pango-bidi-type.h
Examining data/pango1.0-1.47.0/pango/pango-break-table.h
Examining data/pango1.0-1.47.0/pango/pango-break.h
Examining data/pango1.0-1.47.0/pango/pango-color-table.h
Examining data/pango1.0-1.47.0/pango/pango-color.c
Examining data/pango1.0-1.47.0/pango/pango-context.c
Examining data/pango1.0-1.47.0/pango/pango-context.h
Examining data/pango1.0-1.47.0/pango/pango-coverage-private.h
Examining data/pango1.0-1.47.0/pango/pango-coverage.c
Examining data/pango1.0-1.47.0/pango/pango-coverage.h
Examining data/pango1.0-1.47.0/pango/pango-direction.h
Examining data/pango1.0-1.47.0/pango/pango-emoji-private.h
Examining data/pango1.0-1.47.0/pango/pango-emoji-table.h
Examining data/pango1.0-1.47.0/pango/pango-emoji.c
Examining data/pango1.0-1.47.0/pango/pango-engine.c
Examining data/pango1.0-1.47.0/pango/pango-engine.h
Examining data/pango1.0-1.47.0/pango/pango-font-private.h
Examining data/pango1.0-1.47.0/pango/pango-font.h
Examining data/pango1.0-1.47.0/pango/pango-fontmap-private.h
Examining data/pango1.0-1.47.0/pango/pango-fontmap.c
Examining data/pango1.0-1.47.0/pango/pango-fontmap.h
Examining data/pango1.0-1.47.0/pango/pango-fontset-private.h
Examining data/pango1.0-1.47.0/pango/pango-fontset.c
Examining data/pango1.0-1.47.0/pango/pango-fontset.h
Examining data/pango1.0-1.47.0/pango/pango-glyph-item.c
Examining data/pango1.0-1.47.0/pango/pango-glyph-item.h
Examining data/pango1.0-1.47.0/pango/pango-glyph.h
Examining data/pango1.0-1.47.0/pango/pango-gravity.c
Examining data/pango1.0-1.47.0/pango/pango-gravity.h
Examining data/pango1.0-1.47.0/pango/pango-impl-utils.h
Examining data/pango1.0-1.47.0/pango/pango-item.c
Examining data/pango1.0-1.47.0/pango/pango-item.h
Examining data/pango1.0-1.47.0/pango/pango-language-sample-table.h
Examining data/pango1.0-1.47.0/pango/pango-language.c
Examining data/pango1.0-1.47.0/pango/pango-language.h
Examining data/pango1.0-1.47.0/pango/pango-layout-private.h
Examining data/pango1.0-1.47.0/pango/pango-layout.c
Examining data/pango1.0-1.47.0/pango/pango-layout.h
Examining data/pango1.0-1.47.0/pango/pango-markup.c
Examining data/pango1.0-1.47.0/pango/pango-matrix.c
Examining data/pango1.0-1.47.0/pango/pango-matrix.h
Examining data/pango1.0-1.47.0/pango/pango-modules.h
Examining data/pango1.0-1.47.0/pango/pango-ot-buffer.c
Examining data/pango1.0-1.47.0/pango/pango-ot-info.c
Examining data/pango1.0-1.47.0/pango/pango-ot-private.h
Examining data/pango1.0-1.47.0/pango/pango-ot-ruleset.c
Examining data/pango1.0-1.47.0/pango/pango-ot-tag.c
Examining data/pango1.0-1.47.0/pango/pango-ot.h
Examining data/pango1.0-1.47.0/pango/pango-renderer.c
Examining data/pango1.0-1.47.0/pango/pango-renderer.h
Examining data/pango1.0-1.47.0/pango/pango-script-lang-table.h
Examining data/pango1.0-1.47.0/pango/pango-script-private.h
Examining data/pango1.0-1.47.0/pango/pango-script.c
Examining data/pango1.0-1.47.0/pango/pango-script.h
Examining data/pango1.0-1.47.0/pango/pango-tabs.c
Examining data/pango1.0-1.47.0/pango/pango-tabs.h
Examining data/pango1.0-1.47.0/pango/pango-trace-private.h
Examining data/pango1.0-1.47.0/pango/pango-trace.c
Examining data/pango1.0-1.47.0/pango/pango-types.h
Examining data/pango1.0-1.47.0/pango/pango-utils-internal.h
Examining data/pango1.0-1.47.0/pango/pango-utils-private.h
Examining data/pango1.0-1.47.0/pango/pango-utils.c
Examining data/pango1.0-1.47.0/pango/pango-utils.h
Examining data/pango1.0-1.47.0/pango/pango-version-macros.h
Examining data/pango1.0-1.47.0/pango/pango.h
Examining data/pango1.0-1.47.0/pango/pangocairo-context.c
Examining data/pango1.0-1.47.0/pango/pangocairo-coretext.h
Examining data/pango1.0-1.47.0/pango/pangocairo-coretextfont.c
Examining data/pango1.0-1.47.0/pango/pangocairo-coretextfont.h
Examining data/pango1.0-1.47.0/pango/pangocairo-coretextfontmap.c
Examining data/pango1.0-1.47.0/pango/pangocairo-fc-private.h
Examining data/pango1.0-1.47.0/pango/pangocairo-fc.h
Examining data/pango1.0-1.47.0/pango/pangocairo-fcfont.c
Examining data/pango1.0-1.47.0/pango/pangocairo-fcfontmap.c
Examining data/pango1.0-1.47.0/pango/pangocairo-font.c
Examining data/pango1.0-1.47.0/pango/pangocairo-fontmap.c
Examining data/pango1.0-1.47.0/pango/pangocairo-private.h
Examining data/pango1.0-1.47.0/pango/pangocairo-render.c
Examining data/pango1.0-1.47.0/pango/pangocairo-win32.h
Examining data/pango1.0-1.47.0/pango/pangocairo-win32font.c
Examining data/pango1.0-1.47.0/pango/pangocairo-win32fontmap.c
Examining data/pango1.0-1.47.0/pango/pangocairo.h
Examining data/pango1.0-1.47.0/pango/pangocoretext-fontmap.c
Examining data/pango1.0-1.47.0/pango/pangocoretext-private.h
Examining data/pango1.0-1.47.0/pango/pangocoretext.c
Examining data/pango1.0-1.47.0/pango/pangocoretext.h
Examining data/pango1.0-1.47.0/pango/pangofc-decoder.c
Examining data/pango1.0-1.47.0/pango/pangofc-decoder.h
Examining data/pango1.0-1.47.0/pango/pangofc-font-private.h
Examining data/pango1.0-1.47.0/pango/pangofc-font.c
Examining data/pango1.0-1.47.0/pango/pangofc-font.h
Examining data/pango1.0-1.47.0/pango/pangofc-fontmap-private.h
Examining data/pango1.0-1.47.0/pango/pangofc-fontmap.c
Examining data/pango1.0-1.47.0/pango/pangofc-fontmap.h
Examining data/pango1.0-1.47.0/pango/pangofc-private.h
Examining data/pango1.0-1.47.0/pango/pangofc-shape.c
Examining data/pango1.0-1.47.0/pango/pangoft2-fontmap.c
Examining data/pango1.0-1.47.0/pango/pangoft2-private.h
Examining data/pango1.0-1.47.0/pango/pangoft2-render.c
Examining data/pango1.0-1.47.0/pango/pangoft2.c
Examining data/pango1.0-1.47.0/pango/pangohb-private.h
Examining data/pango1.0-1.47.0/pango/pangowin32-fontcache.c
Examining data/pango1.0-1.47.0/pango/pangowin32-fontmap.c
Examining data/pango1.0-1.47.0/pango/pangowin32-private.h
Examining data/pango1.0-1.47.0/pango/pangowin32.c
Examining data/pango1.0-1.47.0/pango/pangowin32.h
Examining data/pango1.0-1.47.0/pango/pangoxft-font.c
Examining data/pango1.0-1.47.0/pango/pangoxft-fontmap.c
Examining data/pango1.0-1.47.0/pango/pangoxft-private.h
Examining data/pango1.0-1.47.0/pango/pangoxft-render.c
Examining data/pango1.0-1.47.0/pango/pangoxft-render.h
Examining data/pango1.0-1.47.0/pango/reorder-items.c
Examining data/pango1.0-1.47.0/pango/shape.c
Examining data/pango1.0-1.47.0/pango/pangoft2.h
Examining data/pango1.0-1.47.0/pango/pangoxft.h
Examining data/pango1.0-1.47.0/tests/cxx-test.cpp
Examining data/pango1.0-1.47.0/tests/dump-boundaries.c
Examining data/pango1.0-1.47.0/tests/gen-all-unicode.c
Examining data/pango1.0-1.47.0/tests/markup-parse.c
Examining data/pango1.0-1.47.0/tests/test-common.c
Examining data/pango1.0-1.47.0/tests/test-common.h
Examining data/pango1.0-1.47.0/tests/test-coverage.c
Examining data/pango1.0-1.47.0/tests/test-ellipsize.c
Examining data/pango1.0-1.47.0/tests/test-font.c
Examining data/pango1.0-1.47.0/tests/test-harfbuzz.c
Examining data/pango1.0-1.47.0/tests/test-ot-tags.c
Examining data/pango1.0-1.47.0/tests/test-pangocairo-threads.c
Examining data/pango1.0-1.47.0/tests/test-shape.c
Examining data/pango1.0-1.47.0/tests/testattributes.c
Examining data/pango1.0-1.47.0/tests/testboundaries.c
Examining data/pango1.0-1.47.0/tests/testcolor.c
Examining data/pango1.0-1.47.0/tests/testiter.c
Examining data/pango1.0-1.47.0/tests/testmisc.c
Examining data/pango1.0-1.47.0/tests/testscript.c
Examining data/pango1.0-1.47.0/tests/test-itemize.c
Examining data/pango1.0-1.47.0/tests/test-layout.c
Examining data/pango1.0-1.47.0/tests/testboundaries_ucd.c
Examining data/pango1.0-1.47.0/tests/test-break.c
Examining data/pango1.0-1.47.0/tools/gen-script-for-lang.c
Examining data/pango1.0-1.47.0/utils/pango-list.c
Examining data/pango1.0-1.47.0/utils/pango-view.c
Examining data/pango1.0-1.47.0/utils/viewer-cairo.c
Examining data/pango1.0-1.47.0/utils/viewer-cairo.h
Examining data/pango1.0-1.47.0/utils/viewer-main.c
Examining data/pango1.0-1.47.0/utils/viewer-pangocairo.c
Examining data/pango1.0-1.47.0/utils/viewer-pangoft2.c
Examining data/pango1.0-1.47.0/utils/viewer-pangoxft.c
Examining data/pango1.0-1.47.0/utils/viewer-render.c
Examining data/pango1.0-1.47.0/utils/viewer-render.h
Examining data/pango1.0-1.47.0/utils/viewer-x.c
Examining data/pango1.0-1.47.0/utils/viewer-x.h
Examining data/pango1.0-1.47.0/utils/viewer.h

FINAL RESULTS:

data/pango1.0-1.47.0/tests/testiter.c:43:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf (stderr, format, vap);
data/pango1.0-1.47.0/tools/gen-script-for-lang.c:66:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf (stderr, format, vap);
data/pango1.0-1.47.0/utils/viewer-render.c:582:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy (buf, arg);
data/pango1.0-1.47.0/pango/pango-language.c:191:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  p = getenv ("LC_ALL");
data/pango1.0-1.47.0/pango/pango-language.c:195:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  p = getenv ("LC_CTYPE");
data/pango1.0-1.47.0/pango/pango-language.c:199:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  p = getenv ("LANG");
data/pango1.0-1.47.0/pango/pango-language.c:213:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  p = getenv ("LC_ALL");
data/pango1.0-1.47.0/pango/pango-language.c:217:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  p = getenv ("LC_CTYPE");
data/pango1.0-1.47.0/pango/pango-language.c:221:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  p = getenv ("LANG");
data/pango1.0-1.47.0/pango/pango-language.c:754:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  p = getenv ("PANGO_LANGUAGE");
data/pango1.0-1.47.0/pango/pango-language.c:757:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    p = getenv ("LANGUAGE");
data/pango1.0-1.47.0/pango/pango-utils.c:237:29:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It can have any content
  and length, and the same variable can be set more than once (CWE-807,
  CWE-20). Check environment variables carefully before using them.
	  char *tmp = g_strconcat (g_get_home_dir(), file + 1, NULL);
data/pango1.0-1.47.0/pango/pango-utils.c:244:21:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It can have any content
  and length, and the same variable can be set more than once (CWE-807,
  CWE-20). Check environment variables carefully before using them.
	  file = g_strdup (g_get_home_dir());
data/pango1.0-1.47.0/pango/pangocairo-fontmap.c:76:25:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  const char *backend = getenv ("PANGOCAIRO_BACKEND");
data/pango1.0-1.47.0/pango/pangowin32.c:157:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      if (getenv ("PANGO_WIN32_DEBUG") != NULL)
data/pango1.0-1.47.0/examples/cairoshape.c:60:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char op[2];
data/pango1.0-1.47.0/examples/pangowin32tobmp.c:115:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	  if (0 != atoi (argv[i]))
data/pango1.0-1.47.0/examples/pangowin32tobmp.c:116:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	    my_font_size = atoi (argv[i]);
data/pango1.0-1.47.0/pango/fonts.c:979:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char str[16];
data/pango1.0-1.47.0/pango/fonts.c:1444:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[G_ASCII_DTOSTR_BUF_SIZE];
data/pango1.0-1.47.0/pango/pango-glyph-item.c:111:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (new->glyphs->glyphs, orig->glyphs->glyphs, num_glyphs * sizeof (PangoGlyphInfo));
data/pango1.0-1.47.0/pango/pango-glyph-item.c:112:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (new->glyphs->log_clusters, orig->glyphs->log_clusters, num_glyphs * sizeof (int));
data/pango1.0-1.47.0/pango/pango-glyph-item.c:121:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (new->glyphs->glyphs, orig->glyphs->glyphs + num_remaining, num_glyphs * sizeof (PangoGlyphInfo));
data/pango1.0-1.47.0/pango/pango-glyph-item.c:122:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (new->glyphs->log_clusters, orig->glyphs->log_clusters + num_remaining, num_glyphs * sizeof (int));
data/pango1.0-1.47.0/pango/pango-language.c:84:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char canon_map[256] = {
data/pango1.0-1.47.0/pango/pango-language.c:531:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char lang[6];
data/pango1.0-1.47.0/pango/pango-language.c:539:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char str0[1];
data/pango1.0-1.47.0/pango/pango-language.c:540:38:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
#define LANGUAGE(id, source, sample) char POOLSTRFIELD(__LINE__)[sizeof(sample)];
data/pango1.0-1.47.0/pango/pango-language.c:547:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char str[1];
data/pango1.0-1.47.0/pango/pango-layout.c:321:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (&layout->copy_begin, &src->copy_begin,
data/pango1.0-1.47.0/pango/pango-layout.c:1448:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (*attrs, layout->log_attrs, sizeof(PangoLogAttr) * (layout->n_chars + 1));
data/pango1.0-1.47.0/pango/pango-ot.h:70:69:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
#define PANGO_OT_TAG_MAKE_FROM_STRING(s)	(PANGO_OT_TAG_MAKE(((const char *) s)[0], \
data/pango1.0-1.47.0/pango/pango-ot.h:71:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
								   ((const char *) s)[1], \
data/pango1.0-1.47.0/pango/pango-ot.h:72:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
								   ((const char *) s)[2], \
data/pango1.0-1.47.0/pango/pango-ot.h:73:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
								   ((const char *) s)[3]))
data/pango1.0-1.47.0/pango/pango-ot.h:210:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char     feature_name[5];
data/pango1.0-1.47.0/pango/pango-script-lang-table.h:10:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char lang[9];
data/pango1.0-1.47.0/pango/pango-tabs.c:196:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy (copy->tabs, src->tabs, sizeof(PangoTab) * src->size);
data/pango1.0-1.47.0/pango/pangocairo-font.c:374:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char c[2] = {0, 0};
data/pango1.0-1.47.0/pango/pangocairo-font.c:680:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char c[2] = {0, 0};
data/pango1.0-1.47.0/pango/pangocairo-render.c:368:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[7];
data/pango1.0-1.47.0/pango/pangocairo-render.c:373:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char hexbox_string[2] = { 0, 0 };
data/pango1.0-1.47.0/pango/pangowin32-fontcache.c:201:8:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  if (!MultiByteToWideChar (CP_ACP, MB_ERR_INVALID_CHARS,
data/pango1.0-1.47.0/pango/pangowin32-fontcache.c:300:3:  [2] (buffer) wcscpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer. Risk is low because the source is a constant string.
		wcscpy (lf.lfFaceName, L"arial");
data/pango1.0-1.47.0/pango/pangowin32-fontcache.c:302:3:  [2] (buffer) wcscpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer. Risk is low because the source is a constant string.
		wcscpy (lf.lfFaceName, L"century schoolbook");
data/pango1.0-1.47.0/pango/pangowin32-fontcache.c:304:3:  [2] (buffer) wcscpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer. Risk is low because the source is a constant string.
		wcscpy (lf.lfFaceName, L"courier new");
data/pango1.0-1.47.0/pango/pangowin32-fontcache.c:306:3:  [2] (buffer) wcscpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer. Risk is low because the source is a constant string.
		wcscpy (lf.lfFaceName, L"lucida sans unicode");
data/pango1.0-1.47.0/pango/pangowin32-fontcache.c:308:3:  [2] (buffer) wcscpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer. Risk is low because the source is a constant string.
		wcscpy (lf.lfFaceName, L"lucida console");
data/pango1.0-1.47.0/pango/pangowin32-fontcache.c:310:3:  [2] (buffer) wcscpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer. Risk is low because the source is a constant string.
		wcscpy (lf.lfFaceName, L"times new roman");
data/pango1.0-1.47.0/pango/pangowin32-fontmap.c:523:7:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      wchar_t name[MAX_VALUE_NAME];
data/pango1.0-1.47.0/pango/pangowin32-fontmap.c:1567:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf (num, "%d", charset);
data/pango1.0-1.47.0/pango/pangowin32-fontmap.c:1586:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf (num, "%d", ff);
data/pango1.0-1.47.0/pango/pangowin32-fontmap.c:1601:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char tmp_for_charset_name[10];
data/pango1.0-1.47.0/pango/pangowin32-fontmap.c:1602:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char tmp_for_ff_name[10];
data/pango1.0-1.47.0/pango/pangoxft-render.c:384:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[7];
data/pango1.0-1.47.0/tests/dump-boundaries.c:74:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[7] = { '\0', };
data/pango1.0-1.47.0/tests/test-common.c:43:16:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  char *diff, *tmpfile;
data/pango1.0-1.47.0/tests/test-common.c:52:32:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  fd = g_file_open_tmp (NULL, &tmpfile, error);
data/pango1.0-1.47.0/tests/test-common.c:61:67:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
                   "Could not write data to temporary file '%s'", tmpfile);
data/pango1.0-1.47.0/tests/test-common.c:65:16:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  command[4] = tmpfile;
data/pango1.0-1.47.0/tests/test-common.c:78:11:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  unlink (tmpfile);
data/pango1.0-1.47.0/tests/test-common.c:79:11:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  g_free (tmpfile);
data/pango1.0-1.47.0/tests/test-pangocairo-threads.c:80:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[10];
data/pango1.0-1.47.0/tests/test-pangocairo-threads.c:145:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    num_threads = atoi (argv[1]);
data/pango1.0-1.47.0/tests/test-pangocairo-threads.c:147:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    num_iters = atoi (argv[2]);
data/pango1.0-1.47.0/tools/gen-script-for-lang.c:215:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char date_buf[200];
data/pango1.0-1.47.0/utils/pango-list.c:180:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                      char name[20];
data/pango1.0-1.47.0/utils/viewer-render.c:569:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[32];
data/pango1.0-1.47.0/examples/cairoshape.c:66:25:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
  for (p = shape->path; sscanf (p, "%1s %n", op, &len), p += len, *p;)
data/pango1.0-1.47.0/examples/cairoshape.c:145:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  for (p = text; (p = strstr (p, BULLET)); p += strlen (BULLET))
data/pango1.0-1.47.0/examples/cairoshape.c:155:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      attr->end_index = attr->start_index + strlen (BULLET);
data/pango1.0-1.47.0/examples/pangowin32tobmp.c:228:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	      TextOut (hdc, 0, line, name, strlen(name));
data/pango1.0-1.47.0/pango/break.c:1594:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen (text);
data/pango1.0-1.47.0/pango/break.c:1678:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen (text);
data/pango1.0-1.47.0/pango/break.c:1716:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		    strlen(PARAGRAPH_SEPARATOR_STRING)))
data/pango1.0-1.47.0/pango/ellipsize.c:288:59:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  items = pango_itemize (state->layout->context, text, 0, strlen (text), attrs, NULL);
data/pango1.0-1.47.0/pango/ellipsize.c:382:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = strlen (ellipsis_text);
data/pango1.0-1.47.0/pango/fonts.c:1102:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      i = strlen (what);
data/pango1.0-1.47.0/pango/fonts.c:1280:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = strlen (str);
data/pango1.0-1.47.0/pango/fonts.c:1415:59:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      p = getword (desc->family_name, desc->family_name + strlen(desc->family_name), &wordlen, ",");
data/pango1.0-1.47.0/pango/fonts.c:1511:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int len = strlen (str);
data/pango1.0-1.47.0/pango/pango-attributes.c:206:24:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  return attr1->klass->equal (attr1, attr2);
data/pango1.0-1.47.0/pango/pango-attributes.h:343:22:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  gboolean         (*equal) (const PangoAttribute *attr1, const PangoAttribute *attr2);
data/pango1.0-1.47.0/pango/pango-bidi-type.c:171:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen (text);
data/pango1.0-1.47.0/pango/pango-color.c:254:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      len = strlen (spec);
data/pango1.0-1.47.0/pango/pango-context.c:1792:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  text_len = strlen (sample_str);
data/pango1.0-1.47.0/pango/pango-emoji.c:230:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    iter->text_end = text + strlen (text);
data/pango1.0-1.47.0/pango/pango-impl-utils.h:183:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      len = strlen (nick);
data/pango1.0-1.47.0/pango/pango-language.c:352:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = strlen (language);
data/pango1.0-1.47.0/pango/pango-language.c:418:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  end = p + strlen (p);
data/pango1.0-1.47.0/pango/pango-language.c:443:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  da = p ? (unsigned int) (p - a) : strlen (a);
data/pango1.0-1.47.0/pango/pango-language.c:446:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  db = p ? (unsigned int) (p - b) : strlen (b);
data/pango1.0-1.47.0/pango/pango-language.c:771:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  end = p + strlen (p);
data/pango1.0-1.47.0/pango/pango-layout.c:1134:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      layout->length = strlen (text);
data/pango1.0-1.47.0/pango/pango-layout.c:1176:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  layout->length = strlen (layout->text);
data/pango1.0-1.47.0/pango/pango-markup.c:847:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen (markup_text);
data/pango1.0-1.47.0/pango/pango-script.c:115:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    iter->text_end = text + strlen (text);
data/pango1.0-1.47.0/pango/pango-utils.c:58:28:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#  define getc_unlocked(f) getc(f)
data/pango1.0-1.47.0/pango/pango-utils.c:183:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = strlen (str);
data/pango1.0-1.47.0/pango/pangocoretext-fontmap.c:213:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      for (i = 0; i < strlen (buffer); i++)
data/pango1.0-1.47.0/pango/pangocoretext-fontmap.c:217:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (i < strlen (buffer))
data/pango1.0-1.47.0/pango/pangowin32-fontcache.c:320:5:  [1] (buffer) wcscpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer. Risk is low because the source is a constant character.
		  wcscpy (lf.lfFaceName, L"");
data/pango1.0-1.47.0/pango/pangowin32-fontcache.c:325:5:  [1] (buffer) wcscpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer. Risk is low because the source is a constant character.
		  wcscpy (lf.lfFaceName, L"");
data/pango1.0-1.47.0/pango/pangowin32-fontcache.c:331:5:  [1] (buffer) wcscpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer. Risk is low because the source is a constant character.
		  wcscpy (lf.lfFaceName, L"");
data/pango1.0-1.47.0/pango/pangowin32-fontcache.c:336:5:  [1] (buffer) wcscpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer. Risk is low because the source is a constant character.
		  wcscpy (lf.lfFaceName, L"");
data/pango1.0-1.47.0/pango/pangowin32-fontmap.c:561:19:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      entry_len = wcslen (entry);
data/pango1.0-1.47.0/pango/pangowin32-fontmap.c:582:23:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          entry_len = wcslen (entry);
data/pango1.0-1.47.0/pango/pangowin32-fontmap.c:1191:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  l = strlen (lfp->lfFaceName);
data/pango1.0-1.47.0/pango/pangowin32-fontmap.c:1378:7:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  l = wcslen (lfp->lfFaceName);
data/pango1.0-1.47.0/pango/shape.c:190:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    item_length = strlen (item_text);
data/pango1.0-1.47.0/pango/shape.c:198:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    paragraph_length = strlen (paragraph_text);
data/pango1.0-1.47.0/tests/test-break.c:63:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  length = strlen (test);
data/pango1.0-1.47.0/tests/test-break.c:100:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  g_string_append_printf (string, "%*s", (int)(m - strlen ("Text: ")), "");
data/pango1.0-1.47.0/tests/test-break.c:202:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              g_string_append_printf (s1, "%*s", (int)strlen (str), "");
data/pango1.0-1.47.0/tests/test-break.c:203:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              g_string_append_printf (s2, "%*s", (int)strlen (str), "");
data/pango1.0-1.47.0/tests/test-break.c:204:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              g_string_append_printf (s3, "%*s", (int)strlen (str), "");
data/pango1.0-1.47.0/tests/test-break.c:205:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              g_string_append_printf (s4, "%*s", (int)strlen (str), "");
data/pango1.0-1.47.0/tests/test-common.c:49:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen (text);
data/pango1.0-1.47.0/tests/test-font.c:171:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  items = pango_itemize (context, str, 0, strlen (str), NULL, NULL);
data/pango1.0-1.47.0/tests/test-font.c:174:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  pango_shape (str, strlen (str), &item->analysis, glyphs);
data/pango1.0-1.47.0/tests/test-itemize.c:140:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  length = strlen (text);
data/pango1.0-1.47.0/tests/test-layout.c:251:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  length = strlen (markup);
data/pango1.0-1.47.0/tests/test-shape.c:175:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  length = strlen (text);
data/pango1.0-1.47.0/tests/testboundaries.c:67:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  gint length = strlen (text);
data/pango1.0-1.47.0/tests/testiter.c:238:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		(long)g_utf8_strlen (*ptext, -1), (long)strlen (*ptext));
data/pango1.0-1.47.0/tests/testscript.c:166:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *next_pos = pos + strlen (test_data[i].run_text);
data/pango1.0-1.47.0/tools/gen-script-for-lang.c:241:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			  (int)strlen (pango_language_to_string (info->lang)));
data/pango1.0-1.47.0/tools/gen-script-for-lang.c:288:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	       (int)(max_lang_len - strlen (pango_language_to_string (info->lang))), "");
data/pango1.0-1.47.0/utils/pango-list.c:120:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          width = MAX (width, strlen (synth_str) + strlen (face_name));
data/pango1.0-1.47.0/utils/pango-list.c:120:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          width = MAX (width, strlen (synth_str) + strlen (face_name));
data/pango1.0-1.47.0/utils/pango-list.c:132:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                   width - (int)strlen (face_name) - (int)strlen (synth_str), "", desc_str);
data/pango1.0-1.47.0/utils/pango-list.c:132:59:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                   width - (int)strlen (face_name) - (int)strlen (synth_str), "", desc_str);
data/pango1.0-1.47.0/utils/viewer-render.c:572:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = strlen (arg);
data/pango1.0-1.47.0/utils/viewer-render.c:902:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      len = strlen (text);

ANALYSIS SUMMARY:

Hits = 134
Lines analyzed = 73086 in approximately 1.72 seconds (42458 lines/second)
Physical Source Lines of Code (SLOC) = 45775
Hits@level = [0]  17 [1]  66 [2]  53 [3]  12 [4]   3 [5]   0
Hits@level+ = [0+] 151 [1+] 134 [2+]  68 [3+]  15 [4+]   3 [5+]   0
Hits/KSLOC@level+ = [0+] 3.29874 [1+] 2.92736 [2+] 1.48553 [3+] 0.32769 [4+] 0.065538 [5+]   0
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.