gettext-0.22.5-2.fc41

List of Defects

Error: CPPCHECK_WARNING: [#def1]
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/gnulib-lib/careadlinkat.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2]
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/src/ngettext.c:39: included_from: Included from here.
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/gnulib-lib/gettext.h: scope_hint: In function ‘main’
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/gnulib-lib/gettext.h:290:27: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/src/ngettext.c:27: included_from: Included from here.
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/src/ngettext.c:38: included_from: Included from here.
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/src/ngettext.c:36: included_from: Included from here.
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/src/escapes.h:46:20: note: in expansion of macro ‘XNMALLOC’
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/src/escapes.h:46:20: note: in expansion of macro ‘XNMALLOC’
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/src/ngettext.c:198:17: note: in expansion of macro ‘dnpgettext_expr’
#  288|         memcpy (msg_ctxt_id + msgctxt_len, msgid, msgid_len);
#  289|         translation = dcngettext (domain, msg_ctxt_id, msgid_plural, n, category);
#  290|->       found_translation = !(translation == msg_ctxt_id || translation == msgid_plural);
#  291|   #if !_LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS
#  292|         if (msg_ctxt_id != buf)

Error: CPPCHECK_WARNING: [#def3]
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/gnulib-lib/localename.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def4]
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/gnulib-lib/mbsstr.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-691): [#def5]
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/gnulib-lib/mbsstr.c: scope_hint: In function ‘knuth_morris_pratt_multibyte’
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/gnulib-lib/mbsstr.c:47:1: warning[-Wstack-protector]: stack protector not protecting local variables: variable length buffer
#   47 | knuth_morris_pratt_multibyte (const char *haystack, const char *needle,
#      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   45|      Return false if it was aborted because not enough memory was available.  */
#   46|   static bool
#   47|-> knuth_morris_pratt_multibyte (const char *haystack, const char *needle,
#   48|                                 const char **resultp)
#   49|   {

Error: CLANG_WARNING: [#def6]
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/gnulib-lib/mbsstr.c:67:19: warning[deadcode.DeadStores]: Although the value stored to 'table_memory' is used in the enclosing expression, the value is never actually read from 'table_memory'
#   65|     aligned += extra_align;
#   66|     aligned -= (uintptr_t) aligned % alignof (size_t);
#   67|->   size_t *table = table_memory = aligned;
#   68|   
#   69|     /* Fill needle_mbchars.  */

Error: CPPCHECK_WARNING: [#def7]
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/gnulib-lib/propername.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-691): [#def8]
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/gnulib-lib/mbsstr.c:39: included_from: Included from here.
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/gnulib-lib/str-kmp.h: scope_hint: In function ‘knuth_morris_pratt’
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/gnulib-lib/str-kmp.h:43:1: warning[-Wstack-protector]: stack protector not protecting local variables: variable length buffer
#   43 | knuth_morris_pratt (const UNIT *haystack,
#      | ^~~~~~~~~~~~~~~~~~
#   41|      Return false if it was aborted because not enough memory was available.  */
#   42|   static bool
#   43|-> knuth_morris_pratt (const UNIT *haystack,
#   44|                       const UNIT *needle, size_t needle_len,
#   45|                       const UNIT **resultp)

Error: CPPCHECK_WARNING: [#def9]
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/gnulib-lib/striconv.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def10]
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/gnulib-lib/unistr/u8-mbtoucr.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def11]
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/intl/bindtextdom.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-691): [#def12]
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/intl/dcigettext.c:25: included_from: Included from here.
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/intl/dcigettext.c: scope_hint: In function '_libintl_find_msg'
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/intl/config.h:1844:42: warning[-Wstack-protector]: stack protector not protecting local variables: variable length buffer
# 1844 | #define _nl_find_msg                     _libintl_find_msg
#      |                                          ^~~~~~~~~~~~~~~~~
# 1842|   #define _nl_explode_name                 _libintl_explode_name
# 1843|   #define _nl_find_domain                  _libintl_find_domain
# 1844|-> #define _nl_find_msg                     _libintl_find_msg
# 1845|   #define _nl_language_preferences_default _libintl_language_preferences_default
# 1846|   #define _nl_load_domain                  _libintl_load_domain

Error: COMPILER_WARNING (CWE-691): [#def13]
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/intl/loadmsgcat.c:25: included_from: Included from here.
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/intl/loadmsgcat.c: scope_hint: In function '_libintl_load_domain'
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/intl/config.h:1846:42: warning[-Wstack-protector]: stack protector not protecting local variables: variable length buffer
# 1846 | #define _nl_load_domain                  _libintl_load_domain
#      |                                          ^~~~~~~~~~~~~~~~~~~~
# 1844|   #define _nl_find_msg                     _libintl_find_msg
# 1845|   #define _nl_language_preferences_default _libintl_language_preferences_default
# 1846|-> #define _nl_load_domain                  _libintl_load_domain
# 1847|   #define _nl_log_untranslated             _libintl_log_untranslated
# 1848|   #define _nl_make_l10nflist               _libintl_make_l10nflist

Error: COMPILER_WARNING (CWE-691): [#def14]
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/intl/gnulib-lib/vasnprintf.c:61: included_from: Included from here.
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/intl/gnulib-lib/vasnprintf.c: scope_hint: In function '_libintl_vasnprintf'
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/intl/config.h:1931:36: warning[-Wstack-protector]: stack protector not protecting local variables: variable length buffer
# 1931 | #define vasnprintf                 _libintl_vasnprintf
#      |                                    ^~~~~~~~~~~~~~~~~~~
# 1929|   #define printf_fetchargs           _libintl_printf_fetchargs
# 1930|   #define printf_parse               _libintl_printf_parse
# 1931|-> #define vasnprintf                 _libintl_vasnprintf
# 1932|   #define rpl_vasnprintf             _libintl_vasnprintf
# 1933|   /* Symbols defined by gnulib module 'vasnwprintf'.  */

Error: COMPILER_WARNING (CWE-691): [#def15]
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/intl/gnulib-lib/vasnprintf.c:61: included_from: Included from here.
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/intl/gnulib-lib/vasnwprintf.c:18: included_from: Included from here.
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/intl/gnulib-lib/vasnprintf.c: scope_hint: In function '_libintl_vasnwprintf'
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/intl/config.h:1936:36: warning[-Wstack-protector]: stack protector not protecting local variables: variable length buffer
# 1936 | #define vasnwprintf                _libintl_vasnwprintf
#      |                                    ^~~~~~~~~~~~~~~~~~~~
# 1934|   #define asnwprintf                 _libintl_asnwprintf
# 1935|   #define wprintf_parse              _libintl_wprintf_parse
# 1936|-> #define vasnwprintf                _libintl_vasnwprintf
# 1937|   /* Symbols defined by gnulib module 'windows-mutex'.  */
# 1938|   #define glwthread_mutex_init       _libintl_glwthread_mutex_init

Error: CPPCHECK_WARNING: [#def16]
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/intl/dcigettext.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-691): [#def17]
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/intl/dcigettext.c: scope_hint: In function 'libintl_dcigettext'
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/intl/dcigettext.c:402:21: warning[-Wstack-protector]: stack protector not protecting local variables: variable length buffer
#  402 | # define DCIGETTEXT libintl_dcigettext
#      |                     ^~~~~~~~~~~~~~~~~~
#  400|   # define DCIGETTEXT __dcigettext
#  401|   #else
#  402|-> # define DCIGETTEXT libintl_dcigettext
#  403|   #endif
#  404|   

Error: CLANG_WARNING: [#def18]
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/intl/dcigettext.c:439: included_from: Included from here.
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/intl/eval-plural.h:67:18: warning[core.DivideZero]: Division by zero
#   65|   		  raise (SIGFPE);
#   66|   #endif
#   67|-> 		return leftarg / rightarg;
#   68|   	      case module:
#   69|   #if !INTDIV0_RAISES_SIGFPE

Error: CLANG_WARNING: [#def19]
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/intl/eval-plural.h:73:18: warning[core.DivideZero]: Division by zero
#   71|   		  raise (SIGFPE);
#   72|   #endif
#   73|-> 		return leftarg % rightarg;
#   74|   	      case plus:
#   75|   		return leftarg + rightarg;

Error: CPPCHECK_WARNING: [#def20]
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/intl/explodename.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def21]
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/intl/explodename.c:78:5: warning[deadcode.DeadStores]: Value stored to 'cp' is never read
#   76|       /* This does not make sense: language has to be specified.  Use
#   77|          this entry as it is without exploding.  Perhaps it is an alias.  */
#   78|->     cp = strchr (name, '\0');
#   79|     else
#   80|       {

Error: CPPCHECK_WARNING: [#def22]
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/intl/finddomain.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def23]
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/intl/gnulib-lib/localename.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def24]
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/intl/gnulib-lib/printf-parse.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def25]
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/intl/gnulib-lib/vasnprintf.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def26]
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/intl/gnulib-lib/vasnwprintf.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def27]
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/intl/gnulib-lib/wprintf-parse.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def28]
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/intl/l10nflist.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def29]
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/intl/loadmsgcat.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def30]
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/intl/loadmsgcat.c:1015:18: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
# 1013|   				}
# 1014|   
# 1015|-> 			      need += strlen (sysdep_segment_values[sysdepref]);
# 1016|   			    }
# 1017|   

Error: CPPCHECK_WARNING: [#def31]
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/intl/localealias.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-457): [#def32]
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/intl/localealias.c:176: error[uninitvar]: Uninitialized variable: &item.value
#  174|   
#  175|         if (nmap > 0)
#  176|-> 	retval = (struct alias_map *) bsearch (&item, map, nmap,
#  177|   					       sizeof (struct alias_map),
#  178|   					       (int (*) (const void *,

Error: COMPILER_WARNING (CWE-691): [#def33]
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/intl/localealias.c: scope_hint: In function 'read_alias_file'
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/intl/localealias.c:225:1: warning[-Wstack-protector]: stack protector not protecting local variables: variable length buffer
#  225 | read_alias_file (const char *fname, int fname_len)
#      | ^~~~~~~~~~~~~~~
#  223|   static size_t
#  224|   internal_function
#  225|-> read_alias_file (const char *fname, int fname_len)
#  226|   {
#  227|     FILE *fp;

Error: CPPCHECK_WARNING (CWE-457): [#def34]
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/intl/localealias.c:247: error[legacyUninitvar]: Uninitialized variable: malloc_full_fname
#  245|     fp = fopen (relocate2 (full_fname, &malloc_full_fname), "rce");
#  246|   #else
#  247|->   fp = fopen (relocate2 (full_fname, &malloc_full_fname), "r");
#  248|   #endif
#  249|     free (malloc_full_fname);

Error: COMPILER_WARNING: [#def35]
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/intl/localealias.c:346:26: warning[-Wuse-after-free]: pointer may be used after 'realloc'
#  346 |                       if (__builtin_expect (string_space != new_pool, 0))
#      |                          ^
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/intl/localealias.c:342:49: note: call to 'realloc' here
#  342 |                       char *new_pool = (char *) realloc (string_space, new_size);
#      |                                                 ^
#  344|   			goto out;
#  345|   
#  346|-> 		      if (__builtin_expect (string_space != new_pool, 0))
#  347|   			{
#  348|   			  size_t i;

Error: COMPILER_WARNING: [#def36]
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/intl/localealias.c: scope_hint: In function 'read_alias_file'
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/intl/localealias.c:352:56: warning[-Wuse-after-free]: pointer may be used after 'realloc'
#  352 |                               map[i].alias += new_pool - string_space;
#      |                                                        ^
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/intl/localealias.c:342:49: note: call to 'realloc' here
#  342 |                       char *new_pool = (char *) realloc (string_space, new_size);
#      |                                                 ^
#  350|   			  for (i = 0; i < nmap; i++)
#  351|   			    {
#  352|-> 			      map[i].alias += new_pool - string_space;
#  353|   			      map[i].value += new_pool - string_space;
#  354|   			    }

Error: CPPCHECK_WARNING: [#def37]
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/libasprintf/gnulib-lib/printf-parse.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def38]
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/libasprintf/gnulib-lib/vasnprintf.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def39]
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/src/envsubst.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def40]
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/src/gettext.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-401): [#def41]
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/src/gettext.c: scope_hint: In function ‘main’
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/src/gettext.c:237:3: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/src/gettext.c:38: included_from: Included from here.
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/src/gettext.c:36: included_from: Included from here.
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/src/escapes.h:46:20: note: in expansion of macro ‘XNMALLOC’
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/src/escapes.h:46:20: note: in expansion of macro ‘XNMALLOC’
#  235|       }
#  236|   
#  237|->   exit (EXIT_SUCCESS);
#  238|   }
#  239|   

Error: CPPCHECK_WARNING: [#def42]
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/src/ngettext.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-401): [#def43]
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/src/ngettext.c:189:5: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/src/escapes.h:46:20: note: in expansion of macro ‘XNMALLOC’
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/src/escapes.h:46:20: note: in expansion of macro ‘XNMALLOC’
#  187|        plural form handling.  */
#  188|     if (domain == NULL || domain[0] == '\0')
#  189|->     fputs (n == 1 ? msgid : msgid_plural, stdout);
#  190|     else
#  191|       {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def44]
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/src/ngettext.c:197:7: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/src/escapes.h:46:20: note: in expansion of macro ‘XNMALLOC’
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/src/escapes.h:46:20: note: in expansion of macro ‘XNMALLOC’
gettext-0.22.5-build/gettext-0.22.5/gettext-runtime/gnulib-lib/gettext.h:26: included_from: Included from here.
#  195|   
#  196|         /* Write out the result.  */
#  197|->       fputs ((context != NULL
#  198|                 ? dnpgettext_expr (domain, context, msgid, msgid_plural, n)
#  199|                 : dngettext (domain, msgid, msgid_plural, n)),

Error: CPPCHECK_WARNING: [#def45]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/argmatch.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def46]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/c-strcasestr.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def47]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/canonicalize.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def48]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/canonicalize.c:387:15: warning[deadcode.DeadStores]: Value stored to 'name' is never read
#  385|                 /* Careful here, end may be a pointer into extra_buf... */
#  386|                 memmove (&extra_buf[n], end, len + 1);
#  387|->               name = end = memcpy (extra_buf, buf, n);
#  388|                 end_in_extra_buffer = true;
#  389|   

Error: CPPCHECK_WARNING: [#def49]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/careadlinkat.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-562): [#def50]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/careadlinkat.c: scope_hint: In function 'careadlinkat'
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/careadlinkat.c:180:10: warning[-Wreturn-local-addr]: function may return address of local variable
#  180 |   return readlink_stk (fd, filename, buffer, buffer_size, alloc,
#      |          ^
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/careadlinkat.c:179:8: note: declared here
#  179 |   char stack_buf[STACK_BUF_SIZE];
#      |        ^
#  178|     #endif
#  179|     char stack_buf[STACK_BUF_SIZE];
#  180|->   return readlink_stk (fd, filename, buffer, buffer_size, alloc,
#  181|                          preadlinkat, stack_buf);
#  182|   }

Error: CPPCHECK_WARNING: [#def51]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/classpath.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def52]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/clean-temp.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def53]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/copy-file.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def54]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/csharpcomp.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-691): [#def55]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/csharpcomp.c: scope_hint: In function 'compile_csharp_using_mono.isra.0'
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/csharpcomp.c:60:1: warning[-Wstack-protector]: stack protector not protecting local variables: variable length buffer
#   60 | compile_csharp_using_mono (const char * const *sources,
#      | ^~~~~~~~~~~~~~~~~~~~~~~~~
#   58|   
#   59|   static int
#   60|-> compile_csharp_using_mono (const char * const *sources,
#   61|                              unsigned int sources_count,
#   62|                              const char * const *libdirs,

Error: COMPILER_WARNING (CWE-691): [#def56]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/csharpcomp.c: scope_hint: In function 'compile_csharp_using_sscli'
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/csharpcomp.c:248:1: warning[-Wstack-protector]: stack protector not protecting local variables: variable length buffer
#  248 | compile_csharp_using_sscli (const char * const *sources,
#      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
#  246|   
#  247|   static int
#  248|-> compile_csharp_using_sscli (const char * const *sources,
#  249|                               unsigned int sources_count,
#  250|                               const char * const *libdirs,

Error: CPPCHECK_WARNING: [#def57]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/csharpexec.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-691): [#def58]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/csharpexec.c: scope_hint: In function 'execute_csharp_using_mono.isra.0'
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/csharpexec.c:89:1: warning[-Wstack-protector]: stack protector not protecting local variables: variable length buffer
#   89 | execute_csharp_using_mono (const char *assembly_path,
#      | ^~~~~~~~~~~~~~~~~~~~~~~~~
#   87|   
#   88|   static int
#   89|-> execute_csharp_using_mono (const char *assembly_path,
#   90|                              const char * const *libdirs,
#   91|                              unsigned int libdirs_count,

Error: COMPILER_WARNING (CWE-691): [#def59]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/csharpexec.c: scope_hint: In function 'execute_csharp_using_sscli.isra.0'
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/csharpexec.c:153:1: warning[-Wstack-protector]: stack protector not protecting local variables: variable length buffer
#  153 | execute_csharp_using_sscli (const char *assembly_path,
#      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
#  151|   
#  152|   static int
#  153|-> execute_csharp_using_sscli (const char *assembly_path,
#  154|                               const char * const *libdirs,
#  155|                               unsigned int libdirs_count,

Error: CPPCHECK_WARNING: [#def60]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/findprog-in.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def61]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/fstrcmp.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-457): [#def62]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/gl_anylinked_list2.h:952: error[uninitvar]: Uninitialized variables: result.count, result.i, result.j
#  950|   #endif
#  951|   
#  952|->   return result;
#  953|   }
#  954|   

Error: CPPCHECK_WARNING (CWE-457): [#def63]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/gl_anylinked_list2.h:1023: warning[uninitvar]: Uninitialized variables: result.count, result.i, result.j
# 1021|   #endif
# 1022|   
# 1023|->   return result;
# 1024|   }
# 1025|   

Error: CPPCHECK_WARNING: [#def64]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/gl_linked_list.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def65]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/gl_linkedhash_list.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def66]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/hash.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def67]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/javacomp.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-691): [#def68]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/javacomp.c: scope_hint: In function 'compile_using_envjavac'
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/javacomp.c:177:1: warning[-Wstack-protector]: stack protector not protecting local variables: variable length buffer
#  177 | compile_using_envjavac (const char *javac,
#      | ^~~~~~~~~~~~~~~~~~~~~~
#  175|      Return a failure indicator (true upon error).  */
#  176|   static bool
#  177|-> compile_using_envjavac (const char *javac,
#  178|                           const char * const *java_sources,
#  179|                           unsigned int java_sources_count,

Error: COMPILER_WARNING (CWE-691): [#def69]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/javacomp.c: scope_hint: In function 'compile_using_javac'
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/javacomp.c:259:1: warning[-Wstack-protector]: stack protector not protecting local variables: variable length buffer
#  259 | compile_using_javac (const char * const *java_sources,
#      | ^~~~~~~~~~~~~~~~~~~
#  257|      Return a failure indicator (true upon error).  */
#  258|   static bool
#  259|-> compile_using_javac (const char * const *java_sources,
#  260|                        unsigned int java_sources_count,
#  261|                        const char *nowarn_option,

Error: CLANG_WARNING: [#def70]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/javacomp.c:399:9: warning[deadcode.DeadStores]: Value stored to 'version_start' during its initialization is never read
#  397|   
#  398|     /* Search the first digit in line.  */
#  399|->   char *version_start = line;
#  400|     for (version_start = line; ; version_start++)
#  401|       {

Error: COMPILER_WARNING (CWE-691): [#def71]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/javacomp.c: scope_hint: In function 'is_envjavac_usable.constprop.0'
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/javacomp.c:505:1: warning[-Wstack-protector]: stack protector not protecting local variables: variable length buffer
#  505 | is_envjavac_usable (const char *javac,
#      | ^~~~~~~~~~~~~~~~~~
#  503|      Return a failure indicator (true upon error).  */
#  504|   static bool
#  505|-> is_envjavac_usable (const char *javac,
#  506|                       const char *source_version, const char *target_version,
#  507|                       bool *usablep,

Error: COMPILER_WARNING (CWE-691): [#def72]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/javaexec.c: scope_hint: In function 'execute_java_class'
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/javaexec.c:69:1: warning[-Wstack-protector]: stack protector not protecting local variables: variable length buffer
#   69 | execute_java_class (const char *class_name,
#      | ^~~~~~~~~~~~~~~~~~
#   67|   
#   68|   bool
#   69|-> execute_java_class (const char *class_name,
#   70|                       const char * const *classpaths,
#   71|                       unsigned int classpaths_count,

Error: CPPCHECK_WARNING: [#def73]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/javaversion.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-457): [#def74]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/javaversion.c:111: error[legacyUninitvar]: Uninitialized variable: malloc_pkgdatadir
#  109|     const char *class_name = "javaversion";
#  110|     char *malloc_pkgdatadir;
#  111|->   const char *pkgdatadir = relocate2 (PKGDATADIR, &malloc_pkgdatadir);
#  112|     const char *args[1];
#  113|     struct locals locals;

Error: CPPCHECK_WARNING: [#def75]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/localename.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def76]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/mbsrtoc32s.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def77]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/mbsrtowcs.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def78]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/mbsstr.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-691): [#def79]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/mbsstr.c: scope_hint: In function 'knuth_morris_pratt_multibyte'
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/mbsstr.c:47:1: warning[-Wstack-protector]: stack protector not protecting local variables: variable length buffer
#   47 | knuth_morris_pratt_multibyte (const char *haystack, const char *needle,
#      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   45|      Return false if it was aborted because not enough memory was available.  */
#   46|   static bool
#   47|-> knuth_morris_pratt_multibyte (const char *haystack, const char *needle,
#   48|                                 const char **resultp)
#   49|   {

Error: CLANG_WARNING: [#def80]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/mbsstr.c:67:19: warning[deadcode.DeadStores]: Although the value stored to 'table_memory' is used in the enclosing expression, the value is never actually read from 'table_memory'
#   65|     aligned += extra_align;
#   66|     aligned -= (uintptr_t) aligned % alignof (size_t);
#   67|->   size_t *table = table_memory = aligned;
#   68|   
#   69|     /* Fill needle_mbchars.  */

Error: CPPCHECK_WARNING: [#def81]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/mem-hash-map.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def82]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/obstack.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def83]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/pipe-filter-ii.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def84]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/printf-parse.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def85]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/propername.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def86]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/quotearg.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def87]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/read-file.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def88]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/set-permissions.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def89]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/spawn-pipe.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-691): [#def90]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/mbsstr.c:39: included_from: Included from here.
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/str-kmp.h: scope_hint: In function 'knuth_morris_pratt'
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/str-kmp.h:43:1: warning[-Wstack-protector]: stack protector not protecting local variables: variable length buffer
#   43 | knuth_morris_pratt (const UNIT *haystack,
#      | ^~~~~~~~~~~~~~~~~~
#   41|      Return false if it was aborted because not enough memory was available.  */
#   42|   static bool
#   43|-> knuth_morris_pratt (const UNIT *haystack,
#   44|                       const UNIT *needle, size_t needle_len,
#   45|                       const UNIT **resultp)

Error: CPPCHECK_WARNING: [#def91]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/striconv.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def92]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/striconveh.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-691): [#def93]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/striconveha.c: scope_hint: In function 'mem_iconveha'
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/striconveha.c:208:1: warning[-Wstack-protector]: stack protector not protecting local variables: variable length buffer
#  208 | mem_iconveha (const char *src, size_t srclen,
#      | ^~~~~~~~~~~~
#  206|   
#  207|   int
#  208|-> mem_iconveha (const char *src, size_t srclen,
#  209|                 const char *from_codeset, const char *to_codeset,
#  210|                 bool transliterate,

Error: COMPILER_WARNING (CWE-691): [#def94]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/striconveha.c: scope_hint: In function 'str_iconveha'
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/striconveha.c:316:1: warning[-Wstack-protector]: stack protector not protecting local variables: variable length buffer
#  316 | str_iconveha (const char *src,
#      | ^~~~~~~~~~~~
#  314|   
#  315|   char *
#  316|-> str_iconveha (const char *src,
#  317|                 const char *from_codeset, const char *to_codeset,
#  318|                 bool transliterate,

Error: CPPCHECK_WARNING: [#def95]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/string-desc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def96]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/supersede.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def97]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/tempname.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def98]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/tmpdir.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def99]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/unilbrk/u8-possible-linebreaks.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def100]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/unilbrk/u8-width-linebreaks.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def101]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/unilbrk/ulc-width-linebreaks.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def102]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/unilbrk/ulc-width-linebreaks.c:91:27: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
#   89|                         if (o != NULL)
#   90|                           {
#   91|->                           memset (o8, UC_BREAK_UNDEFINED, m);
#   92|                             for (i = 0; i < n; i++)
#   93|                               if (offsets[i] != (size_t)(-1))

Error: CLANG_WARNING: [#def103]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/unilbrk/ulc-width-linebreaks.c:105:34: warning[core.NullDereference]: Array access (from variable 'q') results in a null pointer dereference
#  103|                         for (i = 0; i < n; i++)
#  104|                           if (offsets[i] != (size_t)(-1))
#  105|->                           p[i] = q[offsets[i]];
#  106|   
#  107|                         free (memory);

Error: CPPCHECK_WARNING: [#def104]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/uniname/uniname.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def105]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/unistr/u8-mbtouc-aux.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def106]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/utimens.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def107]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/vasnprintf.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-691): [#def108]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/vasnprintf.c: scope_hint: In function 'vasnprintf'
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/vasnprintf.c:147:22: warning[-Wstack-protector]: stack protector not protecting local variables: variable length buffer
#  147 | #  define VASNPRINTF vasnprintf
#      |                      ^~~~~~~~~~
#  145|   #  define DCHAR_SET wmemset
#  146|   # else
#  147|-> #  define VASNPRINTF vasnprintf
#  148|   #  define FCHAR_T char
#  149|   #  define DCHAR_T char

Error: CPPCHECK_WARNING: [#def109]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/wait-process.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def110]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-tests/file-has-acl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def111]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-tests/strerror_r.c:165:7: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
#  163|   
#  164|       {
#  165|->       ret = 0;
#  166|   
#  167|   # if HAVE___XPG_STRERROR_R

Error: COMPILER_WARNING (CWE-691): [#def112]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/libgettextpo/striconveha.c:18: included_from: Included from here.
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/libgettextpo/striconveha.c: scope_hint: In function 'libgettextpo_mem_iconveha'
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/libgettextpo/config.h:224:22: warning[-Wstack-protector]: stack protector not protecting local variables: variable length buffer
#  224 | #define mem_iconveha libgettextpo_mem_iconveha
#      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~
#  222|   #define mem_cd_iconveh libgettextpo_mem_cd_iconveh
#  223|   #define mem_iconveh libgettextpo_mem_iconveh
#  224|-> #define mem_iconveha libgettextpo_mem_iconveha
#  225|   #define message_alloc libgettextpo_message_alloc
#  226|   #define message_comment_append libgettextpo_message_comment_append

Error: COMPILER_WARNING (CWE-691): [#def113]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/message.c:20: included_from: Included from here.
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/message.c: scope_hint: In function 'libgettextpo_message_list_search'
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/libgettextpo/config.h:244:29: warning[-Wstack-protector]: stack protector not protecting local variables: variable length buffer
#  244 | #define message_list_search libgettextpo_message_list_search
#      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  242|   #define message_list_prepend libgettextpo_message_list_prepend
#  243|   #define message_list_remove_if_not libgettextpo_message_list_remove_if_not
#  244|-> #define message_list_search libgettextpo_message_list_search
#  245|   #define message_list_search_fuzzy libgettextpo_message_list_search_fuzzy
#  246|   #define message_page_width_ignore libgettextpo_message_page_width_ignore

Error: COMPILER_WARNING (CWE-691): [#def114]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/po-charset.c:20: included_from: Included from here.
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/po-charset.c: scope_hint: In function 'libgettextpo_po_lex_charset_set'
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/libgettextpo/config.h:305:28: warning[-Wstack-protector]: stack protector not protecting local variables: variable length buffer
#  305 | #define po_lex_charset_set libgettextpo_po_lex_charset_set
#      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  303|   #define po_lex_charset_close libgettextpo_po_lex_charset_close
#  304|   #define po_lex_charset_init libgettextpo_po_lex_charset_init
#  305|-> #define po_lex_charset_set libgettextpo_po_lex_charset_set
#  306|   #define po_lex_iconv libgettextpo_po_lex_iconv
#  307|   #define po_lex_isolate_end libgettextpo_po_lex_isolate_end

Error: COMPILER_WARNING (CWE-691): [#def115]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/libgettextpo/striconveha.c: scope_hint: In function 'libgettextpo_str_iconveha'
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/libgettextpo/config.h:349:22: warning[-Wstack-protector]: stack protector not protecting local variables: variable length buffer
#  349 | #define str_iconveha libgettextpo_str_iconveha
#      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~
#  347|   #define str_iconv libgettextpo_str_iconv
#  348|   #define str_iconveh libgettextpo_str_iconveh
#  349|-> #define str_iconveha libgettextpo_str_iconveha
#  350|   #define string_desc_c libgettextpo_string_desc_c
#  351|   #define string_desc_char_at libgettextpo_string_desc_char_at

Error: COMPILER_WARNING (CWE-691): [#def116]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/libgettextpo/vasnprintf.c:61: included_from: Included from here.
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/libgettextpo/vasnprintf.c: scope_hint: In function 'libgettextpo_vasnprintf'
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/libgettextpo/config.h:407:20: warning[-Wstack-protector]: stack protector not protecting local variables: variable length buffer
#  407 | #define vasnprintf libgettextpo_vasnprintf
#      |                    ^~~~~~~~~~~~~~~~~~~~~~~
#  405|   #define unilbrkprop libgettextpo_unilbrkprop
#  406|   #define uninstall_sigfpe_handler libgettextpo_uninstall_sigfpe_handler
#  407|-> #define vasnprintf libgettextpo_vasnprintf
#  408|   #define x2nrealloc libgettextpo_x2nrealloc
#  409|   #define x2realloc libgettextpo_x2realloc

Error: CPPCHECK_WARNING: [#def117]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/libgettextpo/fstrcmp.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def118]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/libgettextpo/gettext-po.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def119]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/libgettextpo/gettext-po.c:28:5: warning[-Wsuggest-attribute=format]: initialization left-hand side might be a candidate for a format attribute
#   28 |   = error;
#      |     ^~~~~
#   26|   static void (*orig_error) (int status, int errnum,
#   27|                              const char *format, ...)
#   28|->   = error;
#   29|   
#   30|   static void (*orig_error_at_line) (int status, int errnum,

Error: COMPILER_WARNING: [#def120]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/libgettextpo/gettext-po.c:33:5: warning[-Wsuggest-attribute=format]: initialization left-hand side might be a candidate for a format attribute
#   33 |   = error_at_line;
#      |     ^~~~~~~~~~~~~
#   31|                                      const char *filename, unsigned int lineno,
#   32|                                      const char *format, ...)
#   33|->   = error_at_line;
#   34|   #undef error
#   35|   #undef error_at_line

Error: CPPCHECK_WARNING (CWE-457): [#def121]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/libgettextpo/gl_anylinked_list2.h:952: error[uninitvar]: Uninitialized variables: result.count, result.i, result.j
#  950|   #endif
#  951|   
#  952|->   return result;
#  953|   }
#  954|   

Error: CPPCHECK_WARNING (CWE-457): [#def122]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/libgettextpo/gl_anylinked_list2.h:1023: warning[uninitvar]: Uninitialized variables: result.count, result.i, result.j
# 1021|   #endif
# 1022|   
# 1023|->   return result;
# 1024|   }
# 1025|   

Error: CPPCHECK_WARNING: [#def123]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/libgettextpo/gl_linked_list.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def124]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/libgettextpo/markup.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def125]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/libgettextpo/markup.c:1226:23: warning[core.uninitialized.Branch]: Branch condition evaluates to a garbage value
# 1224|                 if (unescape_string_inplace (context, context->partial_chunk,
# 1225|                                              &is_ascii)
# 1226|->                   && (is_ascii
# 1227|                         || text_validate (context,
# 1228|                                           context->partial_chunk->buffer,

Error: CLANG_WARNING: [#def126]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/libgettextpo/markup.c:1268:23: warning[core.uninitialized.Branch]: Branch condition evaluates to a garbage value
# 1266|                 if (unescape_string_inplace (context, context->partial_chunk,
# 1267|                                              &is_ascii)
# 1268|->                   && (is_ascii
# 1269|                         || text_validate (context,
# 1270|                                           context->partial_chunk->buffer,

Error: CPPCHECK_WARNING: [#def127]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/libgettextpo/mem-hash-map.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def128]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/libgettextpo/obstack.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def129]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/libgettextpo/printf-parse.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def130]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/libgettextpo/striconv.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def131]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/libgettextpo/striconveh.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def132]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/libgettextpo/string-desc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def133]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/libgettextpo/unilbrk/u8-possible-linebreaks.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def134]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/libgettextpo/unilbrk/u8-width-linebreaks.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def135]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/libgettextpo/unilbrk/ulc-width-linebreaks.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def136]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/libgettextpo/unilbrk/ulc-width-linebreaks.c:91:27: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
#   89|                         if (o != NULL)
#   90|                           {
#   91|->                           memset (o8, UC_BREAK_UNDEFINED, m);
#   92|                             for (i = 0; i < n; i++)
#   93|                               if (offsets[i] != (size_t)(-1))

Error: CLANG_WARNING: [#def137]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/libgettextpo/unilbrk/ulc-width-linebreaks.c:105:34: warning[core.NullDereference]: Array access (from variable 'q') results in a null pointer dereference
#  103|                         for (i = 0; i < n; i++)
#  104|                           if (offsets[i] != (size_t)(-1))
#  105|->                           p[i] = q[offsets[i]];
#  106|   
#  107|                         free (memory);

Error: CPPCHECK_WARNING: [#def138]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/libgettextpo/unistr/u8-mbtouc-aux.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def139]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/libgettextpo/vasnprintf.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def140]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/libgrep/kwset.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def141]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/libgrep/kwset.c:682:27: warning[core.NullDereference]: Array access results in a null pointer dereference
#  680|               }
#  681|             else
#  682|->             d = delta[c = (end += d)[-1]];
#  683|             if (d)
#  684|               continue;

Error: CPPCHECK_WARNING: [#def142]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/libgrep/m-fgrep.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def143]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/libgrep/m-regex.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def144]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/cldr-plural-exp.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def145]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/cldr-plural.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def146]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/cldr-plurals.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def147]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/file-list.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def148]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/filter-sr-latin.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def149]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/format-awk.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def150]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/format-boost.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def151]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/format-c++-brace.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def152]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/format-c++-brace.c:918:7: warning[deadcode.DeadStores]: Value stored to 'first' is never read
#  916|           p = stpcpy (p, ", ");
#  917|         p = stpcpy (p, "pointer");
#  918|->       first = false;
#  919|       }
#  920|     p = stpcpy (p, "]");

Error: CLANG_WARNING: [#def153]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/format-c.c:61: included_from: Included from here.
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/format-c-parse.h:941:7: warning[deadcode.DeadStores]: Value stored to 'numbered_arg_count' is never read
#  939|           spec.unnumbered[i].type = numbered[i].type;
#  940|         free (numbered);
#  941|->       numbered_arg_count = 0;
#  942|       }
#  943|   

Error: CPPCHECK_WARNING: [#def154]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/format-c.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def155]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/format-csharp.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def156]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/format-elisp.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def157]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/format-gcc-internal.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def158]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/format-gfc-internal.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def159]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/format-java-printf.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def160]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/format-java.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-691): [#def161]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/format-java.c: scope_hint: In function 'message_format_parse'
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/format-java.c:152:1: warning[-Wstack-protector]: stack protector not protecting local variables: variable length buffer
#  152 | message_format_parse (const char *format, char *fdi, struct spec *spec,
#      | ^~~~~~~~~~~~~~~~~~~~
#  150|      Extracts argument type information into spec.  */
#  151|   static bool
#  152|-> message_format_parse (const char *format, char *fdi, struct spec *spec,
#  153|                         char **invalid_reason)
#  154|   {

Error: COMPILER_WARNING (CWE-691): [#def162]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/format-java.c: scope_hint: In function 'choice_format_parse'
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/format-java.c:517:1: warning[-Wstack-protector]: stack protector not protecting local variables: variable length buffer
#  517 | choice_format_parse (const char *format, struct spec *spec,
#      | ^~~~~~~~~~~~~~~~~~~
#  515|      Extracts argument type information into spec.  */
#  516|   static bool
#  517|-> choice_format_parse (const char *format, struct spec *spec,
#  518|                        char **invalid_reason)
#  519|   {

Error: CPPCHECK_WARNING: [#def163]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/format-javascript.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def164]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/format-kde-kuit.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-704): [#def165]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/format-kde-kuit.c: scope_hint: In function 'format_parse'
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/format-kde-kuit.c:242:27: warning[-Wdiscarded-qualifiers]: initialization discards 'const' qualifier from pointer target type
#  240|         if (doc == NULL)
#  241|           {
#  242|->           xmlError *err = xmlGetLastError ();
#  243|             *invalid_reason =
#  244|               xasprintf (_("error while parsing: %s"),

Error: CPPCHECK_WARNING: [#def166]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/format-kde.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def167]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/format-librep.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def168]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/format-lisp.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def169]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/format-lisp.c:223:24: warning[core.NullDereference]: Access to field 'repcount' results in a dereference of a null pointer (loaded from variable 'newelement')
#  221|                 const struct format_arg *oldelement)
#  222|   {
#  223|->   newelement->repcount = oldelement->repcount;
#  224|     newelement->presence = oldelement->presence;
#  225|     newelement->type = oldelement->type;

Error: CLANG_WARNING: [#def170]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/format-lisp.c:1983:37: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1981|         free_element (&list->initial.element[s]);
# 1982|         list->initial.element[s].type = tmpelement.type;
# 1983|->       list->initial.element[s].list = tmpelement.list;
# 1984|       }
# 1985|   

Error: CPPCHECK_WARNING: [#def171]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/format-lua.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def172]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/format-pascal.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def173]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/format-perl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def174]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/format-php.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def175]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/format-python-brace.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def176]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/format-python.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def177]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/format-qt.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def178]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/format-ruby.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def179]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/format-scheme.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def180]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/format-scheme.c:226:24: warning[core.NullDereference]: Access to field 'repcount' results in a dereference of a null pointer (loaded from variable 'newelement')
#  224|                 const struct format_arg *oldelement)
#  225|   {
#  226|->   newelement->repcount = oldelement->repcount;
#  227|     newelement->presence = oldelement->presence;
#  228|     newelement->type = oldelement->type;

Error: CLANG_WARNING: [#def181]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/format-scheme.c:2006:37: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 2004|         free_element (&list->initial.element[s]);
# 2005|         list->initial.element[s].type = tmpelement.type;
# 2006|->       list->initial.element[s].list = tmpelement.list;
# 2007|       }
# 2008|   

Error: CPPCHECK_WARNING: [#def182]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/format-sh.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def183]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/format-smalltalk.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def184]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/format-tcl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def185]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/format.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def186]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/its.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-704): [#def187]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/its.c: scope_hint: In function 'its_rule_list_add_from_file'
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/its.c:1461:23: warning[-Wdiscarded-qualifiers]: initialization discards 'const' qualifier from pointer target type
# 1459|     if (doc == NULL)
# 1460|       {
# 1461|->       xmlError *err = xmlGetLastError ();
# 1462|         error (0, 0, _("cannot read %s: %s"), filename, err->message);
# 1463|         return false;

Error: COMPILER_WARNING (CWE-704): [#def188]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/its.c: scope_hint: In function 'its_rule_list_add_from_string'
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/its.c:1487:23: warning[-Wdiscarded-qualifiers]: initialization discards 'const' qualifier from pointer target type
# 1485|     if (doc == NULL)
# 1486|       {
# 1487|->       xmlError *err = xmlGetLastError ();
# 1488|         error (0, 0, _("cannot read %s: %s"), "(internal)", err->message);
# 1489|         return false;

Error: COMPILER_WARNING (CWE-704): [#def189]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/its.c: scope_hint: In function 'its_rule_list_extract'
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/its.c:1884:23: warning[-Wdiscarded-qualifiers]: initialization discards 'const' qualifier from pointer target type
# 1882|     if (doc == NULL)
# 1883|       {
# 1884|->       xmlError *err = xmlGetLastError ();
# 1885|         error (0, 0, _("cannot read %s: %s"), logical_filename, err->message);
# 1886|         return;

Error: COMPILER_WARNING (CWE-704): [#def190]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/its.c: scope_hint: In function 'its_merge_context_alloc'
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/its.c:2005:23: warning[-Wdiscarded-qualifiers]: initialization discards 'const' qualifier from pointer target type
# 2003|     if (doc == NULL)
# 2004|       {
# 2005|->       xmlError *err = xmlGetLastError ();
# 2006|         error (0, 0, _("cannot read %s: %s"), filename, err->message);
# 2007|         return NULL;

Error: CPPCHECK_WARNING: [#def191]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/locating-rule.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-704): [#def192]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/locating-rule.c: scope_hint: In function 'locating_rule_match'
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/locating-rule.c:181:27: warning[-Wdiscarded-qualifiers]: initialization discards 'const' qualifier from pointer target type
#  179|         if (doc == NULL)
#  180|           {
#  181|->           xmlError *err = xmlGetLastError ();
#  182|             error (0, 0, _("cannot read %s: %s"), filename, err->message);
#  183|             return NULL;

Error: CPPCHECK_WARNING: [#def193]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/message.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-691): [#def194]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/message.c: scope_hint: In function 'message_list_hash_insert_entry'
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/message.c:306:1: warning[-Wstack-protector]: stack protector not protecting local variables: variable length buffer
#  306 | message_list_hash_insert_entry (hash_table *htable, message_ty *mp)
#      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  304|   
#  305|   static int
#  306|-> message_list_hash_insert_entry (hash_table *htable, message_ty *mp)
#  307|   {
#  308|     char *alloced_key;

Error: COMPILER_WARNING (CWE-691): [#def195]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/message.c: scope_hint: In function 'message_list_search'
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/message.c:505:1: warning[-Wstack-protector]: stack protector not protecting local variables: variable length buffer
#  505 | message_list_search (message_list_ty *mlp,
#      | ^~~~~~~~~~~~~~~~~~~
#  503|   
#  504|   message_ty *
#  505|-> message_list_search (message_list_ty *mlp,
#  506|                        const char *msgctxt, const char *msgid)
#  507|   {

Error: CPPCHECK_WARNING: [#def196]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/msgattrib.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def197]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/msgcat.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def198]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/msgcmp.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-691): [#def199]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/msgcmp.c: scope_hint: In function ‘compare’
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/msgcmp.c:387:1: warning[-Wstack-protector]: stack protector not protecting local variables: variable length buffer
#  387 | compare (const char *fn1, const char *fn2, catalog_input_format_ty input_syntax)
#      | ^~~~~~~
#  385|   
#  386|   static void
#  387|-> compare (const char *fn1, const char *fn2, catalog_input_format_ty input_syntax)
#  388|   {
#  389|     msgdomain_list_ty *def;

Error: CPPCHECK_WARNING: [#def200]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/msgcomm.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def201]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/msgconv.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def202]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/msgen.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def203]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/msgexec.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def204]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/msgfilter.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def205]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/msgfmt.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def206]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/msggrep.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-691): [#def207]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/msggrep.c: scope_hint: In function ‘is_message_selected_no_invert’
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/msggrep.c:683:1: warning[-Wstack-protector]: stack protector not protecting local variables: variable length buffer
#  683 | is_message_selected_no_invert (const message_ty *mp)
#      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  681|      criteria and ignoring --invert-match.  */
#  682|   static bool
#  683|-> is_message_selected_no_invert (const message_ty *mp)
#  684|   {
#  685|     size_t i;

Error: CPPCHECK_WARNING: [#def208]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/msginit.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-691): [#def209]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/msginit.c: scope_hint: In function ‘subst_string.constprop.0’
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/msginit.c:1748:1: warning[-Wstack-protector]: stack protector not protecting local variables: variable length buffer
# 1748 | subst_string (const char *str,
#      | ^~~~~~~~~~~~
# 1746|      subst[j][0] must not be the empty string.  */
# 1747|   static const char *
# 1748|-> subst_string (const char *str,
# 1749|                 unsigned int nsubst, const char *(*subst)[2])
# 1750|   {

Error: GCC_ANALYZER_WARNING (CWE-835): [#def210]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/msginit.c: scope_hint: In function ‘subst_string’
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/msginit.c:1768:18: warning[-Wanalyzer-infinite-loop]: infinite loop
# 1766|         for (i = 0;;)
# 1767|           {
# 1768|->           if (str[i] == '\0')
# 1769|               break;
# 1770|             for (j = 0; j < nsubst; j++)

Error: CPPCHECK_WARNING: [#def211]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/msgl-ascii.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def212]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/msgl-cat.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-691): [#def213]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/msgl-cat.c: scope_hint: In function 'catenate_msgdomain_list'
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/msgl-cat.c:108:1: warning[-Wstack-protector]: stack protector not protecting local variables: variable length buffer
#  108 | catenate_msgdomain_list (string_list_ty *file_list,
#      | ^~~~~~~~~~~~~~~~~~~~~~~
#  106|   
#  107|   msgdomain_list_ty *
#  108|-> catenate_msgdomain_list (string_list_ty *file_list,
#  109|                            catalog_input_format_ty input_syntax,
#  110|                            const char *to_code)

Error: CPPCHECK_WARNING: [#def214]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/msgl-charset.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-691): [#def215]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/msgl-charset.c: scope_hint: In function 'compare_po_locale_charsets'
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/msgl-charset.c:46:1: warning[-Wstack-protector]: stack protector not protecting local variables: variable length buffer
#   46 | compare_po_locale_charsets (const msgdomain_list_ty *mdlp)
#      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
#   44|   
#   45|   void
#   46|-> compare_po_locale_charsets (const msgdomain_list_ty *mdlp)
#   47|   {
#   48|     const char *locale_code;

Error: CPPCHECK_WARNING: [#def216]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/msgl-check.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def217]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/msgl-equal.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def218]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/msgl-fsearch.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def219]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/msgl-header.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def220]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/msgl-iconv.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-691): [#def221]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/msgl-iconv.c: scope_hint: In function 'iconv_message_list_internal'
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/msgl-iconv.c:207:1: warning[-Wstack-protector]: stack protector not protecting local variables: variable length buffer
#  207 | iconv_message_list_internal (message_list_ty *mlp,
#      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
#  205|   
#  206|   static bool
#  207|-> iconv_message_list_internal (message_list_ty *mlp,
#  208|                                const char *canon_from_code,
#  209|                                const char *canon_to_code,

Error: CLANG_WARNING: [#def222]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/msgl-iconv.c:261:27: warning[deadcode.DeadStores]: Value stored to 'canon_charset' is never read
#  259|                                       == 0)
#  260|                                   || is_ascii_message_list (mlp)))
#  261|->                           canon_charset = po_charset_ascii;
#  262|                           else
#  263|                             po_xerror (PO_SEVERITY_FATAL_ERROR, NULL, NULL, 0, 0,

Error: CLANG_WARNING: [#def223]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/msgl-iconv.c:391:15: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
#  389|     if (msgdomain_list_has_filenames_with_spaces (mdlp)
#  390|         && !(canon_to_code == po_charset_utf8
#  391|->            || strcmp (canon_to_code, "GB18030") == 0))
#  392|       po_xerror (PO_SEVERITY_FATAL_ERROR, NULL, NULL, 0, 0, false,
#  393|                  xasprintf (_("Cannot write the control characters that protect file names with spaces in the %s encoding"),

Error: COMPILER_WARNING (CWE-691): [#def224]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/msgl-iconv.c: scope_hint: In function 'is_message_list_iconvable'
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/msgl-iconv.c:510:1: warning[-Wstack-protector]: stack protector not protecting local variables: variable length buffer
#  510 | is_message_list_iconvable (message_list_ty *mlp,
#      | ^~~~~~~~~~~~~~~~~~~~~~~~~
#  508|   
#  509|   bool
#  510|-> is_message_list_iconvable (message_list_ty *mlp,
#  511|                              const char *canon_from_code,
#  512|                              const char *canon_to_code)

Error: CLANG_WARNING: [#def225]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/msgl-iconv.c:551:27: warning[deadcode.DeadStores]: Value stored to 'canon_charset' is never read
#  549|                              files usually contain only ASCII msgids.  */
#  550|                           if (strcmp (charset, "CHARSET") == 0)
#  551|->                           canon_charset = po_charset_ascii;
#  552|                           else
#  553|                             {

Error: CPPCHECK_WARNING: [#def226]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/msgmerge.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-691): [#def227]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/msgmerge.c: scope_hint: In function ‘merge’
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/msgmerge.c:1759:1: warning[-Wstack-protector]: stack protector not protecting local variables: variable length buffer
# 1759 | merge (const char *fn1, const char *fn2, catalog_input_format_ty input_syntax,
#      | ^~~~~
# 1757|   
# 1758|   static msgdomain_list_ty *
# 1759|-> merge (const char *fn1, const char *fn2, catalog_input_format_ty input_syntax,
# 1760|          msgdomain_list_ty **defp)
# 1761|   {

Error: CPPCHECK_WARNING: [#def228]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/msgunfmt.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def229]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/msguniq.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def230]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/po-charset.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-691): [#def231]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/po-charset.c: scope_hint: In function 'po_lex_charset_set'
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/po-charset.c:467:1: warning[-Wstack-protector]: stack protector not protecting local variables: variable length buffer
#  467 | po_lex_charset_set (const char *header_entry, const char *filename)
#      | ^~~~~~~~~~~~~~~~~~
#  465|   
#  466|   void
#  467|-> po_lex_charset_set (const char *header_entry, const char *filename)
#  468|   {
#  469|     /* Verify the validity of CHARSET.  It is necessary

Error: CPPCHECK_WARNING: [#def232]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/po-lex.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def233]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/read-catalog-abstract.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def234]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/read-catalog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def235]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/read-csharp.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def236]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/read-desktop.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def237]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/read-mo.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def238]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/read-properties.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def239]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/read-stringtable.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def240]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/read-tcl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-691): [#def241]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/read-tcl.c: scope_hint: In function ‘msgdomain_read_tcl’
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/read-tcl.c:51:1: warning[-Wstack-protector]: stack protector not protecting local variables: variable length buffer
#   51 | msgdomain_read_tcl (const char *locale_name, const char *directory)
#      | ^~~~~~~~~~~~~~~~~~
#   49|   
#   50|   msgdomain_list_ty *
#   51|-> msgdomain_read_tcl (const char *locale_name, const char *directory)
#   52|   {
#   53|     const char *gettextdatadir;

Error: CPPCHECK_WARNING: [#def242]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/recode-sr-latin.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def243]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/recode-sr-latin.c:375:11: warning[unix.StdCLibraryFunctions]: The 1st argument to 'fwrite' is NULL but should not be NULL
#  373|               }
#  374|   
#  375|->           fwrite (backconv_line, 1, backconv_line_len, stdout);
#  376|           }
#  377|         else

Error: CPPCHECK_WARNING: [#def244]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/search-path.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def245]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/str-list.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def246]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/urlget.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-775): [#def247]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/urlget.c: scope_hint: In function ‘cat_file’
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/urlget.c:225:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(src_filename, 0)’
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/urlget.c:23: included_from: Included from here.
#  223|           {
#  224|   #ifdef EINTR
#  225|->           if (errno == EINTR)
#  226|               continue;
#  227|   #endif

Error: GCC_ANALYZER_WARNING (CWE-775): [#def248]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/urlget.c:233:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(src_filename, 0)’
#  231|           break;
#  232|   
#  233|->       if (full_write (STDOUT_FILENO, buf, n_read) < n_read)
#  234|           error (EXIT_FAILURE, errno, _("error writing stdout"));
#  235|       }

Error: CPPCHECK_WARNING: [#def249]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/write-catalog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def250]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/write-csharp.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-691): [#def251]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/write-csharp.c: scope_hint: In function ‘write_csharp_msgid.isra.0’
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/write-csharp.c:224:1: warning[-Wstack-protector]: stack protector not protecting local variables: variable length buffer
#  224 | write_csharp_msgid (FILE *stream, message_ty *mp)
#      | ^~~~~~~~~~~~~~~~~~
#  222|      given stream.  */
#  223|   static void
#  224|-> write_csharp_msgid (FILE *stream, message_ty *mp)
#  225|   {
#  226|     const char *msgctxt = mp->msgctxt;

Error: CPPCHECK_WARNING: [#def252]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/write-java.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-691): [#def253]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/write-java.c: scope_hint: In function ‘msgid_hashcode’
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/write-java.c:144:1: warning[-Wstack-protector]: stack protector not protecting local variables: variable length buffer
#  144 | msgid_hashcode (const char *msgctxt, const char *msgid)
#      | ^~~~~~~~~~~~~~
#  142|   /* Return the Java hash code of a (msgctxt, msgid) pair mod 2^31.  */
#  143|   static unsigned int
#  144|-> msgid_hashcode (const char *msgctxt, const char *msgid)
#  145|   {
#  146|     if (msgctxt == NULL)

Error: COMPILER_WARNING (CWE-691): [#def254]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/write-java.c: scope_hint: In function ‘compute_hashsize’
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/write-java.c:172:1: warning[-Wstack-protector]: stack protector not protecting local variables: variable length buffer
#  172 | compute_hashsize (message_list_ty *mlp, bool *collisionp)
#      | ^~~~~~~~~~~~~~~~
#  170|   /* Compute a good hash table size for the given set of msgids.  */
#  171|   static unsigned int
#  172|-> compute_hashsize (message_list_ty *mlp, bool *collisionp)
#  173|   {
#  174|     /* This is an O(n^2) algorithm, but should be sufficient because few

Error: CLANG_WARNING: [#def255]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/write-java.c:335:45: warning[core.DivideZero]: Division by zero
#  333|         if (bitmap[idx] != 0)
#  334|           {
#  335|->           unsigned int incr = 1 + (hashcode % (hashsize - 2));
#  336|             do
#  337|               {

Error: COMPILER_WARNING (CWE-691): [#def256]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/write-java.c: scope_hint: In function ‘write_java_msgid.isra.0’
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/write-java.c:408:1: warning[-Wstack-protector]: stack protector not protecting local variables: variable length buffer
#  408 | write_java_msgid (FILE *stream, message_ty *mp)
#      | ^~~~~~~~~~~~~~~~
#  406|      given stream.  */
#  407|   static void
#  408|-> write_java_msgid (FILE *stream, message_ty *mp)
#  409|   {
#  410|     const char *msgctxt = mp->msgctxt;

Error: COMPILER_WARNING (CWE-691): [#def257]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/write-java.c: scope_hint: In function ‘msgdomain_write_java’
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/write-java.c:1047:1: warning[-Wstack-protector]: stack protector not protecting local variables: variable length buffer
# 1047 | msgdomain_write_java (message_list_ty *mlp, const char *canon_encoding,
#      | ^~~~~~~~~~~~~~~~~~~~
# 1045|   
# 1046|   int
# 1047|-> msgdomain_write_java (message_list_ty *mlp, const char *canon_encoding,
# 1048|                         const char *resource_name, const char *locale_name,
# 1049|                         const char *directory,

Error: CPPCHECK_WARNING: [#def258]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/write-mo.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-691): [#def259]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/write-mo.c:370:1: warning[-Wstack-protector]: stack protector not protecting local variables: variable length buffer
#  370 | write_table (FILE *output_file, message_list_ty *mlp)
#      | ^~~~~~~~~~~
#  368|   /* Write the message list to the given open file.  */
#  369|   static void
#  370|-> write_table (FILE *output_file, message_list_ty *mlp)
#  371|   {
#  372|     char **msgctid_arr;

Error: COMPILER_WARNING: [#def260]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/write-mo.c: scope_hint: In function 'write_table'
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/write-mo.c:503:19: warning[-Walloc-size-larger-than=]: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807
#  503 |                   xmalloc (xsum (sizeof (struct pre_sysdep_string),
#      |                   ^
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/xalloc.h:59:7: note: in a call to allocation function 'xmalloc' declared here
#   59 | void *xmalloc (size_t s)
#      |       ^
#  501|                   struct pre_sysdep_string *pre =
#  502|                     (struct pre_sysdep_string *)
#  503|->                   xmalloc (xsum (sizeof (struct pre_sysdep_string),
#  504|                                    xtimes (nintervals[m],
#  505|                                            sizeof (struct pre_segment_pair))));

Error: COMPILER_WARNING: [#def261]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/write-mo.c: scope_hint: In function ‘write_table’
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/write-mo.c:503:19: warning[-Walloc-size-larger-than=]: argument 1 value ‘18446744073709551615’ exceeds maximum object size 9223372036854775807
#  503 |                   xmalloc (xsum (sizeof (struct pre_sysdep_string),
#      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  504 |                                  xtimes (nintervals[m],
#      |                                  ~~~~~~~~~~~~~~~~~~~~~~
#  505 |                                          sizeof (struct pre_segment_pair))));
#      |                                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/write-mo.c:46: included_from: Included from here.
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/gnulib-lib/xalloc.h:59:7: note: in a call to allocation function ‘xmalloc’ declared here
#   59 | void *xmalloc (size_t s)
#      |       ^~~~~~~
#  501|                   struct pre_sysdep_string *pre =
#  502|                     (struct pre_sysdep_string *)
#  503|->                   xmalloc (xsum (sizeof (struct pre_sysdep_string),
#  504|                                    xtimes (nintervals[m],
#  505|                                            sizeof (struct pre_segment_pair))));

Error: CPPCHECK_WARNING: [#def262]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/write-po.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def263]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/write-po.c:460:24: warning[core.NullDereference]: Array access (via field 'msgstr') results in a null pointer dereference
#  458|   message_print_comment_flags (const message_ty *mp, ostream_t stream, bool debug)
#  459|   {
#  460|->   if ((mp->is_fuzzy && mp->msgstr[0] != '\0')
#  461|         || has_significant_format_p (mp->is_format)
#  462|         || has_range_p (mp->range)

Error: CLANG_WARNING: [#def264]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/write-po.c:528:11: warning[deadcode.DeadStores]: Value stored to 'first_flag' is never read
#  526|                                make_c_width_description_string (mp->do_wrap));
#  527|             end_css_class (stream, class_flag);
#  528|->           first_flag = false;
#  529|           }
#  530|   

Error: COMPILER_WARNING: [#def265]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/write-po.c:644:17: warning[-Wstringop-overflow=]: '__builtin_memset' specified bound 18446744073709551614 exceeds maximum object size 9223372036854775807
#  644 |         do *++p = c; while (--n > 0);
#      |                 ^
#  642|         *p = c;
#  643|         if (--n > 0)
#  644|->         do *++p = c; while (--n > 0);
#  645|       }
#  646|   }

Error: CLANG_WARNING: [#def266]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/write-po.c:1121:17: warning[deadcode.DeadStores]: Value stored to 'currcol' is never read
# 1119|                   currcol += extra_indent;
# 1120|                   ostream_write_mem (stream, "        ", 8 - (currcol & 7));
# 1121|->                 currcol = (currcol + 8) & ~7;
# 1122|                 }
# 1123|               else

Error: CLANG_WARNING: [#def267]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/write-po.c:1138:17: warning[deadcode.DeadStores]: Value stored to 'currcol' is never read
# 1136|                   currcol += extra_indent;
# 1137|                   ostream_write_mem (stream, "        ", 8 - (currcol & 7));
# 1138|->                 currcol = (currcol + 8) & ~7;
# 1139|                 }
# 1140|             }

Error: CLANG_WARNING: [#def268]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/write-po.c:1192:21: warning[deadcode.DeadStores]: Value stored to 'currcol' is never read
# 1190|                     {
# 1191|                       ostream_write_mem (stream, "        ", 8 - (currcol & 7));
# 1192|->                     currcol = (currcol + 8) & ~7;
# 1193|                     }
# 1194|                   begin_css_class (stream, class_string);

Error: CLANG_WARNING: [#def269]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/write-po.c:1504:11: warning[deadcode.DeadStores]: Value stored to 'first_flag' is never read
# 1502|             ostream_write_str (stream,
# 1503|                                make_c_width_description_string (mp->do_wrap));
# 1504|->           first_flag = false;
# 1505|           }
# 1506|   

Error: COMPILER_WARNING (CWE-691): [#def270]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/write-po.c: scope_hint: In function 'msgdomain_list_print_po'
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/write-po.c:1589:1: warning[-Wstack-protector]: stack protector not protecting local variables: variable length buffer
# 1589 | msgdomain_list_print_po (msgdomain_list_ty *mdlp, ostream_t stream,
#      | ^~~~~~~~~~~~~~~~~~~~~~~
# 1587|   
# 1588|   static void
# 1589|-> msgdomain_list_print_po (msgdomain_list_ty *mdlp, ostream_t stream,
# 1590|                            size_t page_width, bool debug)
# 1591|   {

Error: CPPCHECK_WARNING: [#def271]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/write-properties.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def272]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/write-qt.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def273]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/write-qt.c:545:47: warning[core.DivideZero]: Division by zero
#  543|                 {
#  544|                   const char *context = (const char *)key;
#  545|->                 i = string_hashcode (context) % table_size;
#  546|                   freelist->context = context;
#  547|                   freelist->next = NULL;

Error: CPPCHECK_WARNING: [#def274]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/write-resources.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def275]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/write-stringtable.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def276]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/write-tcl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-691): [#def277]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/write-tcl.c: scope_hint: In function ‘msgdomain_write_tcl’
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/write-tcl.c:139:1: warning[-Wstack-protector]: stack protector not protecting local variables: variable length buffer
#  139 | msgdomain_write_tcl (message_list_ty *mlp, const char *canon_encoding,
#      | ^~~~~~~~~~~~~~~~~~~
#  137|   
#  138|   int
#  139|-> msgdomain_write_tcl (message_list_ty *mlp, const char *canon_encoding,
#  140|                        const char *locale_name,
#  141|                        const char *directory)

Error: CPPCHECK_WARNING: [#def278]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/x-awk.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def279]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/x-awk.c:631:23: warning[deadcode.DeadStores]: Value stored to 'c' is never read
#  629|                     else if (c == '\\')
#  630|                       {
#  631|->                       c = phase1_getc ();
#  632|                         /* Backslash-newline is valid and ignored.  */
#  633|                       }

Error: CPPCHECK_WARNING: [#def280]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/x-c.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def281]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/x-csharp.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def282]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/x-elisp.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def283]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/x-java.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def284]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/x-javascript.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def285]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/x-lisp.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def286]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/x-lua.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def287]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/x-perl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def288]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/x-perl.c:1371:9: warning[core.NullDereference]: Array access (from variable 'buffer') results in a null pointer dereference
# 1369|       /* Hash references are treated in a special way, when looking for
# 1370|          our keywords.  */
# 1371|->     if (buffer[0] == '$')
# 1372|         {
# 1373|           if (bufpos == 1)

Error: CLANG_WARNING: [#def289]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/x-perl.c:1814:15: warning[deadcode.DeadStores]: Value stored to 'c' is never read
# 1812|                     return;
# 1813|                   }
# 1814|->               c = string_desc_char_at (string, index++);
# 1815|                 break;
# 1816|               case '$':

Error: CPPCHECK_WARNING: [#def290]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/x-php.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def291]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/x-po.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def292]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/x-python.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def293]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/x-rst.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def294]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/x-ruby.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def295]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/x-scheme.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def296]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/x-sh.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def297]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/x-smalltalk.c:424:11: warning[deadcode.DeadStores]: Value stored to 'c' is never read
#  422|   
#  423|           case '$':
#  424|->           c = phase1_getc ();
#  425|             tp->type = token_type_other;
#  426|             return;

Error: CPPCHECK_WARNING: [#def298]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/x-tcl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def299]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/x-vala.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def300]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/xg-arglist-callshape.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def301]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/xg-arglist-parser.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def302]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/xg-message.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def303]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/xgettext.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-691): [#def304]
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/xgettext.c: scope_hint: In function ‘flag_context_list_table_insert’
gettext-0.22.5-build/gettext-0.22.5/gettext-tools/src/xgettext.c:1353:1: warning[-Wstack-protector]: stack protector not protecting local variables: variable length buffer
# 1353 | flag_context_list_table_insert (flag_context_list_table_ty *table,
#      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1351|   
# 1352|   static void
# 1353|-> flag_context_list_table_insert (flag_context_list_table_ty *table,
# 1354|                                   unsigned int index,
# 1355|                                   const char *name_start, const char *name_end,

Error: CPPCHECK_WARNING: [#def305]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/adhoc-tests/hello.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-835): [#def306]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/html-ostream.oo.c: scope_hint: In function ‘html_ostream__write_mem.part.0’
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/html-ostream.oo.c:176:34: warning[-Wanalyzer-infinite-loop]: infinite loop
#  174|               /* Combine the previous rest with a chunk of new input.  */
#  175|               size_t n =
#  176|->               (len <= BUFFERSIZE - inbufcount ? len : BUFFERSIZE - inbufcount);
#  177|   
#  178|               if (n > 0)

Error: CLANG_WARNING: [#def307]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-declaration.c:244:25: warning[deadcode.DeadStores]: Value stored to 'status' is never read
#  242|                   }
#  243|                   if (c == ';') {
#  244|->                         status = cr_tknzr_read_char (tokenizer, &c);
#  245|                   } else {
#  246|                           break;

Error: CLANG_WARNING: [#def308]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-fonts.c:315:33: warning[unix.Malloc]: Use of memory after it is freed
#  313|           for (cur_ff = a_this; cur_ff && cur_ff->next; cur_ff = cur_ff->next) ;
#  314|   
#  315|->         for (; cur_ff; cur_ff = cur_ff->prev) {
#  316|                   if (a_this->name) {
#  317|                           g_free (a_this->name);

Error: CLANG_WARNING: [#def309]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-input.c:247:33: warning[deadcode.DeadStores]: Value stored to 'status' is never read
#  245|                                   /*a pb occurred !! */
#  246|                                   cr_utils_trace_debug ("an io error occurred");
#  247|->                                 status = CR_ERROR;
#  248|                                   goto cleanup;
#  249|                           }

Error: CLANG_WARNING: [#def310]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-parser.c:707:17: warning[deadcode.DeadStores]: Value stored to 'status' is never read
#  705|           status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
#  706|           if (status == CR_END_OF_INPUT_ERROR) {
#  707|->                 status = CR_OK;
#  708|                   goto done;
#  709|           } else if (status != CR_OK) {

Error: CLANG_WARNING: [#def311]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-parser.c:866:9: warning[deadcode.DeadStores]: Value stored to 'status' is never read
#  864|   
#  865|           cr_parser_try_to_skip_spaces_and_comments (a_this);
#  866|->         status = cr_parser_parse_declaration_core (a_this);
#  867|   
#  868|         parse_declaration_list:

Error: CLANG_WARNING: [#def312]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-parser.c:897:17: warning[deadcode.DeadStores]: Value stored to 'status' is never read
#  895|                   goto done;
#  896|           } else {
#  897|->                 status = cr_tknzr_unget_token (PRIVATE (a_this)->tknzr,
#  898|                                                  token);
#  899|                   token = NULL;

Error: CLANG_WARNING: [#def313]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-parser.c:1119:17: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 1117|           switch (token->type) {
# 1118|           case CBO_TK:
# 1119|->                 status = cr_tknzr_unget_token (PRIVATE (a_this)->tknzr,
# 1120|                                                  token);
# 1121|                   token = NULL;

Error: CLANG_WARNING: [#def314]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-parser.c:1133:17: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 1131|   
# 1132|           default:
# 1133|->                 status = cr_tknzr_unget_token (PRIVATE (a_this)->tknzr,
# 1134|                                                  token);
# 1135|                   token = NULL;

Error: CLANG_WARNING: [#def315]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-parser.c:1215:17: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 1213|           case COMMENT_TK:
# 1214|           case IMPORTANT_SYM_TK:
# 1215|->                 status = CR_OK;
# 1216|                   break;
# 1217|           case FUNCTION_TK:

Error: CLANG_WARNING: [#def316]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-parser.c:1244:25: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 1242|                           goto done;
# 1243|                   } else {
# 1244|->                         status = cr_tknzr_unget_token
# 1245|                                   (PRIVATE (a_this)->tknzr, token2);
# 1246|                           token2 = NULL;

Error: CLANG_WARNING: [#def317]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-parser.c:1259:17: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 1257|                   ENSURE_PARSING_COND (status == CR_OK
# 1258|                                        && token2 && token2->type == PC_TK);
# 1259|->                 status = CR_OK;
# 1260|                   break;
# 1261|   

Error: CLANG_WARNING: [#def318]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-parser.c:1272:25: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 1270|                           goto done;
# 1271|                   } else {
# 1272|->                         status = cr_tknzr_unget_token
# 1273|                                   (PRIVATE (a_this)->tknzr, token2);
# 1274|                           token2 = NULL;

Error: CLANG_WARNING: [#def319]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-parser.c:1287:17: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 1285|                   ENSURE_PARSING_COND (status == CR_OK
# 1286|                                        && token2 && token2->type == BC_TK);
# 1287|->                 status = CR_OK;
# 1288|                   break;
# 1289|           default:

Error: CLANG_WARNING: [#def320]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-parser.c:1572:17: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 1570|                   status = CR_OK;
# 1571|           } else if (token && token->type == FUNCTION_TK) {
# 1572|->                 status = cr_tknzr_unget_token (PRIVATE (a_this)->tknzr,
# 1573|                                                  token);
# 1574|                   token = NULL;

Error: CLANG_WARNING: [#def321]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-parser.c:1708:17: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 1706|                   found_sel = TRUE;
# 1707|           } else {
# 1708|->                 status = cr_tknzr_unget_token 
# 1709|                           (PRIVATE (a_this)->tknzr,
# 1710|                            token);

Error: CLANG_WARNING: [#def322]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-parser.c:1866:33: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 1864|                                           cr_additional_sel_append
# 1865|                                           (add_sel_list, add_sel);
# 1866|->                                 status = CR_OK;
# 1867|                           }
# 1868|                   } else {

Error: CLANG_WARNING: [#def323]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-parser.c:1985:25: warning[deadcode.DeadStores]: Value stored to 'comb' is never read
# 1983|                   if (comb && sel) {
# 1984|                           sel->combinator = comb;
# 1985|->                         comb = 0;
# 1986|                   }
# 1987|                   if (sel) {

Error: CLANG_WARNING: [#def324]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-parser.c:2049:25: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 2047|           if (status != CR_OK) {
# 2048|                   if (status == CR_END_OF_INPUT_ERROR) {
# 2049|->                         status = CR_OK;
# 2050|                           goto okay;
# 2051|                   } else {

Error: CLANG_WARNING: [#def325]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-parser.c:2064:41: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 2062|                           if (status != CR_OK) {
# 2063|                                   if (status == CR_END_OF_INPUT_ERROR) {
# 2064|->                                         status = CR_OK;
# 2065|                                           break;
# 2066|                                   } else {

Error: CLANG_WARNING: [#def326]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-parser.c:2403:17: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 2401|   
# 2402|           if (token) {
# 2403|->                 status = cr_tknzr_unget_token (PRIVATE (a_this)->tknzr,
# 2404|                                                  token);
# 2405|                   token = NULL;

Error: CLANG_WARNING: [#def327]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-parser.c:2494:25: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 2492|                                  || token->type == CDO_TK
# 2493|                                  || token->type == CDC_TK)) {
# 2494|->                         status = cr_tknzr_unget_token
# 2495|                                   (PRIVATE (a_this)->tknzr, token);
# 2496|                           token = NULL;

Error: CLANG_WARNING: [#def328]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-parser.c:2516:33: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 2514|                   } else {
# 2515|                           if (token) {
# 2516|->                                 status = cr_tknzr_unget_token
# 2517|                                           (PRIVATE (a_this)->tknzr, token);
# 2518|                                   token = NULL;

Error: CLANG_WARNING: [#def329]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-parser.c:2538:25: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 2536|                       && (token->type == S_TK
# 2537|                           || token->type == CDO_TK || token->type == CDC_TK)) {
# 2538|->                         status = cr_tknzr_unget_token
# 2539|                                   (PRIVATE (a_this)->tknzr, token);
# 2540|                           token = NULL;

Error: CLANG_WARNING: [#def330]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-parser.c:2550:33: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 2548|                                   cr_parser_try_to_skip_spaces_and_comments
# 2549|                                           (a_this);
# 2550|->                                 status = cr_tknzr_get_next_token
# 2551|                                           (PRIVATE (a_this)->tknzr, &token);
# 2552|                           } while (token

Error: CLANG_WARNING: [#def331]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-parser.c:3226:9: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 3224|   
# 3225|           cr_parser_try_to_skip_spaces_and_comments (a_this);
# 3226|->         status = cr_parser_parse_prio (a_this, &prio);
# 3227|           if (prio) {
# 3228|                   cr_string_destroy (prio);

Error: CLANG_WARNING: [#def332]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-parser.c:3420:25: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 3418|                   status = cr_tknzr_peek_char (PRIVATE (a_this)->tknzr, &c) ;
# 3419|                   if (status == CR_OK && c == '}') {
# 3420|->                         status = CR_OK ;
# 3421|                           goto end_of_ruleset ;
# 3422|                   }

Error: CLANG_WARNING: [#def333]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-parser.c:3476:17: warning[deadcode.DeadStores]: Value stored to 'start_selector' is never read
# 3474|                   PRIVATE (a_this)->sac_handler->end_selector
# 3475|                           (PRIVATE (a_this)->sac_handler, selector);
# 3476|->                 start_selector = FALSE;
# 3477|           }
# 3478|   

Error: CLANG_WARNING: [#def334]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-parser.c:3621:33: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 3619|                                                     &next_char)) != CR_OK) {
# 3620|                           if (status == CR_END_OF_INPUT_ERROR) {
# 3621|->                                 status = CR_OK;
# 3622|                                   goto okay;
# 3623|                           }

Error: COMPILER_WARNING: [#def335]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-parsing-location.c: scope_hint: In function 'libtextstyle_cr_parsing_location_to_string'
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-parsing-location.c:128:56: warning[-Wformat=]: format '%d' expects argument of type 'int', but argument 3 has type 'guint' {aka 'unsigned int'}
#  128 |                 g_string_append_printf (result, "line:%d ",
#      |                                                       ~^
#      |                                                        |
#      |                                                        int
#      |                                                       %d
#  129 |                                         a_this->line) ;
#      |                                         ~~~~~~~~~~~~    
#      |                                               |
#      |                                               guint {aka unsigned int}
#  126|   		return NULL ;
#  127|   	if (a_mask & DUMP_LINE) {
#  128|-> 		g_string_append_printf (result, "line:%d ", 
#  129|   					a_this->line) ;
#  130|   	}

Error: COMPILER_WARNING: [#def336]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-parsing-location.c:132:58: warning[-Wformat=]: format '%d' expects argument of type 'int', but argument 3 has type 'guint' {aka 'unsigned int'}
#  132 |                 g_string_append_printf (result, "column:%d ",
#      |                                                         ~^
#      |                                                          |
#      |                                                          int
#      |                                                         %d
#  133 |                                         a_this->column) ;
#      |                                         ~~~~~~~~~~~~~~    
#      |                                               |
#      |                                               guint {aka unsigned int}
#  130|   	}
#  131|   	if (a_mask & DUMP_COLUMN) {
#  132|-> 		g_string_append_printf (result, "column:%d ", 
#  133|   					a_this->column) ;
#  134|   	}

Error: COMPILER_WARNING: [#def337]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-parsing-location.c:136:63: warning[-Wformat=]: format '%d' expects argument of type 'int', but argument 3 has type 'guint' {aka 'unsigned int'}
#  136 |                 g_string_append_printf (result, "byte offset:%d ",
#      |                                                              ~^
#      |                                                               |
#      |                                                               int
#      |                                                              %d
#  137 |                                         a_this->byte_offset) ;
#      |                                         ~~~~~~~~~~~~~~~~~~~    
#      |                                               |
#      |                                               guint {aka unsigned int}
#  134|   	}
#  135|   	if (a_mask & DUMP_BYTE_OFFSET) {
#  136|-> 		g_string_append_printf (result, "byte offset:%d ", 
#  137|   					a_this->byte_offset) ;
#  138|   	}

Error: CLANG_WARNING: [#def338]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-prop-list.c:102:29: warning[core.NullDereference]: Access to field 'next' results in a dereference of a null pointer (loaded from field 'priv')
#  100|                cur = PRIVATE (cur)->next) ;
#  101|           g_return_val_if_fail (cur, NULL);
#  102|->         PRIVATE (cur)->next = a_to_append;
#  103|           PRIVATE (a_to_append)->prev = cur;
#  104|           return a_this;

Error: CLANG_WARNING: [#def339]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-prop-list.c:406:24: warning[core.NullDereference]: Access to field 'prev' results in a dereference of a null pointer (loaded from field 'priv')
#  404|   
#  405|           while (cur) {
#  406|->                 tail = PRIVATE (cur)->prev;
#  407|                   if (tail && PRIVATE (tail))
#  408|                           PRIVATE (tail)->next = NULL;

Error: CLANG_WARNING: [#def340]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-rgb.c:684:2: warning[deadcode.DeadStores]: Value stored to 'status' is never read
#  682|   	    	goto cleanup;
#  683|   
#  684|-> 	status = cr_rgb_set_from_term (result, value);
#  685|   
#  686|   cleanup:

Error: CLANG_WARNING: [#def341]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-sel-eng.c:1087:24: warning[core.NullDereference]: Access to field 'specificity' results in a dereference of a null pointer (loaded from field 'parent_statement')
# 1085|                    */
# 1086|                   if (a_stmt->specificity
# 1087|->                     >= decl->parent_statement->specificity) {
# 1088|                           if (decl->important == TRUE)
# 1089|                                   continue;

Error: CLANG_WARNING: [#def342]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-sel-eng.c:1388:17: warning[deadcode.DeadStores]: Although the value stored to 'status' is used in the enclosing expression, the value is never actually read from 'status'
# 1386|           tab_len = tab_size;
# 1387|   
# 1388|->         while ((status = cr_sel_eng_get_matched_rulesets_real
# 1389|                   (a_this, a_sheet, a_node, stmts_tab + index, &tab_len))
# 1390|                  == CR_OUTPUT_TOO_SHORT_ERROR) {

Error: CLANG_WARNING: [#def343]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-sel-eng.c:1506:25: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 1504|                           if (!stmt->parent_sheet)
# 1505|                                   continue;
# 1506|->                         status = put_css_properties_in_props_list
# 1507|                                   (a_props, stmt);
# 1508|                           break;

Error: CLANG_WARNING: [#def344]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-statement.c:387:9: warning[deadcode.DeadStores]: Value stored to 'status' is never read
#  385|                                             (gpointer *) at_media_ptr);
#  386|           g_return_if_fail (status == CR_OK && at_media);
#  387|->         status = cr_doc_handler_set_result (a_this, at_media);
#  388|   }
#  389|   

Error: CLANG_WARNING: [#def345]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-statement.c:1551:9: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 1549|   
# 1550|   	resultptr = &result;
# 1551|->         status = cr_doc_handler_get_result (sac_handler,
# 1552|                                               (gpointer *) resultptr);
# 1553|   

Error: CLANG_WARNING: [#def346]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-statement.c:2781:13: warning[core.NullDereference]: Access to field 'prev' results in a dereference of a null pointer (loaded from variable 'cur')
# 2779|                   cr_statement_clear (cur);
# 2780|   
# 2781|->         if (cur->prev == NULL) {
# 2782|                   g_free (a_this);
# 2783|                   return;

Error: CLANG_WARNING: [#def347]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-style.c:482:4: warning[deadcode.DeadStores]: Value stored to 'status' is never read
#  480|                                    a_value->content.str->stryng->str,
#  481|                                    sizeof ("inherit")-1)) {
#  482|-> 			status = cr_num_set (num_val, 0.0, NUM_INHERIT);
#  483|                           return CR_OK;
#  484|                   } else

Error: CLANG_WARNING: [#def348]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-style.c:797:32: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
#  795|                   } else if (a_value->content.str
#  796|                              && a_value->content.str->stryng
#  797|->                            && !strcmp (a_value->content.str->stryng->str,
#  798|                                           "auto")) {
#  799|                           status = cr_num_set (num_val, 0.0, NUM_AUTO);

Error: CLANG_WARNING: [#def349]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-style.c:1170:25: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 1168|                   }
# 1169|                   if (status != CR_OK) {
# 1170|->                         status = set_prop_border_x_color_from_value
# 1171|                                   (a_style, cur_term, a_dir);
# 1172|                   }

Error: CLANG_WARNING: [#def350]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-style.c:1544:25: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 1542|                   } else {
# 1543|                           cr_utils_trace_info ("Unknown value of font-size") ;
# 1544|->                         status = init_style_font_size_field (a_style);
# 1545|                           return CR_UNKNOWN_PROP_VAL_ERROR;
# 1546|                   }

Error: CLANG_WARNING: [#def351]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-style.c:1561:17: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 1559|   
# 1560|           default:
# 1561|->                 status = init_style_font_size_field (a_style);
# 1562|                   return CR_UNKNOWN_PROP_VAL_ERROR;
# 1563|           }

Error: CLANG_WARNING: [#def352]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-tknzr.c:373:17: warning[deadcode.DeadStores]: Value stored to 'status' is never read
#  371|                   RECORD_CUR_BYTE_ADDR (a_this, a_end);
#  372|   
#  373|->                 status = CR_OK;
#  374|           } else if (next_chars[0] == '\n'
#  375|                      || next_chars[0] == '\r' || next_chars[0] == '\f') {

Error: CLANG_WARNING: [#def353]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-tknzr.c:383:17: warning[deadcode.DeadStores]: Value stored to 'status' is never read
#  381|                   RECORD_CUR_BYTE_ADDR (a_this, a_start);
#  382|                   *a_end = *a_start;
#  383|->                 status = CR_OK;
#  384|           } else {
#  385|                   status = CR_PARSING_ERROR;

Error: CLANG_WARNING: [#def354]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-tknzr.c:720:58: warning[core.NullDereference]: Access to field 'stryng' results in a dereference of a null pointer (loaded from variable 'str')
#  718|   
#  719|                           if (next_chars[1] == '\'' || next_chars[1] == '"') {
#  720|->                                 g_string_append_unichar (str->stryng, 
#  721|                                                            next_chars[1]);
#  722|                                   SKIP_BYTES (a_this, 2);

Error: CLANG_WARNING: [#def355]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-tknzr.c:730:50: warning[core.NullDereference]: Access to field 'stryng' results in a dereference of a null pointer (loaded from variable 'str')
#  728|                                   if (status == CR_OK) {
#  729|                                           g_string_append_unichar
#  730|->                                                 (str->stryng, 
#  731|                                                    esc_code);
#  732|                                   }

Error: CLANG_WARNING: [#def356]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-tknzr.c:751:50: warning[core.NullDereference]: Access to field 'stryng' results in a dereference of a null pointer (loaded from variable 'str')
#  749|                              || (next_chars[0] >= '(' && next_chars[0] <= '~')) {
#  750|                           READ_NEXT_CHAR (a_this, &cur_char);
#  751|->                         g_string_append_unichar (str->stryng, 
#  752|                                                    cur_char);
#  753|                           status = CR_OK;

Error: CLANG_WARNING: [#def357]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-tknzr.c:753:25: warning[deadcode.DeadStores]: Value stored to 'status' is never read
#  751|                           g_string_append_unichar (str->stryng, 
#  752|                                                    cur_char);
#  753|->                         status = CR_OK;
#  754|                   }
#  755|   

Error: CLANG_WARNING: [#def358]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-tknzr.c:758:50: warning[core.NullDereference]: Access to field 'stryng' results in a dereference of a null pointer (loaded from variable 'str')
#  756|                   else if (cr_utils_is_nonascii (next_chars[0])) {
#  757|                           READ_NEXT_CHAR (a_this, &cur_char);
#  758|->                         g_string_append_unichar (str->stryng, cur_char);
#  759|                   } else if (next_chars[0] == delim) {
#  760|                           READ_NEXT_CHAR (a_this, &cur_char);

Error: CLANG_WARNING: [#def359]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-tknzr.c:840:17: warning[deadcode.DeadStores]: Value stored to 'status' is never read
#  838|                   }
#  839|                   *a_char = cur_char;
#  840|->                 status = CR_OK;
#  841|           } else {
#  842|                   status = CR_PARSING_ERROR;

Error: CLANG_WARNING: [#def360]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-tknzr.c:907:17: warning[deadcode.DeadStores]: Value stored to 'status' is never read
#  905|                   READ_NEXT_CHAR (a_this, &cur_char);
#  906|                   *a_char = cur_char;
#  907|->                 status = CR_OK;
#  908|                   if (a_location) {
#  909|                           cr_tknzr_get_parsing_location

Error: CLANG_WARNING: [#def361]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-tknzr.c:974:17: warning[deadcode.DeadStores]: Value stored to 'location_is_set' is never read
#  972|                   cr_tknzr_get_parsing_location 
#  973|                           (a_this, &stringue->location) ;
#  974|->                 location_is_set = TRUE ;
#  975|           }
#  976|           g_string_append_unichar (stringue->stryng, tmp_char);

Error: CLANG_WARNING: [#def362]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-tknzr.c:1174:17: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 1172|           if (status == CR_OK) {
# 1173|                   guint32 next_char = 0;
# 1174|->                 status = cr_tknzr_parse_w (a_this, &tmp_ptr1, 
# 1175|                                              &tmp_ptr2, NULL);
# 1176|                   cr_tknzr_try_to_skip_spaces (a_this);

Error: CLANG_WARNING: [#def363]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-tknzr.c:1196:33: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 1194|                                   g_string_append_unichar 
# 1195|                                           (str->stryng, cur_char);
# 1196|->                                 status = CR_OK;
# 1197|                           } else {
# 1198|                                   guint32 esc_code = 0;

Error: CLANG_WARNING: [#def364]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-tknzr.c:1206:41: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 1204|                                                    esc_code);
# 1205|                                   } else {
# 1206|->                                         status = CR_OK;
# 1207|                                           break;
# 1208|                                   }

Error: CLANG_WARNING: [#def365]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-tknzr.c:1214:25: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 1212|                   READ_NEXT_CHAR (a_this, &cur_char);
# 1213|                   if (cur_char == ')') {
# 1214|->                         status = CR_OK;
# 1215|                   } else {
# 1216|                           status = CR_PARSING_ERROR;

Error: CLANG_WARNING: [#def366]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-tknzr.c:1283:17: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 1281|                   SKIP_CHARS (a_this, 2);
# 1282|           } else {
# 1283|->                 status = CR_PARSING_ERROR;
# 1284|                   goto error;
# 1285|           }

Error: CLANG_WARNING: [#def367]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-tknzr.c:1294:17: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 1292|   
# 1293|           if (num->val > G_MAXLONG) {
# 1294|->                 status = CR_PARSING_ERROR;
# 1295|                   goto error;
# 1296|           }

Error: CLANG_WARNING: [#def368]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-tknzr.c:1318:25: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 1316|   
# 1317|                   if (num->val > G_MAXLONG) {
# 1318|->                         status = CR_PARSING_ERROR;
# 1319|                           goto error;
# 1320|                   }

Error: CLANG_WARNING: [#def369]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-tknzr.c:1347:25: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 1345|   
# 1346|                   if (*a_rgb == NULL) {
# 1347|->                         status = CR_ERROR;
# 1348|                           goto error;
# 1349|                   }

Error: CLANG_WARNING: [#def370]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-tknzr.c:2413:41: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 2411|                                       && next_bytes[1] == 'm') {
# 2412|                                           num->type = NUM_LENGTH_EM;
# 2413|->                                         status = cr_token_set_ems (token,
# 2414|                                                                      num);
# 2415|                                           num = NULL;

Error: CLANG_WARNING: [#def371]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-tknzr.c:2420:41: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 2418|                                              && next_bytes[1] == 'x') {
# 2419|                                           num->type = NUM_LENGTH_EX;
# 2420|->                                         status = cr_token_set_exs (token,
# 2421|                                                                      num);
# 2422|                                           num = NULL;

Error: CLANG_WARNING: [#def372]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-tknzr.c:2427:41: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 2425|                                              && next_bytes[1] == 'x') {
# 2426|                                           num->type = NUM_LENGTH_PX;
# 2427|->                                         status = cr_token_set_length
# 2428|                                                   (token, num, LENGTH_PX_ET);
# 2429|                                           num = NULL;

Error: CLANG_WARNING: [#def373]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-tknzr.c:2434:41: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 2432|                                              && next_bytes[1] == 'm') {
# 2433|                                           num->type = NUM_LENGTH_CM;
# 2434|->                                         status = cr_token_set_length
# 2435|                                                   (token, num, LENGTH_CM_ET);
# 2436|                                           num = NULL;

Error: CLANG_WARNING: [#def374]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-tknzr.c:2441:41: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 2439|                                              && next_bytes[1] == 'm') {
# 2440|                                           num->type = NUM_LENGTH_MM;
# 2441|->                                         status = cr_token_set_length
# 2442|                                                   (token, num, LENGTH_MM_ET);
# 2443|                                           num = NULL;

Error: CLANG_WARNING: [#def375]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-tknzr.c:2448:41: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 2446|                                              && next_bytes[1] == 'n') {
# 2447|                                           num->type = NUM_LENGTH_IN;
# 2448|->                                         status = cr_token_set_length
# 2449|                                                   (token, num, LENGTH_IN_ET);
# 2450|                                           num = NULL;

Error: CLANG_WARNING: [#def376]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-tknzr.c:2455:41: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 2453|                                              && next_bytes[1] == 't') {
# 2454|                                           num->type = NUM_LENGTH_PT;
# 2455|->                                         status = cr_token_set_length
# 2456|                                                   (token, num, LENGTH_PT_ET);
# 2457|                                           num = NULL;

Error: CLANG_WARNING: [#def377]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-tknzr.c:2462:41: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 2460|                                              && next_bytes[1] == 'c') {
# 2461|                                           num->type = NUM_LENGTH_PC;
# 2462|->                                         status = cr_token_set_length
# 2463|                                                   (token, num, LENGTH_PC_ET);
# 2464|                                           num = NULL;

Error: CLANG_WARNING: [#def378]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-tknzr.c:2470:41: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 2468|                                              && next_bytes[2] == 'g') {
# 2469|                                           num->type = NUM_ANGLE_DEG;
# 2470|->                                         status = cr_token_set_angle
# 2471|                                                   (token, num, ANGLE_DEG_ET);
# 2472|                                           num = NULL;

Error: CLANG_WARNING: [#def379]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-tknzr.c:2478:41: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 2476|                                              && next_bytes[2] == 'd') {
# 2477|                                           num->type = NUM_ANGLE_RAD;
# 2478|->                                         status = cr_token_set_angle
# 2479|                                                   (token, num, ANGLE_RAD_ET);
# 2480|                                           num = NULL;

Error: CLANG_WARNING: [#def380]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-tknzr.c:2487:41: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 2485|                                              && next_bytes[3] == 'd') {
# 2486|                                           num->type = NUM_ANGLE_GRAD;
# 2487|->                                         status = cr_token_set_angle
# 2488|                                                   (token, num, ANGLE_GRAD_ET);
# 2489|                                           num = NULL;

Error: CLANG_WARNING: [#def381]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-tknzr.c:2494:41: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 2492|                                              && next_bytes[1] == 's') {
# 2493|                                           num->type = NUM_TIME_MS;
# 2494|->                                         status = cr_token_set_time
# 2495|                                                   (token, num, TIME_MS_ET);
# 2496|                                           num = NULL;

Error: CLANG_WARNING: [#def382]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-tknzr.c:2500:41: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 2498|                                   } else if (next_bytes[0] == 's') {
# 2499|                                           num->type = NUM_TIME_S;
# 2500|->                                         status = cr_token_set_time
# 2501|                                                   (token, num, TIME_S_ET);
# 2502|                                           num = NULL;

Error: CLANG_WARNING: [#def383]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-tknzr.c:2507:41: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 2505|                                              && next_bytes[1] == 'z') {
# 2506|                                           num->type = NUM_FREQ_HZ;
# 2507|->                                         status = cr_token_set_freq
# 2508|                                                   (token, num, FREQ_HZ_ET);
# 2509|                                           num = NULL;

Error: CLANG_WARNING: [#def384]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-tknzr.c:2515:41: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 2513|                                              && next_bytes[2] == 'z') {
# 2514|                                           num->type = NUM_FREQ_KHZ;
# 2515|->                                         status = cr_token_set_freq
# 2516|                                                   (token, num, FREQ_KHZ_ET);
# 2517|                                           num = NULL;

Error: CLANG_WARNING: [#def385]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/libcroco/cr-tknzr.c:2521:41: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 2519|                                   } else if (next_bytes[0] == '%') {
# 2520|                                           num->type = NUM_PERCENTAGE;
# 2521|->                                         status = cr_token_set_percentage
# 2522|                                                   (token, num);
# 2523|                                           num = NULL;

Error: COMPILER_WARNING (CWE-691): [#def386]
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/vasnprintf.c: scope_hint: In function 'vasnprintf'
gettext-0.22.5-build/gettext-0.22.5/libtextstyle/lib/vasnprintf.c:147:22: warning[-Wstack-protector]: stack protector not protecting local variables: variable length buffer
#  147 | #  define VASNPRINTF vasnprintf
#      |                      ^~~~~~~~~~
#  145|   #  define DCHAR_SET wmemset
#  146|   # else
#  147|-> #  define VASNPRINTF vasnprintf
#  148|   #  define FCHAR_T char
#  149|   #  define DCHAR_T char

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-185.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namegettext-0.22.5-2.fc41
store-results-to/tmp/tmprcuh_g85/gettext-0.22.5-2.fc41.tar.xz
time-created2024-07-03 13:18:49
time-finished2024-07-03 13:35:21
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmprcuh_g85/gettext-0.22.5-2.fc41.tar.xz' '--gcc-analyze' '/tmp/tmprcuh_g85/gettext-0.22.5-2.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9