gettext-0.22.5-2.fc41

List of Defects

Error: SHELLCHECK_WARNING (CWE-563): [#def1]
/usr/bin/autopoint:31:1: warning[SC2034]: datarootdir appears unused. Verify use (or export if used externally).
#   29|   # - gettext_datadir     directory where the data files are stored.
#   30|   prefix="/usr"
#   31|-> datarootdir="${prefix}/share"
#   32|   : ${gettext_datadir="/usr/share/gettext"}
#   33|   : ${AUTOM4TE=autom4te}

Error: SHELLCHECK_WARNING: [#def2]
/usr/bin/autopoint:57:22: warning[SC3028]: In POSIX sh, RANDOM is undefined.
#   55|       # rather, it minimizes the probability of failure in a very cluttered /tmp
#   56|       # directory.
#   57|->     tmp=$TMPDIR/gt$$-$RANDOM
#   58|       (umask 077 && mkdir "$tmp")
#   59|     } ||

Error: SHELLCHECK_WARNING (CWE-398): [#def3]
/usr/bin/autopoint:78:25: warning[SC2041]: This is a literal string. To run as a command, use $(..) instead of '..' . 
#   76|           IFS="$save_IFS"
#   77|           test -z "$dir" && dir=.
#   78|->         for exec_ext in ''; do
#   79|             if test -f "$dir/$curr_executable$exec_ext"; then
#   80|               curr_executable="$dir/$curr_executable$exec_ext"

Error: SHELLCHECK_WARNING (CWE-563): [#def4]
/usr/bin/autopoint:132:3: warning[SC2034]: exec_prefix appears unused. Verify use (or export if used externally).
#  130|   }
#  131|   if test "no" = yes; then
#  132|->   exec_prefix="/usr"
#  133|     bindir="/usr/bin"
#  134|     orig_installdir="$bindir" # see Makefile.am's *_SCRIPTS variables

Error: SHELLCHECK_WARNING (CWE-563): [#def5]
/usr/bin/autopoint:235:1: warning[SC2034]: CLICOLOR_FORCE appears unused. Verify use (or export if used externally).
#  233|   
#  234|   # Unset more variables known to interfere with behavior of common tools.
#  235|-> CLICOLOR_FORCE= GREP_OPTIONS=
#  236|   unset CLICOLOR_FORCE GREP_OPTIONS
#  237|   

Error: SHELLCHECK_WARNING (CWE-480): [#def6]
/usr/bin/autopoint:235:16: warning[SC1007]: Remove space after = if trying to assign a value (for empty string, use var='' ... ).
#  233|   
#  234|   # Unset more variables known to interfere with behavior of common tools.
#  235|-> CLICOLOR_FORCE= GREP_OPTIONS=
#  236|   unset CLICOLOR_FORCE GREP_OPTIONS
#  237|   

Error: SHELLCHECK_WARNING (CWE-563): [#def7]
/usr/bin/autopoint:235:17: warning[SC2034]: GREP_OPTIONS appears unused. Verify use (or export if used externally).
#  233|   
#  234|   # Unset more variables known to interfere with behavior of common tools.
#  235|-> CLICOLOR_FORCE= GREP_OPTIONS=
#  236|   unset CLICOLOR_FORCE GREP_OPTIONS
#  237|   

Error: SHELLCHECK_WARNING (CWE-456): [#def8]
/usr/bin/autopoint:439:3: warning[SC2209]: Use var=$(command) to assign output (or quote to assign string).
#  437|   
#  438|   if test -z "$m4dir"; then
#  439|->   m4dir=m4
#  440|   fi
#  441|   

Error: SHELLCHECK_WARNING: [#def9]
/usr/bin/autopoint:498:6: warning[SC2194]: This word is constant. Did you forget the $ on a variable?
#  496|   # -------+-----------------------------+--------------------+
#  497|   
#  498|-> case "dirxz" in
#  499|     dir*)
#  500|       # The archive of different versions is very large (unless xz compression is

Error: SHELLCHECK_WARNING: [#def10]
/usr/bin/autopoint:502:10: warning[SC2194]: This word is constant. Did you forget the $ on a variable?
#  500|       # The archive of different versions is very large (unless xz compression is
#  501|       # used), but using it does not require special tools.
#  502|->     case "dirxz" in
#  503|         dirgz) gzip -d -c < "$gettext_datadir/archive.dir.tar.gz" ;;
#  504|         dirbz2) bzip2 -d -c < "$gettext_datadir/archive.dir.tar.bz2" ;;

Error: SHELLCHECK_WARNING (CWE-156): [#def11]
/usr/bin/autopoint:508:13: warning[SC2046]: Quote this to prevent word splitting.
#  506|       esac \
#  507|         | (cd "$work_dir" && tar xf - "gettext-$ver")
#  508|->     if test `find "$work_dir" -type f -print | wc -l` = 0; then
#  509|         rm -rf "$work_dir"
#  510|         func_fatal_error "infrastructure files for version $ver not found; this is autopoint from GNU $package $version"

Error: SHELLCHECK_WARNING (CWE-252): [#def12]
/usr/bin/autopoint:610:5: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
#  608|       gzip -d -c < "$gettext_datadir/archive.cvs.tar.gz" | (cd "$cvs_dir" && tar xf -)
#  609|   
#  610|->     cd "$work_dir"
#  611|       cvsver=gettext-`echo "$ver" | sed -e 's/\./_/g'`
#  612|       (cvs -d "$CVSROOT" checkout -r"$cvsver" archive > /dev/null) 2>&1 | grep -v '^cvs checkout: Updating'

Error: SHELLCHECK_WARNING (CWE-398): [#def13]
/usr/bin/autopoint:613:5: warning[SC2038]: Use 'find .. -print0 | xargs -0 ..' or 'find .. -exec .. +' to allow non-alphanumeric filenames.
#  611|       cvsver=gettext-`echo "$ver" | sed -e 's/\./_/g'`
#  612|       (cvs -d "$CVSROOT" checkout -r"$cvsver" archive > /dev/null) 2>&1 | grep -v '^cvs checkout: Updating'
#  613|->     find archive -name CVS -type d -print | xargs rm -rf
#  614|       cd ..
#  615|       rm -rf "$cvs_dir"

Error: SHELLCHECK_WARNING (CWE-156): [#def14]
/usr/bin/autopoint:618:13: warning[SC2046]: Quote this to prevent word splitting.
#  616|       # Check that really all CVS directories are gone, otherwise we would overwrite
#  617|       # the contents of the user's CVS directories.
#  618|->     if test `find $work_dir/archive -name CVS -type d -print | wc -l` != 0; then
#  619|         rm -rf "$work_dir"
#  620|         func_fatal_error "failed to remove all CVS subdirectories"

Error: SHELLCHECK_WARNING (CWE-156): [#def15]
/usr/bin/autopoint:622:13: warning[SC2046]: Quote this to prevent word splitting.
#  620|         func_fatal_error "failed to remove all CVS subdirectories"
#  621|       fi
#  622|->     if test `find $work_dir/archive -type f -print | wc -l` = 0; then
#  623|         rm -rf "$work_dir"
#  624|         func_fatal_error "infrastructure files for version $ver not found; this is autopoint from GNU $package $version"

Error: SHELLCHECK_WARNING (CWE-563): [#def16]
/usr/bin/gettext.sh:31:5: warning[SC2034]: echo appears unused. Verify use (or export if used externally).
#   29|   EOT
#   30|       }
#   31|->     echo='echo_func'
#   32|     fi
#   33|   fi

Error: SHELLCHECK_WARNING (CWE-156): [#def17]
/usr/bin/gettext.sh:88:31: warning[SC2046]: Quote this to prevent word splitting.
#   86|   # result.
#   87|   eval_gettext () {
#   88|->   gettext "$1" | (export PATH `envsubst --variables "$1"`; envsubst "$1")
#   89|   }
#   90|   

Error: SHELLCHECK_WARNING (CWE-156): [#def18]
/usr/bin/gettext.sh:95:42: warning[SC2046]: Quote this to prevent word splitting.
#   93|   # shell variables in the result.
#   94|   eval_ngettext () {
#   95|->   ngettext "$1" "$2" "$3" | (export PATH `envsubst --variables "$1 $2"`; envsubst "$1 $2")
#   96|   }
#   97|   

Error: SHELLCHECK_WARNING (CWE-156): [#def19]
/usr/bin/gettext.sh:102:46: warning[SC2046]: Quote this to prevent word splitting.
#  100|   # shell variables in the result.
#  101|   eval_pgettext () {
#  102|->   gettext --context="$1" "$2" | (export PATH `envsubst --variables "$2"`; envsubst "$2")
#  103|   }
#  104|   

Error: SHELLCHECK_WARNING (CWE-156): [#def20]
/usr/bin/gettext.sh:109:57: warning[SC2046]: Quote this to prevent word splitting.
#  107|   # MSGCTXT and substitutes shell variables in the result.
#  108|   eval_npgettext () {
#  109|->   ngettext --context="$1" "$2" "$3" "$4" | (export PATH `envsubst --variables "$2 $3"`; envsubst "$2 $3")
#  110|   }
#  111|   

Error: SHELLCHECK_WARNING (CWE-563): [#def21]
/usr/bin/gettextize:31:1: warning[SC2034]: datarootdir appears unused. Verify use (or export if used externally).
#   29|   # - gettext_datadir     directory where the data files are stored.
#   30|   prefix="/usr"
#   31|-> datarootdir="${prefix}/share"
#   32|   : ${gettext_datadir="/usr/share/gettext"}
#   33|   : ${AUTOM4TE=autom4te}

Error: SHELLCHECK_WARNING: [#def22]
/usr/bin/gettextize:57:22: warning[SC3028]: In POSIX sh, RANDOM is undefined.
#   55|       # rather, it minimizes the probability of failure in a very cluttered /tmp
#   56|       # directory.
#   57|->     tmp=$TMPDIR/gt$$-$RANDOM
#   58|       (umask 077 && mkdir "$tmp")
#   59|     } ||

Error: SHELLCHECK_WARNING (CWE-398): [#def23]
/usr/bin/gettextize:78:25: warning[SC2041]: This is a literal string. To run as a command, use $(..) instead of '..' . 
#   76|           IFS="$save_IFS"
#   77|           test -z "$dir" && dir=.
#   78|->         for exec_ext in ''; do
#   79|             if test -f "$dir/$curr_executable$exec_ext"; then
#   80|               curr_executable="$dir/$curr_executable$exec_ext"

Error: SHELLCHECK_WARNING (CWE-563): [#def24]
/usr/bin/gettextize:132:3: warning[SC2034]: exec_prefix appears unused. Verify use (or export if used externally).
#  130|   }
#  131|   if test "no" = yes; then
#  132|->   exec_prefix="/usr"
#  133|     bindir="/usr/bin"
#  134|     orig_installdir="$bindir" # see Makefile.am's *_SCRIPTS variables

Error: SHELLCHECK_WARNING (CWE-563): [#def25]
/usr/bin/gettextize:229:1: warning[SC2034]: CLICOLOR_FORCE appears unused. Verify use (or export if used externally).
#  227|   
#  228|   # Unset more variables known to interfere with behavior of common tools.
#  229|-> CLICOLOR_FORCE= GREP_OPTIONS=
#  230|   unset CLICOLOR_FORCE GREP_OPTIONS
#  231|   

Error: SHELLCHECK_WARNING (CWE-480): [#def26]
/usr/bin/gettextize:229:16: warning[SC1007]: Remove space after = if trying to assign a value (for empty string, use var='' ... ).
#  227|   
#  228|   # Unset more variables known to interfere with behavior of common tools.
#  229|-> CLICOLOR_FORCE= GREP_OPTIONS=
#  230|   unset CLICOLOR_FORCE GREP_OPTIONS
#  231|   

Error: SHELLCHECK_WARNING (CWE-563): [#def27]
/usr/bin/gettextize:229:17: warning[SC2034]: GREP_OPTIONS appears unused. Verify use (or export if used externally).
#  227|   
#  228|   # Unset more variables known to interfere with behavior of common tools.
#  229|-> CLICOLOR_FORCE= GREP_OPTIONS=
#  230|   unset CLICOLOR_FORCE GREP_OPTIONS
#  231|   

Error: SHELLCHECK_WARNING (CWE-252): [#def28]
/usr/bin/gettextize:715:1: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
#  713|   
#  714|   # Copy files to po/ subdirectory.
#  715|-> cd po
#  716|   for podir in $podirs; do
#  717|     $do_changelog && func_poChangeLog_init

Error: SHELLCHECK_WARNING (CWE-1164): [#def29]
/usr/bin/gettextize:718:15: warning[SC2043]: This loop will only ever run once. Bad quoting or missing glob/expansion?
#  716|   for podir in $podirs; do
#  717|     $do_changelog && func_poChangeLog_init
#  718|->   for file in Makefile.in.in; do
#  719|       same=no
#  720|       if test -f "$srcdir/$podir/$file"; then

Error: SHELLCHECK_WARNING (CWE-456): [#def30]
/usr/bin/gettextize:861:5: warning[SC2209]: Use var=$(command) to assign output (or quote to assign string).
#  859|   
#  860|     if test -z "$m4dir"; then
#  861|->     m4dir=m4
#  862|       m4dir_defaulted=yes
#  863|     fi

Error: SHELLCHECK_WARNING (CWE-252): [#def31]
/usr/bin/gettextize:1214:15: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
# 1212|   # Recommend replacement for deprecated Makefile variables.
# 1213|   use_libtool=`cat "$srcdir/$configure_in" | grep '^A[CM]_PROG_LIBTOOL'`
# 1214|-> for file in `(cd "$srcdir"; find . -name Makefile.am -print; find . -name Makefile.in -print) | sed -e 's,^\./,,'`; do
# 1215|     if test -f "$srcdir/$file"; then
# 1216|       if test `echo "$file" | sed -e 's,^.*/,,'` = Makefile.in && grep automake "$srcdir/$file" >/dev/null 2>&1; then

Error: SHELLCHECK_WARNING (CWE-156): [#def32]
/usr/bin/gettextize:1216:13: warning[SC2046]: Quote this to prevent word splitting.
# 1214|   for file in `(cd "$srcdir"; find . -name Makefile.am -print; find . -name Makefile.in -print) | sed -e 's,^\./,,'`; do
# 1215|     if test -f "$srcdir/$file"; then
# 1216|->     if test `echo "$file" | sed -e 's,^.*/,,'` = Makefile.in && grep automake "$srcdir/$file" >/dev/null 2>&1; then
# 1217|         continue;
# 1218|       fi

Error: SHELLCHECK_WARNING (CWE-398): [#def33]
/usr/bin/gettextize:1223:16: warning[SC1078]: Did you forget to close this double quoted string?
# 1221|       if grep '@''INTLLIBS''@' "$srcdir/$file" >/dev/null; then
# 1222|         if test -n "$use_libtool"; then
# 1223|->         please="$please
# 1224|   Please change $file to use @""LTLIBINTL""@ or @""LIBINTL""@ instead of
# 1225|   @""INTLLIBS""@. Which one, depends whether it is used with libtool or not.

Error: SHELLCHECK_WARNING (CWE-398): [#def34]
/usr/bin/gettextize:1224:58: warning[SC1078]: Did you forget to close this double quoted string?
# 1222|         if test -n "$use_libtool"; then
# 1223|           please="$please
# 1224|-> Please change $file to use @""LTLIBINTL""@ or @""LIBINTL""@ instead of
# 1225|   @""INTLLIBS""@. Which one, depends whether it is used with libtool or not.
# 1226|   @""INTLLIBS""@ will go away.

Error: SHELLCHECK_WARNING (CWE-398): [#def35]
/usr/bin/gettextize:1225:13: warning[SC1078]: Did you forget to close this double quoted string?
# 1223|           please="$please
# 1224|   Please change $file to use @""LTLIBINTL""@ or @""LIBINTL""@ instead of
# 1225|-> @""INTLLIBS""@. Which one, depends whether it is used with libtool or not.
# 1226|   @""INTLLIBS""@ will go away.
# 1227|   "

Error: SHELLCHECK_WARNING (CWE-398): [#def36]
/usr/bin/gettextize:1229:16: warning[SC1078]: Did you forget to close this double quoted string?
# 1227|   "
# 1228|         else
# 1229|->         please="$please
# 1230|   Please change $file to use @""LIBINTL""@ instead of @""INTLLIBS""@.
# 1231|   @""INTLLIBS""@ will go away.

Error: SHELLCHECK_WARNING (CWE-398): [#def37]
/usr/bin/gettextize:1230:65: warning[SC1078]: Did you forget to close this double quoted string?
# 1228|         else
# 1229|           please="$please
# 1230|-> Please change $file to use @""LIBINTL""@ instead of @""INTLLIBS""@.
# 1231|   @""INTLLIBS""@ will go away.
# 1232|   "

Error: SHELLCHECK_WARNING (CWE-398): [#def38]
/usr/bin/gettextize:1238:14: warning[SC1078]: Did you forget to close this double quoted string?
# 1236|       # which can be stored in the platform independent $prefix/share hierarchy.
# 1237|       if grep '@''DATADIRNAME''@' "$srcdir/$file" >/dev/null; then
# 1238|->       please="$please
# 1239|   Please change $file to use the constant string \"share\" instead of
# 1240|   @""DATADIRNAME""@. @""DATADIRNAME""@ will go away.

Error: SHELLCHECK_WARNING (CWE-398): [#def39]
/usr/bin/gettextize:1246:14: warning[SC1078]: Did you forget to close this double quoted string?
# 1244|       # no catgets .cat catalogs.
# 1245|       if grep '@''INSTOBJEXT''@' "$srcdir/$file" >/dev/null; then
# 1246|->       please="$please
# 1247|   Please change $file to use the constant string \".mo\" instead of
# 1248|   @""INSTOBJEXT""@. @""INSTOBJEXT""@ will go away.

Error: SHELLCHECK_WARNING (CWE-398): [#def40]
/usr/bin/gettextize:1253:14: warning[SC1078]: Did you forget to close this double quoted string?
# 1251|       # GENCAT is deprecated because we install no catgets catalogs anymore.
# 1252|       if grep '@''GENCAT''@' "$srcdir/$file" >/dev/null; then
# 1253|->       please="$please
# 1254|   Please change $file to use the constant string \"gencat\" instead of
# 1255|   @""GENCAT""@. @""GENCAT""@ will go away. Maybe you don't even need it any more?

Error: SHELLCHECK_WARNING (CWE-398): [#def41]
/usr/bin/gettextize:1261:14: warning[SC1078]: Did you forget to close this double quoted string?
# 1259|       # "make dist" to create a buggy tarfile.
# 1260|       if grep '@''POSUB''@' "$srcdir/$file" >/dev/null; then
# 1261|->       please="$please
# 1262|   Please change $file to use the constant string \"po\" instead of
# 1263|   @""POSUB""@. @""POSUB""@ will go away.

Error: SHELLCHECK_WARNING (CWE-563): [#def42]
/usr/bin/gettextize:1310:8: warning[SC2034]: dummy appears unused. Verify use (or export if used externally).
# 1308|     # Read from /dev/tty, not stdin, so that gettextize cannot be abused by
# 1309|     # non-interactive tools.
# 1310|->   read dummy < /dev/tty
# 1311|   fi
# 1312|   

Error: SHELLCHECK_WARNING (CWE-563): [#def43]
/usr/lib64/gettext/user-email:21:1: warning[SC2034]: exec_prefix appears unused. Verify use (or export if used externally).
#   19|   # Prerequisites for using /usr/lib64 and ${datarootdir}/locale.
#   20|   prefix="/usr"
#   21|-> exec_prefix="/usr"
#   22|   datarootdir="${prefix}/share"
#   23|   datadir="/usr/share"

Error: SHELLCHECK_WARNING (CWE-563): [#def44]
/usr/lib64/gettext/user-email:23:1: warning[SC2034]: datadir appears unused. Verify use (or export if used externally).
#   21|   exec_prefix="/usr"
#   22|   datarootdir="${prefix}/share"
#   23|-> datadir="/usr/share"
#   24|   # Set variables libdir, localedir.
#   25|   libdir="/usr/lib64"

Error: SHELLCHECK_WARNING (CWE-252): [#def45]
/usr/lib64/gettext/user-email:92:1: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
#   90|   # All mailers use configuration files under $HOME. We handle them in a
#   91|   # last-modified - first-priority order.
#   92|-> cd $HOME
#   93|   files=""
#   94|   

Error: SHELLCHECK_WARNING (CWE-398): [#def46]
/usr/lib64/gettext/user-email:162:15: warning[SC2045]: Iterating over ls output is fragile. Use globs.
#  160|   if test -n "$files"; then
#  161|   
#  162|->   for file in `ls -t $files`; do
#  163|   
#  164|       case "$file" in

Error: SHELLCHECK_WARNING (CWE-156): [#def47]
/usr/lib64/gettext/user-email:216:97: warning[SC2046]: Quote this to prevent word splitting.
#  214|           sedexpr1='s/\(..\)/\\x\1/g'
#  215|           sedexpr2='s,$,\\n,'
#  216|->         addresses="$addresses "`sed -n -e "$sedexpr0" < $file | while read hexstring; do printf \`echo "$hexstring" | sed -e "$sedexpr1" -e "$sedexpr2"\`; done`
#  217|           ;;
#  218|   

Error: SHELLCHECK_WARNING (CWE-480): [#def48]
/usr/share/gettext/config.rpath:580:17: warning[SC1007]: Remove space after = if trying to assign a value (for empty string, use var='' ... ).
#  578|       case "$host_os" in
#  579|         irix5* | nonstopux*)
#  580|->         libsuff= shlibsuff=
#  581|           ;;
#  582|         *)

Error: SHELLCHECK_WARNING (CWE-480): [#def49]
/usr/share/gettext/config.rpath:584:64: warning[SC1007]: Remove space after = if trying to assign a value (for empty string, use var='' ... ).
#  582|         *)
#  583|           case $LD in
#  584|->           *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= ;;
#  585|             *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 ;;
#  586|             *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 ;;

Error: SHELLCHECK_WARNING (CWE-563): [#def50]
/usr/share/gettext/config.rpath:587:14: warning[SC2034]: libsuff appears unused. Verify use (or export if used externally).
#  585|             *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 ;;
#  586|             *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 ;;
#  587|->           *) libsuff= shlibsuff= ;;
#  588|           esac
#  589|           ;;

Error: SHELLCHECK_WARNING (CWE-480): [#def51]
/usr/share/gettext/config.rpath:587:22: warning[SC1007]: Remove space after = if trying to assign a value (for empty string, use var='' ... ).
#  585|             *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 ;;
#  586|             *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 ;;
#  587|->           *) libsuff= shlibsuff= ;;
#  588|           esac
#  589|           ;;

Error: SHELLCHECK_WARNING (CWE-563): [#def52]
/usr/share/gettext/config.rpath:587:23: warning[SC2034]: shlibsuff appears unused. Verify use (or export if used externally).
#  585|             *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 ;;
#  586|             *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 ;;
#  587|->           *) libsuff= shlibsuff= ;;
#  588|           esac
#  589|           ;;

Error: SHELLCHECK_WARNING (CWE-569): [#def53]
/usr/share/gettext/config.rpath:594:12: warning[SC2221]: This pattern always overrides a later one on line 597.
#  592|     linux*oldld* | linux*aout* | linux*coff*)
#  593|       ;;
#  594|->   linux* | k*bsd*-gnu | kopensolaris*-gnu)
#  595|       library_names_spec='$libname$shrext'
#  596|       ;;

Error: SHELLCHECK_WARNING (CWE-569): [#def54]
/usr/share/gettext/config.rpath:597:3: warning[SC2222]: This pattern never matches because of a previous pattern on line 594.
#  595|       library_names_spec='$libname$shrext'
#  596|       ;;
#  597|->   knetbsd*-gnu)
#  598|       library_names_spec='$libname$shrext'
#  599|       ;;

Error: SHELLCHECK_WARNING (CWE-156): [#def55]
/usr/share/gettext/projects/GNOME/team-address:39:39: warning[SC2046]: Quote this to prevent word splitting.
#   37|     ) 1>&2
#   38|   else
#   39|->   (echo "A translation team for your "`if test "$catalog" = "$language"; then echo "language ($language)"; else echo "local dialect ($catalog)"; fi`
#   40|      echo "may not exist yet.  Please visit"
#   41|      echo "  $url"

Error: SHELLCHECK_WARNING (CWE-156): [#def56]
/usr/share/gettext/projects/GNOME/trigger:38:17: warning[SC2046]: Quote this to prevent word splitting.
#   36|       exit 1
#   37|     fi
#   38|->   dir=`basename \`pwd\``
#   39|     case "$dir" in
#   40|       i18n)

Error: SHELLCHECK_WARNING (CWE-156): [#def57]
/usr/share/gettext/projects/KDE/team-address:125:39: warning[SC2046]: Quote this to prevent word splitting.
#  123|     # address can be empty or contain 1 or more space separated URLs.
#  124|   else
#  125|->   (echo "A translation team for your "`if test "$catalog" = "$language"; then echo "language ($language)"; else echo "local dialect ($catalog)"; fi`
#  126|      echo "may not exist yet.  Please visit"
#  127|      echo "  $url"

Error: SHELLCHECK_WARNING (CWE-563): [#def58]
/usr/share/gettext/projects/KDE/team-address:131:3: warning[SC2034]: address appears unused. Verify use (or export if used externally).
#  129|      echo "and decide whether you want to create a new translation team."
#  130|     ) 1>&2
#  131|->   address=
#  132|   fi
#  133|   exit 0

Error: SHELLCHECK_WARNING (CWE-156): [#def59]
/usr/share/gettext/projects/KDE/trigger:40:17: warning[SC2046]: Quote this to prevent word splitting.
#   38|       exit 1
#   39|     fi
#   40|->   dir=`basename \`pwd\``
#   41|     case "$dir" in
#   42|       i18n)

Error: SHELLCHECK_WARNING (CWE-156): [#def60]
/usr/share/gettext/projects/TP/team-address:40:26: warning[SC2046]: Quote this to prevent word splitting.
#   38|     esac
#   39|     (echo "Please visit your translation team's homepage at"
#   40|->    echo "  ${url_parent}"`echo "$html" | tr '\012' '|' | sed -e "$sed_addnl" | sed -n -e "s,^.*<td><a href=\"\\([^\"]*\\)\">[^<>]*</a></td>[^<>]*<td>$catalog</td>.*\$,\\1,p" | sed 1q`
#   41|      echo "  https://translationproject.org/team/index.html"
#   42|      echo "  https://translationproject.org/html/translators.html"

Error: SHELLCHECK_WARNING (CWE-156): [#def61]
/usr/share/gettext/projects/TP/team-address:60:26: warning[SC2046]: Quote this to prevent word splitting.
#   58|      echo
#   59|      echo "Please visit the existing translation team's homepage at"
#   60|->    echo "  ${url_parent}"`echo "$html" | tr '\012' '|' | sed -e "$sed_addnl" | sed -n -e "s,^.*<td><a href=\"\\([^\"]*\\)\">[^<>]*</a></td>[^<>]*<td>$language</td>.*\$,\\1,p" | sed 1q`
#   61|      echo "  https://translationproject.org/team/index.html"
#   62|      echo "  https://translationproject.org/html/translators.html"

Error: SHELLCHECK_WARNING (CWE-156): [#def62]
/usr/share/gettext/projects/TP/team-address:76:67: warning[SC2046]: Quote this to prevent word splitting.
#   74|   fi
#   75|   (echo "A translation team for your language ($language) does not exist yet."
#   76|->  echo "If you want to create a new translation team for $language"`test "$catalog" = "$language" || echo " or $catalog"`", please visit"
#   77|    echo "  https://translationproject.org/team/index.html"
#   78|    echo "  https://translationproject.org/html/leaders.html"

Error: GCC_ANALYZER_WARNING (CWE-401): [#def63]
gettext-0.22.5/gettext-runtime/src/ngettext.c:39: included_from: Included from here.
gettext-0.22.5/gettext-runtime/gnulib-lib/gettext.h: scope_hint: In function ‘main’
gettext-0.22.5/gettext-runtime/gnulib-lib/gettext.h:290:27: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
gettext-0.22.5/gettext-runtime/src/ngettext.c:27: included_from: Included from here.
gettext-0.22.5/gettext-runtime/src/ngettext.c:38: included_from: Included from here.
gettext-0.22.5/gettext-runtime/src/ngettext.c:36: included_from: Included from here.
gettext-0.22.5/gettext-runtime/src/escapes.h:46:20: note: in expansion of macro ‘XNMALLOC’
gettext-0.22.5/gettext-runtime/src/escapes.h:46:20: note: in expansion of macro ‘XNMALLOC’
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: COMPILER_WARNING (CWE-691): [#def64]
gettext-0.22.5/gettext-runtime/gnulib-lib/mbsstr.c: scope_hint: In function ‘knuth_morris_pratt_multibyte’
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: [#def65]
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: COMPILER_WARNING (CWE-691): [#def66]
gettext-0.22.5/gettext-runtime/gnulib-lib/mbsstr.c:39: included_from: Included from here.
gettext-0.22.5/gettext-runtime/gnulib-lib/str-kmp.h: scope_hint: In function ‘knuth_morris_pratt’
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: COMPILER_WARNING (CWE-691): [#def67]
gettext-0.22.5/gettext-runtime/intl/dcigettext.c:25: included_from: Included from here.
gettext-0.22.5/gettext-runtime/intl/dcigettext.c: scope_hint: In function '_libintl_find_msg'
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): [#def68]
gettext-0.22.5/gettext-runtime/intl/loadmsgcat.c:25: included_from: Included from here.
gettext-0.22.5/gettext-runtime/intl/loadmsgcat.c: scope_hint: In function '_libintl_load_domain'
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): [#def69]
gettext-0.22.5/gettext-runtime/intl/gnulib-lib/vasnprintf.c:61: included_from: Included from here.
gettext-0.22.5/gettext-runtime/intl/gnulib-lib/vasnprintf.c: scope_hint: In function '_libintl_vasnprintf'
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): [#def70]
gettext-0.22.5/gettext-runtime/intl/gnulib-lib/vasnprintf.c:61: included_from: Included from here.
gettext-0.22.5/gettext-runtime/intl/gnulib-lib/vasnwprintf.c:18: included_from: Included from here.
gettext-0.22.5/gettext-runtime/intl/gnulib-lib/vasnprintf.c: scope_hint: In function '_libintl_vasnwprintf'
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: COMPILER_WARNING (CWE-691): [#def71]
gettext-0.22.5/gettext-runtime/intl/dcigettext.c: scope_hint: In function 'libintl_dcigettext'
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: [#def72]
gettext-0.22.5/gettext-runtime/intl/dcigettext.c:439: included_from: Included from here.
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: [#def73]
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: CLANG_WARNING: [#def74]
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: CLANG_WARNING: [#def75]
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 (CWE-457): [#def76]
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): [#def77]
gettext-0.22.5/gettext-runtime/intl/localealias.c: scope_hint: In function 'read_alias_file'
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): [#def78]
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: [#def79]
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/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: [#def80]
gettext-0.22.5/gettext-runtime/intl/localealias.c: scope_hint: In function 'read_alias_file'
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/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: GCC_ANALYZER_WARNING (CWE-401): [#def81]
gettext-0.22.5/gettext-runtime/src/gettext.c: scope_hint: In function ‘main’
gettext-0.22.5/gettext-runtime/src/gettext.c:237:3: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
gettext-0.22.5/gettext-runtime/src/gettext.c:38: included_from: Included from here.
gettext-0.22.5/gettext-runtime/src/gettext.c:36: included_from: Included from here.
gettext-0.22.5/gettext-runtime/src/escapes.h:46:20: note: in expansion of macro ‘XNMALLOC’
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: GCC_ANALYZER_WARNING (CWE-401): [#def82]
gettext-0.22.5/gettext-runtime/src/ngettext.c:189:5: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
gettext-0.22.5/gettext-runtime/src/escapes.h:46:20: note: in expansion of macro ‘XNMALLOC’
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): [#def83]
gettext-0.22.5/gettext-runtime/src/ngettext.c:197:7: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
gettext-0.22.5/gettext-runtime/src/escapes.h:46:20: note: in expansion of macro ‘XNMALLOC’
gettext-0.22.5/gettext-runtime/src/escapes.h:46:20: note: in expansion of macro ‘XNMALLOC’
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: CLANG_WARNING: [#def84]
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: COMPILER_WARNING (CWE-562): [#def85]
gettext-0.22.5/gettext-tools/gnulib-lib/careadlinkat.c: scope_hint: In function 'careadlinkat'
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/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: COMPILER_WARNING (CWE-691): [#def86]
gettext-0.22.5/gettext-tools/gnulib-lib/csharpcomp.c: scope_hint: In function 'compile_csharp_using_mono.isra.0'
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): [#def87]
gettext-0.22.5/gettext-tools/gnulib-lib/csharpcomp.c: scope_hint: In function 'compile_csharp_using_sscli'
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: COMPILER_WARNING (CWE-691): [#def88]
gettext-0.22.5/gettext-tools/gnulib-lib/csharpexec.c: scope_hint: In function 'execute_csharp_using_mono.isra.0'
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): [#def89]
gettext-0.22.5/gettext-tools/gnulib-lib/csharpexec.c: scope_hint: In function 'execute_csharp_using_sscli.isra.0'
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 (CWE-457): [#def90]
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): [#def91]
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: COMPILER_WARNING (CWE-691): [#def92]
gettext-0.22.5/gettext-tools/gnulib-lib/javacomp.c: scope_hint: In function 'compile_using_envjavac'
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): [#def93]
gettext-0.22.5/gettext-tools/gnulib-lib/javacomp.c: scope_hint: In function 'compile_using_javac'
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: [#def94]
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): [#def95]
gettext-0.22.5/gettext-tools/gnulib-lib/javacomp.c: scope_hint: In function 'is_envjavac_usable.constprop.0'
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): [#def96]
gettext-0.22.5/gettext-tools/gnulib-lib/javaexec.c: scope_hint: In function 'execute_java_class'
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 (CWE-457): [#def97]
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: COMPILER_WARNING (CWE-691): [#def98]
gettext-0.22.5/gettext-tools/gnulib-lib/mbsstr.c: scope_hint: In function 'knuth_morris_pratt_multibyte'
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: [#def99]
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: COMPILER_WARNING (CWE-691): [#def100]
gettext-0.22.5/gettext-tools/gnulib-lib/mbsstr.c:39: included_from: Included from here.
gettext-0.22.5/gettext-tools/gnulib-lib/str-kmp.h: scope_hint: In function 'knuth_morris_pratt'
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: COMPILER_WARNING (CWE-691): [#def101]
gettext-0.22.5/gettext-tools/gnulib-lib/striconveha.c: scope_hint: In function 'mem_iconveha'
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): [#def102]
gettext-0.22.5/gettext-tools/gnulib-lib/striconveha.c: scope_hint: In function 'str_iconveha'
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: CLANG_WARNING: [#def103]
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: [#def104]
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: COMPILER_WARNING (CWE-691): [#def105]
gettext-0.22.5/gettext-tools/gnulib-lib/vasnprintf.c: scope_hint: In function 'vasnprintf'
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: CLANG_WARNING: [#def106]
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): [#def107]
gettext-0.22.5/gettext-tools/libgettextpo/striconveha.c:18: included_from: Included from here.
gettext-0.22.5/gettext-tools/libgettextpo/striconveha.c: scope_hint: In function 'libgettextpo_mem_iconveha'
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): [#def108]
gettext-0.22.5/gettext-tools/src/message.c:20: included_from: Included from here.
gettext-0.22.5/gettext-tools/src/message.c: scope_hint: In function 'libgettextpo_message_list_search'
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): [#def109]
gettext-0.22.5/gettext-tools/src/po-charset.c:20: included_from: Included from here.
gettext-0.22.5/gettext-tools/src/po-charset.c: scope_hint: In function 'libgettextpo_po_lex_charset_set'
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): [#def110]
gettext-0.22.5/gettext-tools/libgettextpo/striconveha.c: scope_hint: In function 'libgettextpo_str_iconveha'
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): [#def111]
gettext-0.22.5/gettext-tools/libgettextpo/vasnprintf.c:61: included_from: Included from here.
gettext-0.22.5/gettext-tools/libgettextpo/vasnprintf.c: scope_hint: In function 'libgettextpo_vasnprintf'
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: COMPILER_WARNING: [#def112]
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: [#def113]
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): [#def114]
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): [#def115]
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: CLANG_WARNING: [#def116]
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: [#def117]
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: CLANG_WARNING: [#def118]
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: [#def119]
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: CLANG_WARNING: [#def120]
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: CLANG_WARNING: [#def121]
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: [#def122]
gettext-0.22.5/gettext-tools/src/format-c.c:61: included_from: Included from here.
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: COMPILER_WARNING (CWE-691): [#def123]
gettext-0.22.5/gettext-tools/src/format-java.c: scope_hint: In function 'message_format_parse'
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): [#def124]
gettext-0.22.5/gettext-tools/src/format-java.c: scope_hint: In function 'choice_format_parse'
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: COMPILER_WARNING (CWE-704): [#def125]
gettext-0.22.5/gettext-tools/src/format-kde-kuit.c: scope_hint: In function 'format_parse'
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: CLANG_WARNING: [#def126]
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: [#def127]
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: CLANG_WARNING: [#def128]
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: [#def129]
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: COMPILER_WARNING (CWE-704): [#def130]
gettext-0.22.5/gettext-tools/src/its.c: scope_hint: In function 'its_rule_list_add_from_file'
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): [#def131]
gettext-0.22.5/gettext-tools/src/its.c: scope_hint: In function 'its_rule_list_add_from_string'
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): [#def132]
gettext-0.22.5/gettext-tools/src/its.c: scope_hint: In function 'its_rule_list_extract'
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): [#def133]
gettext-0.22.5/gettext-tools/src/its.c: scope_hint: In function 'its_merge_context_alloc'
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: COMPILER_WARNING (CWE-704): [#def134]
gettext-0.22.5/gettext-tools/src/locating-rule.c: scope_hint: In function 'locating_rule_match'
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: COMPILER_WARNING (CWE-691): [#def135]
gettext-0.22.5/gettext-tools/src/message.c: scope_hint: In function 'message_list_hash_insert_entry'
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): [#def136]
gettext-0.22.5/gettext-tools/src/message.c: scope_hint: In function 'message_list_search'
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: COMPILER_WARNING (CWE-691): [#def137]
gettext-0.22.5/gettext-tools/src/msgcmp.c: scope_hint: In function ‘compare’
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: COMPILER_WARNING (CWE-691): [#def138]
gettext-0.22.5/gettext-tools/src/msggrep.c: scope_hint: In function ‘is_message_selected_no_invert’
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: COMPILER_WARNING (CWE-691): [#def139]
gettext-0.22.5/gettext-tools/src/msginit.c: scope_hint: In function ‘subst_string.constprop.0’
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): [#def140]
gettext-0.22.5/gettext-tools/src/msginit.c: scope_hint: In function ‘subst_string’
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: COMPILER_WARNING (CWE-691): [#def141]
gettext-0.22.5/gettext-tools/src/msgl-cat.c: scope_hint: In function 'catenate_msgdomain_list'
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: COMPILER_WARNING (CWE-691): [#def142]
gettext-0.22.5/gettext-tools/src/msgl-charset.c: scope_hint: In function 'compare_po_locale_charsets'
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: COMPILER_WARNING (CWE-691): [#def143]
gettext-0.22.5/gettext-tools/src/msgl-iconv.c: scope_hint: In function 'iconv_message_list_internal'
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: [#def144]
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: [#def145]
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): [#def146]
gettext-0.22.5/gettext-tools/src/msgl-iconv.c: scope_hint: In function 'is_message_list_iconvable'
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: [#def147]
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: COMPILER_WARNING (CWE-691): [#def148]
gettext-0.22.5/gettext-tools/src/msgmerge.c: scope_hint: In function ‘merge’
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: COMPILER_WARNING (CWE-691): [#def149]
gettext-0.22.5/gettext-tools/src/po-charset.c: scope_hint: In function 'po_lex_charset_set'
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: COMPILER_WARNING (CWE-691): [#def150]
gettext-0.22.5/gettext-tools/src/read-tcl.c: scope_hint: In function ‘msgdomain_read_tcl’
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: CLANG_WARNING: [#def151]
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: GCC_ANALYZER_WARNING (CWE-775): [#def152]
gettext-0.22.5/gettext-tools/src/urlget.c: scope_hint: In function ‘cat_file’
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/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): [#def153]
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: COMPILER_WARNING (CWE-691): [#def154]
gettext-0.22.5/gettext-tools/src/write-csharp.c: scope_hint: In function ‘write_csharp_msgid.isra.0’
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: COMPILER_WARNING (CWE-691): [#def155]
gettext-0.22.5/gettext-tools/src/write-java.c: scope_hint: In function ‘msgid_hashcode’
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): [#def156]
gettext-0.22.5/gettext-tools/src/write-java.c: scope_hint: In function ‘compute_hashsize’
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: [#def157]
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): [#def158]
gettext-0.22.5/gettext-tools/src/write-java.c: scope_hint: In function ‘write_java_msgid.isra.0’
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): [#def159]
gettext-0.22.5/gettext-tools/src/write-java.c: scope_hint: In function ‘msgdomain_write_java’
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: COMPILER_WARNING (CWE-691): [#def160]
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: [#def161]
gettext-0.22.5/gettext-tools/src/write-mo.c: scope_hint: In function 'write_table'
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/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: [#def162]
gettext-0.22.5/gettext-tools/src/write-mo.c: scope_hint: In function ‘write_table’
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/gettext-tools/src/write-mo.c:46: included_from: Included from here.
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: CLANG_WARNING: [#def163]
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: [#def164]
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: [#def165]
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: [#def166]
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: [#def167]
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: [#def168]
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: [#def169]
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): [#def170]
gettext-0.22.5/gettext-tools/src/write-po.c: scope_hint: In function 'msgdomain_list_print_po'
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: CLANG_WARNING: [#def171]
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: COMPILER_WARNING (CWE-691): [#def172]
gettext-0.22.5/gettext-tools/src/write-tcl.c: scope_hint: In function ‘msgdomain_write_tcl’
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: CLANG_WARNING: [#def173]
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: CLANG_WARNING: [#def174]
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: [#def175]
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: CLANG_WARNING: [#def176]
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: COMPILER_WARNING (CWE-691): [#def177]
gettext-0.22.5/gettext-tools/src/xgettext.c: scope_hint: In function ‘flag_context_list_table_insert’
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: GCC_ANALYZER_WARNING (CWE-835): [#def178]
gettext-0.22.5/libtextstyle/lib/html-ostream.oo.c: scope_hint: In function ‘html_ostream__write_mem.part.0’
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: [#def179]
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: [#def180]
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: [#def181]
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: [#def182]
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: [#def183]
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: [#def184]
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: [#def185]
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: [#def186]
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: [#def187]
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: [#def188]
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: [#def189]
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: [#def190]
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: [#def191]
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: [#def192]
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: [#def193]
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: [#def194]
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: [#def195]
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: [#def196]
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: [#def197]
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: [#def198]
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: [#def199]
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: [#def200]
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: [#def201]
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: [#def202]
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: [#def203]
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: [#def204]
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: [#def205]
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: [#def206]
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: [#def207]
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/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: [#def208]
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: [#def209]
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: [#def210]
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: [#def211]
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: [#def212]
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: [#def213]
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: [#def214]
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: [#def215]
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: [#def216]
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: [#def217]
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: [#def218]
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: [#def219]
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: [#def220]
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: [#def221]
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: [#def222]
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: [#def223]
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: [#def224]
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: [#def225]
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: [#def226]
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: [#def227]
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: [#def228]
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: [#def229]
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: [#def230]
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: [#def231]
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: [#def232]
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: [#def233]
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: [#def234]
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: [#def235]
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: [#def236]
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: [#def237]
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: [#def238]
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: [#def239]
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: [#def240]
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: [#def241]
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: [#def242]
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: [#def243]
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: [#def244]
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: [#def245]
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: [#def246]
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: [#def247]
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: [#def248]
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: [#def249]
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: [#def250]
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: [#def251]
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: [#def252]
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: [#def253]
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: [#def254]
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: [#def255]
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: [#def256]
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: [#def257]
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): [#def258]
gettext-0.22.5/libtextstyle/lib/vasnprintf.c: scope_hint: In function 'vasnprintf'
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.3
analyzer-version-cppcheck2.13.0
analyzer-version-gcc14.0.1
analyzer-version-gcc-analyzer14.0.1
analyzer-version-shellcheck0.10.0
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-31.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namegettext-0.22.5-2.fc41
store-results-to/tmp/tmp_8wgpx27/gettext-0.22.5-2.fc41.tar.xz
time-created2024-04-22 11:06:29
time-finished2024-04-22 11:23:56
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp_8wgpx27/gettext-0.22.5-2.fc41.tar.xz' '--gcc-analyze' '/tmp/tmp_8wgpx27/gettext-0.22.5-2.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9