glibc-2.41.9000-10.fc43

List of Findings

Error: SHELLCHECK_WARNING (CWE-563): [#def1]
/usr/bin/ldd:26:1: warning[SC2034]: TEXTDOMAIN appears unused. Verify use (or export if used externally).
#   24|   
#   25|   # We should be able to find the translation right at the beginning.
#   26|-> TEXTDOMAIN=libc
#   27|   TEXTDOMAINDIR=/usr/share/locale
#   28|   

Error: SHELLCHECK_WARNING (CWE-563): [#def2]
/usr/bin/ldd:27:1: warning[SC2034]: TEXTDOMAINDIR appears unused. Verify use (or export if used externally).
#   25|   # We should be able to find the translation right at the beginning.
#   26|   TEXTDOMAIN=libc
#   27|-> TEXTDOMAINDIR=/usr/share/locale
#   28|   
#   29|   RTLDLIST="/lib64/ld-linux-x86-64.so.2 /lib/ld-linux.so.2 /libx32/ld-linux-x32.so.2"

Error: SHELLCHECK_WARNING (CWE-563): [#def3]
/usr/bin/ldd:159:2: warning[SC2034]: verify_out appears unused. Verify use (or export if used externally).
#  157|       for rtld in ${RTLDLIST}; do
#  158|         if test -x $rtld; then
#  159|-> 	verify_out=`${rtld} --verify "$file"`
#  160|   	ret=$?
#  161|   	case $ret in

Error: SHELLCHECK_WARNING (CWE-563): [#def4]
/usr/bin/memusage:21:1: warning[SC2034]: TEXTDOMAIN appears unused. Verify use (or export if used externally).
#   19|   memusageso='/usr/\$LIB/libmemusage.so'
#   20|   memusagestat='/usr/bin/memusagestat'
#   21|-> TEXTDOMAIN=libc
#   22|   
#   23|   # Print usage message.

Error: SHELLCHECK_WARNING (CWE-569): [#def5]
/usr/bin/mtrace:6:3: warning[SC1083]: This { is literal. Check expression (missing ;/\n?) or quote it.
#    4|     :
#    5|   }";
#    6|-> q {
#    7|       exec perl -e '$_ = shift; $_ = "./$_" unless m,^/,; do $_' "$0" "$@"
#    8|   }

Error: SHELLCHECK_WARNING (CWE-398): [#def6]
/usr/bin/mtrace:8:1: error[SC1089]: Parsing stopped here. Is this keyword correctly matched up?
#    6|   q {
#    7|       exec perl -e '$_ = shift; $_ = "./$_" unless m,^/,; do $_' "$0" "$@"
#    8|-> }
#    9|   ;
#   10|   # Copyright (C) 1997-2025 Free Software Foundation, Inc.

Error: SHELLCHECK_WARNING (CWE-563): [#def7]
/usr/bin/sotruss:20:1: warning[SC2034]: TEXTDOMAIN appears unused. Verify use (or export if used externally).
#   18|   
#   19|   # We should be able to find the translation right at the beginning.
#   20|-> TEXTDOMAIN=libc
#   21|   TEXTDOMAINDIR=/usr/share/locale
#   22|   

Error: SHELLCHECK_WARNING (CWE-563): [#def8]
/usr/bin/sotruss:21:1: warning[SC2034]: TEXTDOMAINDIR appears unused. Verify use (or export if used externally).
#   19|   # We should be able to find the translation right at the beginning.
#   20|   TEXTDOMAIN=libc
#   21|-> TEXTDOMAINDIR=/usr/share/locale
#   22|   
#   23|   unset SOTRUSS_FROMLIST

Error: SHELLCHECK_WARNING (CWE-398): [#def9]
/usr/bin/sotruss:61:14: warning[SC2183]: This format string has 1 variable, but is passed 0 argument.
#   59|   
#   60|   do_ambiguous() {
#   61|->   printf >&2 $"%s: option is ambiguous; possibilities:"
#   62|     while test $# -gt 0; do
#   63|       printf >&2 " '%s'" $1

Error: SHELLCHECK_WARNING (CWE-563): [#def10]
/usr/bin/tzselect:192:1: warning[SC2034]: TZ_ZONENOW_TABLE appears unused. Verify use (or export if used externally).
#  190|   read_file TZ_COUNTRY_TABLE "$TZDIR/iso3166.tab"
#  191|   read_file TZ_ZONETABTYPE_TABLE "$TZDIR/$zonetabtype.tab"
#  192|-> TZ_ZONENOW_TABLE=
#  193|   
#  194|   newline='

Error: SHELLCHECK_WARNING (CWE-156): [#def11]
/usr/bin/tzselect:564:16: warning[SC2046]: Quote this to prevent word splitting.
#  562|   	  exit 1
#  563|   	}
#  564|-> 	eval doselect $(
#  565|   	  $AWK '
#  566|   	    BEGIN {

Error: SHELLCHECK_WARNING (CWE-569): [#def12]
/usr/bin/tzselect:731:5: warning[SC2188]: This redirection doesn't have a command. Move to its command (or use 'true' as no-op).
#  729|       # Make sure the corresponding zoneinfo file exists.
#  730|       TZ_for_date=$TZDIR/$tz
#  731|->     <"$TZ_for_date" || {
#  732|         say >&2 "$0: time zone files are not set up correctly"
#  733|         exit 1

Error: SHELLCHECK_WARNING (CWE-563): [#def13]
/usr/bin/tzselect:743:3: warning[SC2034]: i appears unused. Verify use (or export if used externally).
#  741|   
#  742|     extra_info=
#  743|->   for i in 1 2 3 4 5 6 7 8
#  744|     do
#  745|       TZdate=$(LANG=C TZ="$TZ_for_date" date)

Error: SHELLCHECK_WARNING (CWE-563): [#def14]
/usr/bin/xtrace:21:1: warning[SC2034]: TEXTDOMAIN appears unused. Verify use (or export if used externally).
#   19|   pcprofileso='/usr/\$LIB/libpcprofile.so'
#   20|   pcprofiledump='/usr/bin/pcprofiledump'
#   21|-> TEXTDOMAIN=libc
#   22|   
#   23|   # Print usage message.

Error: SHELLCHECK_WARNING (CWE-156): [#def15]
/usr/bin/xtrace:81:34: warning[SC2046]: Quote this to prevent word splitting.
#   79|     if test "$filelen" -gt "$width"; then
#   80|       rwidth=$(expr $width - 3)
#   81|->     file="...$(expr substr $file $(expr 1 + $filelen - $rwidth) $rwidth)"
#   82|     fi
#   83|     printf '%-20s  %-*s  %6s\n' $fct $width $file $line

Error: SHELLCHECK_WARNING (CWE-156): [#def16]
/usr/bin/xtrace:154:38: warning[SC2046]: Quote this to prevent word splitting.
#  152|   
#  153|   # We have two modes.  If a data file is given simply print the included data.
#  154|-> printf "%-20s  %-*s  %6s\n" Function $(expr $COLUMNS - 30) File Line
#  155|   for i in $(seq 1 $COLUMNS); do printf -; done; printf '\n'
#  156|   if test -n "$data"; then

Error: SHELLCHECK_WARNING (CWE-563): [#def17]
/usr/bin/xtrace:155:1: warning[SC2034]: i appears unused. Verify use (or export if used externally).
#  153|   # We have two modes.  If a data file is given simply print the included data.
#  154|   printf "%-20s  %-*s  %6s\n" Function $(expr $COLUMNS - 30) File Line
#  155|-> for i in $(seq 1 $COLUMNS); do printf -; done; printf '\n'
#  156|   if test -n "$data"; then
#  157|     $pcprofiledump "$data" |

Error: SHELLCHECK_WARNING (CWE-563): [#def18]
/usr/bin/xtrace:173:3: warning[SC2034]: termpid appears unused. Verify use (or export if used externally).
#  171|     # Now start the program and let it write to the FIFO.
#  172|     $TERMINAL_PROG -T "xtrace - $program $*" -e /bin/sh -c "LD_PRELOAD=$pcprofileso PCPROFILE_OUTPUT=$fifo $program $*; read < $fifo" &
#  173|->   termpid=$!
#  174|     $pcprofiledump -u "$fifo" |
#  175|     while read line; do

Error: SHELLCHECK_WARNING (CWE-252): [#def19]
/usr/libexec/glibc-benchtests/glibc-bench-compare:17:2: warning[SC2164]: Use 'pushd ... || exit' or 'pushd ... || return' in case pushd fails.
#   15|   # Silence the pushd/popd messages
#   16|   pushd() {
#   17|-> 	command pushd "$@" > /dev/null 2>&1
#   18|   }
#   19|   

Error: SHELLCHECK_WARNING (CWE-685): [#def20]
/usr/libexec/glibc-benchtests/glibc-bench-compare:20:1: warning[SC2120]: popd references arguments, but none are ever passed.
#   18|   }
#   19|   
#   20|-> popd() {
#   21|   	command popd "$@" > /dev/null 2>&1
#   22|   }

Error: SHELLCHECK_WARNING (CWE-252): [#def21]
/usr/libexec/glibc-benchtests/glibc-bench-compare:21:2: warning[SC2164]: Use 'popd ... || exit' or 'popd ... || return' in case popd fails.
#   19|   
#   20|   popd() {
#   21|-> 	command popd "$@" > /dev/null 2>&1
#   22|   }
#   23|   

Error: SHELLCHECK_WARNING (CWE-569): [#def22]
/usr/libexec/glibc-benchtests/glibc-bench-compare:25:39: warning[SC2064]: Use single quotes, otherwise this expands now rather than when signalled.
#   23|   
#   24|   # Clean up any downloaded files before we exit
#   25|-> trap "rm -rf /tmp/glibc-bench-compare.$BASHPID.*" EXIT
#   26|   
#   27|   task=0

Error: SHELLCHECK_WARNING (CWE-563): [#def23]
/usr/libexec/glibc-benchtests/glibc-bench-compare:40:3: warning[SC2034]: task appears unused. Verify use (or export if used externally).
#   38|   		;;
#   39|   		t)
#   40|-> 		task=1
#   41|   		options=1
#   42|   		echo "Not implemented."

Error: SHELLCHECK_WARNING (CWE-477): [#def24]
/usr/libexec/glibc-benchtests/glibc-bench-compare:57:47: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
#   55|   shift $((OPTIND-1))
#   56|   
#   57|-> if [ $# -gt 2 ] || [ $# -eq 0 ] || [ $# -lt 2 -a $options -eq 1 ]; then
#   58|   	echo "Usage: $0 [OPTIONS] <old> [new]"
#   59|   	echo

Error: SHELLCHECK_WARNING (CWE-398): [#def25]
/usr/libexec/glibc-benchtests/glibc-bench-compare:80:10: error[SC2070]: -n doesn't work with unquoted arguments. Quote or use [[ ]].
#   78|   	# We were given a path to the rpms.  Figure out the version-release and
#   79|   	# decompress the rpms.
#   80|-> 	if [ -n $1 ]; then
#   81|   		vr=$(rpm --queryformat="%{VERSION}-%{RELEASE}" -qp $1/glibc-2*.rpm | head -1)
#   82|   		mkdir $vr && pushd $vr

Error: SHELLCHECK_WARNING (CWE-252): [#def26]
/usr/libexec/glibc-benchtests/glibc-bench-compare:82:16: warning[SC2164]: Use 'pushd ... || exit' or 'pushd ... || return' in case pushd fails.
#   80|   	if [ -n $1 ]; then
#   81|   		vr=$(rpm --queryformat="%{VERSION}-%{RELEASE}" -qp $1/glibc-2*.rpm | head -1)
#   82|-> 		mkdir $vr && pushd $vr
#   83|   	fi
#   84|   

Error: SHELLCHECK_WARNING (CWE-398): [#def27]
/usr/libexec/glibc-benchtests/glibc-bench-compare:89:10: error[SC2070]: -n doesn't work with unquoted arguments. Quote or use [[ ]].
#   87|   	done
#   88|   
#   89|-> 	if [ -n $1 ]; then
#   90|   		popd
#   91|   		echo $vr

Error: SHELLCHECK_WARNING (CWE-252): [#def28]
/usr/libexec/glibc-benchtests/glibc-bench-compare:90:3: warning[SC2164]: Use 'popd ... || exit' or 'popd ... || return' in case popd fails.
#   88|   
#   89|   	if [ -n $1 ]; then
#   90|-> 		popd
#   91|   		echo $vr
#   92|   	fi

Error: SHELLCHECK_WARNING (CWE-252): [#def29]
/usr/libexec/glibc-benchtests/glibc-bench-compare:98:14: warning[SC2164]: Use 'pushd ... || exit' or 'pushd ... || return' in case pushd fails.
#   96|   get_build() {
#   97|   	echo "Processing build $1"
#   98|-> 	mkdir $1 && pushd $1
#   99|   	brew buildinfo "glibc-$1" |
#  100|   	sed -n -e "s|/mnt/koji\(.\+$arch.\+\)|http://kojipkgs.fedoraproject.org\1|p" |

Error: SHELLCHECK_WARNING (CWE-252): [#def30]
/usr/libexec/glibc-benchtests/glibc-bench-compare:110:2: warning[SC2164]: Use 'popd ... || exit' or 'popd ... || return' in case popd fails.
#  108|   	rm -f $1/*.rpm
#  109|   
#  110|-> 	popd
#  111|   }
#  112|   

Error: SHELLCHECK_WARNING (CWE-252): [#def31]
/usr/libexec/glibc-benchtests/glibc-bench-compare:130:1: warning[SC2164]: Use 'pushd ... || exit' or 'pushd ... || return' in case pushd fails.
#  128|   
#  129|   tmpdir=$(mktemp -p /tmp -d glibc-bench-compare.$$.XXXX)
#  130|-> pushd $tmpdir
#  131|   
#  132|   # Get both builds.

Error: UNICONTROL_WARNING (CWE-94): [#def32]
/usr/share/i18n/locales/az_IR:208: warning: bidirectional control characters: ['\u202b', '\u202c']
#  206|   % Appropriate date and time representation (%c)
#  207|   %       "<RLE>%A %Oe %B %Oy<ARABIC COMMA> %OH:%OM:%OS<PDF>"
#  208|-> d_t_fmt "‫%A %Oe %B %Oy، %OH:%OM:%OS‬"
#  209|   am_pm     "";""
#  210|   t_fmt_ampm ""

Error: UNICONTROL_WARNING (CWE-94): [#def33]
/usr/share/i18n/locales/az_IR:215: warning: bidirectional control characters: ['\u202b']
#  213|   % Appropriate date representation (date(1))
#  214|   % "<RLE>%A %Oe %B %Oy<ARABIC COMMA> <SEEN><ALEF><AIN><ALEF><TEH> %OH:%OM:%OS (%Z)<PDF>"
#  215|-> date_fmt "‫%A %Oe %B %Oy، ساعات /
#  216|   %OH:%OM:%OS (%Z)‬"
#  217|   first_weekday 7

Error: UNICONTROL_WARNING (CWE-94): [#def34]
/usr/share/i18n/locales/az_IR:216: warning: bidirectional control characters: ['\u202c']
#  214|   % "<RLE>%A %Oe %B %Oy<ARABIC COMMA> <SEEN><ALEF><AIN><ALEF><TEH> %OH:%OM:%OS (%Z)<PDF>"
#  215|   date_fmt "‫%A %Oe %B %Oy، ساعات /
#  216|-> %OH:%OM:%OS (%Z)‬"
#  217|   first_weekday 7
#  218|   first_workday 7

Error: UNICONTROL_WARNING (CWE-94): [#def35]
/usr/share/i18n/locales/fa_IR:340: warning: bidirectional control characters: ['\u202b', '\u202c']
#  338|   % Appropriate date and time representation (%c)
#  339|   %       "<RLE>%A %Oe %B %Oy<ARABIC COMMA> %OH:%OM:%OS<PDF>"
#  340|-> d_t_fmt "‫%A %Oe %B %Oy، %OH:%OM:%OS‬"
#  341|   %
#  342|   % Appropriate date representation (date(1))

Error: UNICONTROL_WARNING (CWE-94): [#def36]
/usr/share/i18n/locales/fa_IR:344: warning: bidirectional control characters: ['\u202b']
#  342|   % Appropriate date representation (date(1))
#  343|   %       "<RLE>%A %Oe %B %Oy<ARABIC COMMA> <SEEN><ALEF><AIN><TEH> %OH:%OM:%OS (%Z)<PDF>"
#  344|-> date_fmt "‫%A %Oe %B %Oy، ساعت /
#  345|   %OH:%OM:%OS (%Z)‬"
#  346|   week 7;19971130;1

Error: UNICONTROL_WARNING (CWE-94): [#def37]
/usr/share/i18n/locales/fa_IR:345: warning: bidirectional control characters: ['\u202c']
#  343|   %       "<RLE>%A %Oe %B %Oy<ARABIC COMMA> <SEEN><ALEF><AIN><TEH> %OH:%OM:%OS (%Z)<PDF>"
#  344|   date_fmt "‫%A %Oe %B %Oy، ساعت /
#  345|-> %OH:%OM:%OS (%Z)‬"
#  346|   week 7;19971130;1
#  347|   first_weekday 7

Error: UNICONTROL_WARNING (CWE-94): [#def38]
/usr/share/i18n/locales/fa_IR:387: warning: bidirectional control characters: ['\u202a', '\u202c']
#  385|   
#  386|   LC_TELEPHONE
#  387|-> tel_int_fmt    "‪+%c %a %l‬"
#  388|   tel_dom_fmt    "‪%A‒%l‬"
#  389|   int_select     "00"

Error: UNICONTROL_WARNING (CWE-94): [#def39]
/usr/share/i18n/locales/fa_IR:388: warning: bidirectional control characters: ['\u202a', '\u202c']
#  386|   LC_TELEPHONE
#  387|   tel_int_fmt    "‪+%c %a %l‬"
#  388|-> tel_dom_fmt    "‪%A‒%l‬"
#  389|   int_select     "00"
#  390|   int_prefix     "98"

Error: UNICONTROL_WARNING (CWE-94): [#def40]
/usr/share/i18n/locales/ps_AF:255: warning: bidirectional control characters: ['\u202b', '\u202c']
#  253|   t_fmt	"%H:%M:%S"
#  254|   am_pm	"غ.م.";"غ.و."
#  255|-> t_fmt_ampm	"‫%I:%M:%S %p‬"
#  256|   week 7;19971130;1
#  257|   first_weekday	7

Error: GCC_ANALYZER_WARNING (CWE-457): [#def41]
glibc-2.41.9000-248-g7b47b3dd21/argp/argp-help.c:638:21: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*hol.entries’
glibc-2.41.9000-248-g7b47b3dd21/argp/argp-help.c:1839:1: enter_function: entry to ‘__argp_state_help’
glibc-2.41.9000-248-g7b47b3dd21/argp/argp-help.c:1843:10: branch_true: following ‘true’ branch (when ‘state’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/argp/argp-help.c:1843:21: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/argp/argp-help.c:1846:7: call_function: calling ‘_help’ from ‘__argp_state_help’
#  636|   hol_find_entry (struct hol *hol, const char *name)
#  637|   {
#  638|->   struct hol_entry *entry = hol->entries;
#  639|     unsigned num_entries = hol->num_entries;
#  640|   

Error: CPPCHECK_WARNING (CWE-476): [#def42]
glibc-2.41.9000-248-g7b47b3dd21/argp/argp-help.c:1018: error[ctunullpointer]: Null pointer dereference: argp
# 1016|   argp_hol (const struct argp *argp, struct hol_cluster *cluster)
# 1017|   {
# 1018|->   const struct argp_child *child = argp->children;
# 1019|     struct hol *hol = make_hol (argp, cluster);
# 1020|     if (child)

Error: COMPILER_WARNING: [#def43]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/./bench-libmvec-skeleton.c:64:13: note[note]: called from here
#   62|   	  TIMING_NOW (start);
#   63|   	  for (i = 0; i < NUM_SAMPLES (v); i++)
#   64|-> 	    BENCH_FUNC (v, i);
#   65|   	  TIMING_NOW (end);
#   66|   

Error: COMPILER_WARNING: [#def44]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/./bench-libmvec-skeleton.c:64:13: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#   62|   	  TIMING_NOW (start);
#   63|   	  for (i = 0; i < NUM_SAMPLES (v); i++)
#   64|-> 	    BENCH_FUNC (v, i);
#   65|   	  TIMING_NOW (end);
#   66|   

Error: COMPILER_WARNING: [#def45]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/./bench-libmvec-skeleton.c:64:13: warning[-Wpsabi]: AVX512F vector return without AVX512F enabled changes the ABI
#   62|   	  TIMING_NOW (start);
#   63|   	  for (i = 0; i < NUM_SAMPLES (v); i++)
#   64|-> 	    BENCH_FUNC (v, i);
#   65|   	  TIMING_NOW (end);
#   66|   

Error: CPPCHECK_WARNING (CWE-570): [#def46]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-bzero-large.c:81: error[comparePointers]: Comparing pointers that point to different objects
#   79|     json_array_begin (json_ctx, "timings");
#   80|   
#   81|->   FOR_EACH_IMPL (impl, 0)
#   82|       do_one_test (json_ctx, impl, (CHAR *) (buf1) + align, len);
#   83|   

Error: CPPCHECK_WARNING (CWE-570): [#def47]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-bzero-large.c:81: error[subtractPointers]: Subtracting pointers that point to different objects
#   79|     json_array_begin (json_ctx, "timings");
#   80|   
#   81|->   FOR_EACH_IMPL (impl, 0)
#   82|       do_one_test (json_ctx, impl, (CHAR *) (buf1) + align, len);
#   83|   

Error: GCC_ANALYZER_WARNING (CWE-469): [#def48]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-bzero-large.c:81:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-bzero-large.c:89:1: enter_function: entry to ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-bzero-large.c:94:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-bzero-large.c:94:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-bzero-large.c:112:24: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-bzero-large.c:114:7: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-bzero-large.c:114:7: call_function: calling ‘do_test’ from ‘test_main’
#   79|     json_array_begin (json_ctx, "timings");
#   80|   
#   81|->   FOR_EACH_IMPL (impl, 0)
#   82|       do_one_test (json_ctx, impl, (CHAR *) (buf1) + align, len);
#   83|   

Error: CPPCHECK_WARNING (CWE-570): [#def49]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-bzero-large.c:106: error[comparePointers]: Comparing pointers that point to different objects
#  104|   
#  105|     json_array_begin (&json_ctx, "ifuncs");
#  106|->   FOR_EACH_IMPL (impl, 0)
#  107|       json_element_string (&json_ctx, impl->name);
#  108|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def50]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-bzero-large.c:106: error[subtractPointers]: Subtracting pointers that point to different objects
#  104|   
#  105|     json_array_begin (&json_ctx, "ifuncs");
#  106|->   FOR_EACH_IMPL (impl, 0)
#  107|       json_element_string (&json_ctx, impl->name);
#  108|     json_array_end (&json_ctx);

Error: GCC_ANALYZER_WARNING (CWE-469): [#def51]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-bzero-large.c:106:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-bzero-large.c:89:1: enter_function: entry to ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-bzero-large.c:94:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-bzero-large.c:94:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-bzero-large.c:106:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-bzero-large.c:106:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-bzero-large.c:106:3: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-bzero-large.c:106:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-bzero-large.c:106:3: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  104|   
#  105|     json_array_begin (&json_ctx, "ifuncs");
#  106|->   FOR_EACH_IMPL (impl, 0)
#  107|       json_element_string (&json_ctx, impl->name);
#  108|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def52]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-bzero.c:85: error[comparePointers]: Comparing pointers that point to different objects
#   83|     json_array_begin (json_ctx, "timings");
#   84|   
#   85|->   FOR_EACH_IMPL (impl, 0)
#   86|       {
#   87|         do_one_test (json_ctx, impl, (CHAR *) (buf1) + align, len);

Error: CPPCHECK_WARNING (CWE-570): [#def53]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-bzero.c:85: error[subtractPointers]: Subtracting pointers that point to different objects
#   83|     json_array_begin (json_ctx, "timings");
#   84|   
#   85|->   FOR_EACH_IMPL (impl, 0)
#   86|       {
#   87|         do_one_test (json_ctx, impl, (CHAR *) (buf1) + align, len);

Error: GCC_ANALYZER_WARNING (CWE-469): [#def54]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-bzero.c:85:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-bzero.c:95:1: enter_function: entry to ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-bzero.c:100:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-bzero.c:100:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-bzero.c:101:3: call_function: calling ‘alloc_bufs’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-bzero.c:101:3: return_function: returning to ‘test_main’ from ‘alloc_bufs’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-bzero.c:118:15: branch_true: following ‘true’ branch (when ‘i != 18’)...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-bzero.c:119:28: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-bzero.c:118:15: branch_true: following ‘true’ branch (when ‘i != 18’)...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-bzero.c:119:28: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-bzero.c:119:5: call_function: calling ‘do_test’ from ‘test_main’
#   83|     json_array_begin (json_ctx, "timings");
#   84|   
#   85|->   FOR_EACH_IMPL (impl, 0)
#   86|       {
#   87|         do_one_test (json_ctx, impl, (CHAR *) (buf1) + align, len);

Error: CPPCHECK_WARNING (CWE-570): [#def55]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-bzero.c:112: error[comparePointers]: Comparing pointers that point to different objects
#  110|   
#  111|     json_array_begin (&json_ctx, "ifuncs");
#  112|->   FOR_EACH_IMPL (impl, 0)
#  113|       json_element_string (&json_ctx, impl->name);
#  114|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def56]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-bzero.c:112: error[subtractPointers]: Subtracting pointers that point to different objects
#  110|   
#  111|     json_array_begin (&json_ctx, "ifuncs");
#  112|->   FOR_EACH_IMPL (impl, 0)
#  113|       json_element_string (&json_ctx, impl->name);
#  114|     json_array_end (&json_ctx);

Error: GCC_ANALYZER_WARNING (CWE-469): [#def57]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-bzero.c:112:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-bzero.c:95:1: enter_function: entry to ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-bzero.c:100:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-bzero.c:100:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-bzero.c:101:3: call_function: calling ‘alloc_bufs’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-bzero.c:101:3: return_function: returning to ‘test_main’ from ‘alloc_bufs’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-bzero.c:112:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-bzero.c:112:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-bzero.c:112:3: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-bzero.c:112:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-bzero.c:112:3: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  110|   
#  111|     json_array_begin (&json_ctx, "ifuncs");
#  112|->   FOR_EACH_IMPL (impl, 0)
#  113|       json_element_string (&json_ctx, impl->name);
#  114|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-476): [#def58]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-malloc-simple.c:63: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: arr
#   61|       {
#   62|         for (int i = 0; i < n; i++)
#   63|-> 	arr[i] = TEST_FUNC (size);
#   64|   
#   65|         for (int i = 0; i < n; i++)

Error: GCC_ANALYZER_WARNING (CWE-131): [#def59]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-malloc-simple.c:63:9: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-malloc-simple.c:78:1: enter_function: entry to ‘thread_test’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-malloc-simple.c:83:19: branch_true: following ‘true’ branch (when ‘i != 4’)...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-malloc-simple.c:84:5: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-malloc-simple.c:84:5: call_function: calling ‘do_benchmark’ from ‘thread_test’
#   61|       {
#   62|         for (int i = 0; i < n; i++)
#   63|-> 	arr[i] = TEST_FUNC (size);
#   64|   
#   65|         for (int i = 0; i < n; i++)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def60]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-malloc-simple.c:63:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘arr’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-malloc-simple.c:90:1: enter_function: entry to ‘bench’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-malloc-simple.c:93:23: acquire_memory: this call could return NULL
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-malloc-simple.c:95:19: branch_true: following ‘true’ branch (when ‘t != 3’)...
 branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-malloc-simple.c:96:21: branch_true: following ‘true’ branch (when ‘i != 4’)...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-malloc-simple.c:98:25: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-malloc-simple.c:103:12: branch_true: following ‘true’ branch (when ‘t == 0’)...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-malloc-simple.c:104:11: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-malloc-simple.c:104:11: call_function: calling ‘do_benchmark’ from ‘bench’
#   61|       {
#   62|         for (int i = 0; i < n; i++)
#   63|-> 	arr[i] = TEST_FUNC (size);
#   64|   
#   65|         for (int i = 0; i < n; i++)

Error: CPPCHECK_WARNING (CWE-476): [#def61]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-malloc-simple.c:66: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: arr
#   64|   
#   65|         for (int i = 0; i < n; i++)
#   66|-> 	free (arr[i]);
#   67|       }
#   68|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def62]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-malloc-thread.c:147:7: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, (long unsigned int)random_block_sizes[idx])’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-malloc-thread.c:161:1: enter_function: entry to ‘benchmark_thread’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-malloc-thread.c:169:11: call_function: calling ‘malloc_benchmark_loop’ from ‘benchmark_thread’
#  145|         ptr_arr[next_idx] = TEST_FUNC (next_block);
#  146|   
#  147|->       iters++;
#  148|       }
#  149|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def63]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-malloc-thread.c:147:7: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc((long unsigned int)random_block_sizes[idx])’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-malloc-thread.c:161:1: enter_function: entry to ‘benchmark_thread’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-malloc-thread.c:169:11: call_function: calling ‘malloc_benchmark_loop’ from ‘benchmark_thread’
#  145|         ptr_arr[next_idx] = TEST_FUNC (next_block);
#  146|   
#  147|->       iters++;
#  148|       }
#  149|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def64]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-malloc-thread.c:220:1: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-malloc-thread.c:179:1: enter_function: entry to ‘do_benchmark’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-malloc-thread.c:183:6: branch_true: following ‘true’ branch (when ‘num_threads == 1’)...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-malloc-thread.c:188:7: call_function: inlined call to ‘memset’ from ‘do_benchmark’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-malloc-thread.c:191:16: call_function: calling ‘malloc_benchmark_loop’ from ‘do_benchmark’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-malloc-thread.c:191:16: return_function: returning to ‘do_benchmark’ from ‘malloc_benchmark_loop’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-malloc-thread.c:220:1: danger: ‘<unknown>’ leaks here; was allocated at [(15)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/14)
#  218|       }
#  219|     return elapsed;
#  220|-> }
#  221|   
#  222|   static void usage(const char *name)

Error: CPPCHECK_WARNING (CWE-570): [#def65]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memccpy.c:89: error[comparePointers]: Comparing pointers that point to different objects
#   87|     printf ("Length %4zd, n %4zd, char %d, alignment %2zd/%2zd:", len, n, c, align1, align2);
#   88|   
#   89|->   FOR_EACH_IMPL (impl, 0)
#   90|       do_one_test (impl, s2, s1, c, len, n);
#   91|   

Error: CPPCHECK_WARNING (CWE-570): [#def66]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memccpy.c:89: error[subtractPointers]: Subtracting pointers that point to different objects
#   87|     printf ("Length %4zd, n %4zd, char %d, alignment %2zd/%2zd:", len, n, c, align1, align2);
#   88|   
#   89|->   FOR_EACH_IMPL (impl, 0)
#   90|       do_one_test (impl, s2, s1, c, len, n);
#   91|   

Error: GCC_ANALYZER_WARNING (CWE-469): [#def67]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memccpy.c:89:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memccpy.c:96:1: enter_function: entry to ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memccpy.c:100:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memccpy.c:100:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memccpy.c:103:3: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memccpy.c:107:15: branch_true: following ‘true’ branch (when ‘i != 8’)...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memccpy.c:109:7: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memccpy.c:109:7: call_function: calling ‘do_test’ from ‘test_main’
#   87|     printf ("Length %4zd, n %4zd, char %d, alignment %2zd/%2zd:", len, n, c, align1, align2);
#   88|   
#   89|->   FOR_EACH_IMPL (impl, 0)
#   90|       do_one_test (impl, s2, s1, c, len, n);
#   91|   

Error: CPPCHECK_WARNING (CWE-570): [#def68]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memccpy.c:103: error[comparePointers]: Comparing pointers that point to different objects
#  101|   
#  102|     printf ("%28s", "");
#  103|->   FOR_EACH_IMPL (impl, 0)
#  104|       printf ("\t%s", impl->name);
#  105|     putchar ('\n');

Error: CPPCHECK_WARNING (CWE-570): [#def69]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memccpy.c:103: error[subtractPointers]: Subtracting pointers that point to different objects
#  101|   
#  102|     printf ("%28s", "");
#  103|->   FOR_EACH_IMPL (impl, 0)
#  104|       printf ("\t%s", impl->name);
#  105|     putchar ('\n');

Error: GCC_ANALYZER_WARNING (CWE-469): [#def70]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memccpy.c:103:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memccpy.c:96:1: enter_function: entry to ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memccpy.c:100:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memccpy.c:100:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memccpy.c:103:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memccpy.c:103:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memccpy.c:103:3: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memccpy.c:103:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memccpy.c:103:3: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  101|   
#  102|     printf ("%28s", "");
#  103|->   FOR_EACH_IMPL (impl, 0)
#  104|       printf ("\t%s", impl->name);
#  105|     putchar ('\n');

Error: CPPCHECK_WARNING (CWE-570): [#def71]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memchr.c:111: error[comparePointers]: Comparing pointers that point to different objects
#  109|     json_array_begin (json_ctx, "timings");
#  110|   
#  111|->   FOR_EACH_IMPL (impl, 0)
#  112|       do_one_test (json_ctx, impl, (CHAR *) (buf + align), seek_char, len);
#  113|   

Error: CPPCHECK_WARNING (CWE-570): [#def72]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memchr.c:111: error[subtractPointers]: Subtracting pointers that point to different objects
#  109|     json_array_begin (json_ctx, "timings");
#  110|   
#  111|->   FOR_EACH_IMPL (impl, 0)
#  112|       do_one_test (json_ctx, impl, (CHAR *) (buf + align), seek_char, len);
#  113|   

Error: GCC_ANALYZER_WARNING (CWE-469): [#def73]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memchr.c:111:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memchr.c:119:1: enter_function: entry to ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memchr.c:124:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memchr.c:124:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memchr.c:149:20: branch_true: following ‘true’ branch (when ‘al == 0’)...
 branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memchr.c:151:23: branch_true: following ‘true’ branch (when ‘i != 8’)...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memchr.c:153:39: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memchr.c:153:15: call_function: calling ‘do_test’ from ‘test_main’
#  109|     json_array_begin (json_ctx, "timings");
#  110|   
#  111|->   FOR_EACH_IMPL (impl, 0)
#  112|       do_one_test (json_ctx, impl, (CHAR *) (buf + align), seek_char, len);
#  113|   

Error: CPPCHECK_WARNING (CWE-570): [#def74]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memchr.c:136: error[comparePointers]: Comparing pointers that point to different objects
#  134|   
#  135|     json_array_begin (&json_ctx, "ifuncs");
#  136|->   FOR_EACH_IMPL (impl, 0)
#  137|       json_element_string (&json_ctx, impl->name);
#  138|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def75]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memchr.c:136: error[subtractPointers]: Subtracting pointers that point to different objects
#  134|   
#  135|     json_array_begin (&json_ctx, "ifuncs");
#  136|->   FOR_EACH_IMPL (impl, 0)
#  137|       json_element_string (&json_ctx, impl->name);
#  138|     json_array_end (&json_ctx);

Error: GCC_ANALYZER_WARNING (CWE-469): [#def76]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memchr.c:136:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memchr.c:119:1: enter_function: entry to ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memchr.c:124:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memchr.c:124:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memchr.c:136:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memchr.c:136:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memchr.c:136:3: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memchr.c:136:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memchr.c:136:3: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  134|   
#  135|     json_array_begin (&json_ctx, "ifuncs");
#  136|->   FOR_EACH_IMPL (impl, 0)
#  137|       json_element_string (&json_ctx, impl->name);
#  138|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def77]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcmp.c:88: error[comparePointers]: Comparing pointers that point to different objects
#   86|       }
#   87|   
#   88|->   FOR_EACH_IMPL (impl, 0)
#   89|       {
#   90|         do_one_test (json_ctx, impl, s1, s2, len);

Error: CPPCHECK_WARNING (CWE-570): [#def78]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcmp.c:88: error[subtractPointers]: Subtracting pointers that point to different objects
#   86|       }
#   87|   
#   88|->   FOR_EACH_IMPL (impl, 0)
#   89|       {
#   90|         do_one_test (json_ctx, impl, s1, s2, len);

Error: GCC_ANALYZER_WARNING (CWE-469): [#def79]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcmp.c:88:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcmp.c:98:1: enter_function: entry to ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcmp.c:103:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcmp.c:103:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcmp.c:120:15: branch_true: following ‘true’ branch (when ‘i != 32’)...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcmp.c:122:7: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcmp.c:122:7: call_function: calling ‘do_test’ from ‘test_main’
#   86|       }
#   87|   
#   88|->   FOR_EACH_IMPL (impl, 0)
#   89|       {
#   90|         do_one_test (json_ctx, impl, s1, s2, len);

Error: CPPCHECK_WARNING (CWE-570): [#def80]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcmp.c:115: error[comparePointers]: Comparing pointers that point to different objects
#  113|   
#  114|     json_array_begin (&json_ctx, "ifuncs");
#  115|->   FOR_EACH_IMPL (impl, 0)
#  116|       json_element_string (&json_ctx, impl->name);
#  117|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def81]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcmp.c:115: error[subtractPointers]: Subtracting pointers that point to different objects
#  113|   
#  114|     json_array_begin (&json_ctx, "ifuncs");
#  115|->   FOR_EACH_IMPL (impl, 0)
#  116|       json_element_string (&json_ctx, impl->name);
#  117|     json_array_end (&json_ctx);

Error: GCC_ANALYZER_WARNING (CWE-469): [#def82]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcmp.c:115:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcmp.c:98:1: enter_function: entry to ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcmp.c:103:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcmp.c:103:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcmp.c:115:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcmp.c:115:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcmp.c:115:3: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcmp.c:115:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcmp.c:115:3: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  113|   
#  114|     json_array_begin (&json_ctx, "ifuncs");
#  115|->   FOR_EACH_IMPL (impl, 0)
#  116|       json_element_string (&json_ctx, impl->name);
#  117|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def83]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcpy-large.c:78: error[comparePointers]: Comparing pointers that point to different objects
#   76|         json_array_begin (json_ctx, "timings");
#   77|   
#   78|->       FOR_EACH_IMPL (impl, 0)
#   79|           do_one_test (json_ctx, impl, s2, s1, len);
#   80|   

Error: CPPCHECK_WARNING (CWE-570): [#def84]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcpy-large.c:78: error[subtractPointers]: Subtracting pointers that point to different objects
#   76|         json_array_begin (json_ctx, "timings");
#   77|   
#   78|->       FOR_EACH_IMPL (impl, 0)
#   79|           do_one_test (json_ctx, impl, s2, s1, len);
#   80|   

Error: CPPCHECK_WARNING (CWE-570): [#def85]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcpy-large.c:107: error[comparePointers]: Comparing pointers that point to different objects
#  105|   
#  106|     json_array_begin (&json_ctx, "ifuncs");
#  107|->   FOR_EACH_IMPL (impl, 0)
#  108|       json_element_string (&json_ctx, impl->name);
#  109|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def86]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcpy-large.c:107: error[subtractPointers]: Subtracting pointers that point to different objects
#  105|   
#  106|     json_array_begin (&json_ctx, "ifuncs");
#  107|->   FOR_EACH_IMPL (impl, 0)
#  108|       json_element_string (&json_ctx, impl->name);
#  109|     json_array_end (&json_ctx);

Error: GCC_ANALYZER_WARNING (CWE-469): [#def87]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcpy-large.c:107:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcpy-large.c:90:1: enter_function: entry to ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcpy-large.c:95:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcpy-large.c:95:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcpy-large.c:107:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcpy-large.c:107:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcpy-large.c:107:3: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcpy-large.c:107:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcpy-large.c:107:3: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  105|   
#  106|     json_array_begin (&json_ctx, "ifuncs");
#  107|->   FOR_EACH_IMPL (impl, 0)
#  108|       json_element_string (&json_ctx, impl->name);
#  109|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def88]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcpy-random.c:168: error[comparePointers]: Comparing pointers that point to different objects
#  166|     json_array_begin (json_ctx, "timings");
#  167|   
#  168|->   FOR_EACH_IMPL (impl, 0)
#  169|       do_one_test (json_ctx, impl, (char *) buf2, (char *) buf1, test_arr, i);
#  170|   

Error: CPPCHECK_WARNING (CWE-570): [#def89]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcpy-random.c:168: error[subtractPointers]: Subtracting pointers that point to different objects
#  166|     json_array_begin (json_ctx, "timings");
#  167|   
#  168|->   FOR_EACH_IMPL (impl, 0)
#  169|       do_one_test (json_ctx, impl, (char *) buf2, (char *) buf1, test_arr, i);
#  170|   

Error: GCC_ANALYZER_WARNING (CWE-469): [#def90]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcpy-random.c:168:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcpy-random.c:155:15: branch_true: following ‘true’ branch (when ‘i != 16384’)...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcpy-random.c:157:26: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcpy-random.c:168:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcpy-random.c:168:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcpy-random.c:168:3: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcpy-random.c:168:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcpy-random.c:168:3: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  166|     json_array_begin (json_ctx, "timings");
#  167|   
#  168|->   FOR_EACH_IMPL (impl, 0)
#  169|       do_one_test (json_ctx, impl, (char *) buf2, (char *) buf1, test_arr, i);
#  170|   

Error: CPPCHECK_WARNING (CWE-570): [#def91]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcpy-random.c:193: error[comparePointers]: Comparing pointers that point to different objects
#  191|   
#  192|     json_array_begin (&json_ctx, "ifuncs");
#  193|->   FOR_EACH_IMPL (impl, 0)
#  194|       json_element_string (&json_ctx, impl->name);
#  195|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def92]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcpy-random.c:193: error[subtractPointers]: Subtracting pointers that point to different objects
#  191|   
#  192|     json_array_begin (&json_ctx, "ifuncs");
#  193|->   FOR_EACH_IMPL (impl, 0)
#  194|       json_element_string (&json_ctx, impl->name);
#  195|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def93]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcpy.c:89: error[comparePointers]: Comparing pointers that point to different objects
#   87|         json_array_begin (json_ctx, "timings");
#   88|   
#   89|->       FOR_EACH_IMPL (impl, 0)
#   90|           do_one_test (json_ctx, impl, s2, s1, len);
#   91|   

Error: CPPCHECK_WARNING (CWE-570): [#def94]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcpy.c:89: error[subtractPointers]: Subtracting pointers that point to different objects
#   87|         json_array_begin (json_ctx, "timings");
#   88|   
#   89|->       FOR_EACH_IMPL (impl, 0)
#   90|           do_one_test (json_ctx, impl, s2, s1, len);
#   91|   

Error: GCC_ANALYZER_WARNING (CWE-469): [#def95]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcpy.c:89:7: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcpy.c:101:1: enter_function: entry to ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcpy.c:106:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcpy.c:106:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcpy.c:123:15: branch_true: following ‘true’ branch (when ‘i != 18’)...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcpy.c:125:33: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcpy.c:125:7: call_function: calling ‘do_test’ from ‘test_main’
#   87|         json_array_begin (json_ctx, "timings");
#   88|   
#   89|->       FOR_EACH_IMPL (impl, 0)
#   90|           do_one_test (json_ctx, impl, s2, s1, len);
#   91|   

Error: CPPCHECK_WARNING (CWE-570): [#def96]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcpy.c:118: error[comparePointers]: Comparing pointers that point to different objects
#  116|   
#  117|     json_array_begin (&json_ctx, "ifuncs");
#  118|->   FOR_EACH_IMPL (impl, 0)
#  119|       json_element_string (&json_ctx, impl->name);
#  120|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def97]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcpy.c:118: error[subtractPointers]: Subtracting pointers that point to different objects
#  116|   
#  117|     json_array_begin (&json_ctx, "ifuncs");
#  118|->   FOR_EACH_IMPL (impl, 0)
#  119|       json_element_string (&json_ctx, impl->name);
#  120|     json_array_end (&json_ctx);

Error: GCC_ANALYZER_WARNING (CWE-469): [#def98]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcpy.c:118:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcpy.c:101:1: enter_function: entry to ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcpy.c:106:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcpy.c:106:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcpy.c:118:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcpy.c:118:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcpy.c:118:3: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcpy.c:118:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memcpy.c:118:3: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  116|   
#  117|     json_array_begin (&json_ctx, "ifuncs");
#  118|->   FOR_EACH_IMPL (impl, 0)
#  119|       json_element_string (&json_ctx, impl->name);
#  120|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def99]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmem.c:150: error[comparePointers]: Comparing pointers that point to different objects
#  148|     json_array_begin (json_ctx, "timings");
#  149|   
#  150|->   FOR_EACH_IMPL (impl, 0)
#  151|       do_one_test (json_ctx, impl, buf1, BUF1PAGES * page_size, str, len,
#  152|   		 buf1 + idx);

Error: CPPCHECK_WARNING (CWE-570): [#def100]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmem.c:150: error[subtractPointers]: Subtracting pointers that point to different objects
#  148|     json_array_begin (json_ctx, "timings");
#  149|   
#  150|->   FOR_EACH_IMPL (impl, 0)
#  151|       do_one_test (json_ctx, impl, buf1, BUF1PAGES * page_size, str, len,
#  152|   		 buf1 + idx);

Error: GCC_ANALYZER_WARNING (CWE-469): [#def101]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmem.c:150:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmem.c:150:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmem.c:150:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmem.c:150:3: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmem.c:150:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmem.c:150:3: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  148|     json_array_begin (json_ctx, "timings");
#  149|   
#  150|->   FOR_EACH_IMPL (impl, 0)
#  151|       do_one_test (json_ctx, impl, buf1, BUF1PAGES * page_size, str, len,
#  152|   		 buf1 + idx);

Error: CPPCHECK_WARNING (CWE-570): [#def102]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmem.c:190: error[comparePointers]: Comparing pointers that point to different objects
#  188|         json_array_begin (json_ctx, "timings");
#  189|   
#  190|->       FOR_EACH_IMPL (impl, 0)
#  191|   	do_one_test (json_ctx, impl, buf1, BUF1PAGES * page_size, buf1 + idx,
#  192|   		     len, buf1 + idx);

Error: CPPCHECK_WARNING (CWE-570): [#def103]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmem.c:190: error[subtractPointers]: Subtracting pointers that point to different objects
#  188|         json_array_begin (json_ctx, "timings");
#  189|   
#  190|->       FOR_EACH_IMPL (impl, 0)
#  191|   	do_one_test (json_ctx, impl, buf1, BUF1PAGES * page_size, buf1 + idx,
#  192|   		     len, buf1 + idx);

Error: GCC_ANALYZER_WARNING (CWE-469): [#def104]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmem.c:190:7: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmem.c:163:22: branch_true: following ‘true’ branch (when ‘n != 100’)...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmem.c:167:22: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmem.c:173:48: branch_false: following ‘false’ branch (when ‘i == 0’)...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmem.c:181:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmem.c:190:7: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmem.c:190:7: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmem.c:190:7: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmem.c:190:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmem.c:190:7: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  188|         json_array_begin (json_ctx, "timings");
#  189|   
#  190|->       FOR_EACH_IMPL (impl, 0)
#  191|   	do_one_test (json_ctx, impl, buf1, BUF1PAGES * page_size, buf1 + idx,
#  192|   		     len, buf1 + idx);

Error: CPPCHECK_WARNING (CWE-570): [#def105]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmem.c:225: error[comparePointers]: Comparing pointers that point to different objects
#  223|   
#  224|     json_array_begin (&json_ctx, "ifuncs");
#  225|->   FOR_EACH_IMPL (impl, 0)
#  226|       json_element_string (&json_ctx, impl->name);
#  227|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def106]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmem.c:225: error[subtractPointers]: Subtracting pointers that point to different objects
#  223|   
#  224|     json_array_begin (&json_ctx, "ifuncs");
#  225|->   FOR_EACH_IMPL (impl, 0)
#  226|       json_element_string (&json_ctx, impl->name);
#  227|     json_array_end (&json_ctx);

Error: GCC_ANALYZER_WARNING (CWE-469): [#def107]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmem.c:225:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmem.c:209:1: enter_function: entry to ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmem.c:214:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmem.c:214:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmem.c:225:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmem.c:225:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmem.c:225:3: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmem.c:225:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmem.c:225:3: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  223|   
#  224|     json_array_begin (&json_ctx, "ifuncs");
#  225|->   FOR_EACH_IMPL (impl, 0)
#  226|       json_element_string (&json_ctx, impl->name);
#  227|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def108]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmove-large.c:70: error[comparePointers]: Comparing pointers that point to different objects
#   68|     json_array_begin (json_ctx, "timings");
#   69|   
#   70|->   FOR_EACH_IMPL (impl, 0)
#   71|       do_one_test (json_ctx, impl, s2, s1, len);
#   72|   

Error: CPPCHECK_WARNING (CWE-570): [#def109]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmove-large.c:70: error[subtractPointers]: Subtracting pointers that point to different objects
#   68|     json_array_begin (json_ctx, "timings");
#   69|   
#   70|->   FOR_EACH_IMPL (impl, 0)
#   71|       do_one_test (json_ctx, impl, s2, s1, len);
#   72|   

Error: CPPCHECK_WARNING (CWE-570): [#def110]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmove-large.c:96: error[comparePointers]: Comparing pointers that point to different objects
#   94|     json_array_begin (&json_ctx, "ifuncs");
#   95|   
#   96|->   FOR_EACH_IMPL (impl, 0)
#   97|       json_element_string (&json_ctx, impl->name);
#   98|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def111]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmove-large.c:96: error[subtractPointers]: Subtracting pointers that point to different objects
#   94|     json_array_begin (&json_ctx, "ifuncs");
#   95|   
#   96|->   FOR_EACH_IMPL (impl, 0)
#   97|       json_element_string (&json_ctx, impl->name);
#   98|     json_array_end (&json_ctx);

Error: GCC_ANALYZER_WARNING (CWE-469): [#def112]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmove-large.c:96:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmove-large.c:78:1: enter_function: entry to ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmove-large.c:83:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmove-large.c:83:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmove-large.c:96:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmove-large.c:96:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmove-large.c:96:3: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmove-large.c:96:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmove-large.c:96:3: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#   94|     json_array_begin (&json_ctx, "ifuncs");
#   95|   
#   96|->   FOR_EACH_IMPL (impl, 0)
#   97|       json_element_string (&json_ctx, impl->name);
#   98|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def113]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmove.c:79: error[comparePointers]: Comparing pointers that point to different objects
#   77|     json_array_begin (json_ctx, "timings");
#   78|   
#   79|->   FOR_EACH_IMPL (impl, 0)
#   80|       do_one_test (json_ctx, impl, s2, s1, len);
#   81|   

Error: CPPCHECK_WARNING (CWE-570): [#def114]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmove.c:79: error[subtractPointers]: Subtracting pointers that point to different objects
#   77|     json_array_begin (json_ctx, "timings");
#   78|   
#   79|->   FOR_EACH_IMPL (impl, 0)
#   80|       do_one_test (json_ctx, impl, s2, s1, len);
#   81|   

Error: GCC_ANALYZER_WARNING (CWE-469): [#def115]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmove.c:79:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmove.c:87:1: enter_function: entry to ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmove.c:93:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmove.c:93:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmove.c:111:15: branch_true: following ‘true’ branch (when ‘i != 14’)...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmove.c:113:34: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmove.c:113:7: call_function: calling ‘do_test’ from ‘test_main’
#   77|     json_array_begin (json_ctx, "timings");
#   78|   
#   79|->   FOR_EACH_IMPL (impl, 0)
#   80|       do_one_test (json_ctx, impl, s2, s1, len);
#   81|   

Error: CPPCHECK_WARNING (CWE-570): [#def116]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmove.c:106: error[comparePointers]: Comparing pointers that point to different objects
#  104|     json_array_begin (&json_ctx, "ifuncs");
#  105|   
#  106|->   FOR_EACH_IMPL (impl, 0)
#  107|       json_element_string (&json_ctx, impl->name);
#  108|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def117]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmove.c:106: error[subtractPointers]: Subtracting pointers that point to different objects
#  104|     json_array_begin (&json_ctx, "ifuncs");
#  105|   
#  106|->   FOR_EACH_IMPL (impl, 0)
#  107|       json_element_string (&json_ctx, impl->name);
#  108|     json_array_end (&json_ctx);

Error: GCC_ANALYZER_WARNING (CWE-469): [#def118]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmove.c:106:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmove.c:87:1: enter_function: entry to ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmove.c:93:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmove.c:93:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmove.c:106:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmove.c:106:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmove.c:106:3: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmove.c:106:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memmove.c:106:3: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  104|     json_array_begin (&json_ctx, "ifuncs");
#  105|   
#  106|->   FOR_EACH_IMPL (impl, 0)
#  107|       json_element_string (&json_ctx, impl->name);
#  108|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def119]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset-large.c:61: error[comparePointers]: Comparing pointers that point to different objects
#   59|     json_array_begin (json_ctx, "timings");
#   60|   
#   61|->   FOR_EACH_IMPL (impl, 0)
#   62|       do_one_test (json_ctx, impl, (CHAR *) (buf1) + align, c, len);
#   63|   

Error: CPPCHECK_WARNING (CWE-570): [#def120]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset-large.c:61: error[subtractPointers]: Subtracting pointers that point to different objects
#   59|     json_array_begin (json_ctx, "timings");
#   60|   
#   61|->   FOR_EACH_IMPL (impl, 0)
#   62|       do_one_test (json_ctx, impl, (CHAR *) (buf1) + align, c, len);
#   63|   

Error: GCC_ANALYZER_WARNING (CWE-469): [#def121]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset-large.c:61:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset-large.c:69:1: enter_function: entry to ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset-large.c:75:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset-large.c:75:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset-large.c:94:24: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset-large.c:96:7: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset-large.c:96:7: call_function: calling ‘do_test’ from ‘test_main’
#   59|     json_array_begin (json_ctx, "timings");
#   60|   
#   61|->   FOR_EACH_IMPL (impl, 0)
#   62|       do_one_test (json_ctx, impl, (CHAR *) (buf1) + align, c, len);
#   63|   

Error: CPPCHECK_WARNING (CWE-570): [#def122]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset-large.c:87: error[comparePointers]: Comparing pointers that point to different objects
#   85|   
#   86|     json_array_begin (&json_ctx, "ifuncs");
#   87|->   FOR_EACH_IMPL (impl, 0)
#   88|       json_element_string (&json_ctx, impl->name);
#   89|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def123]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset-large.c:87: error[subtractPointers]: Subtracting pointers that point to different objects
#   85|   
#   86|     json_array_begin (&json_ctx, "ifuncs");
#   87|->   FOR_EACH_IMPL (impl, 0)
#   88|       json_element_string (&json_ctx, impl->name);
#   89|     json_array_end (&json_ctx);

Error: GCC_ANALYZER_WARNING (CWE-469): [#def124]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset-large.c:87:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset-large.c:69:1: enter_function: entry to ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset-large.c:75:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset-large.c:75:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset-large.c:87:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset-large.c:87:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset-large.c:87:3: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset-large.c:87:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset-large.c:87:3: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#   85|   
#   86|     json_array_begin (&json_ctx, "ifuncs");
#   87|->   FOR_EACH_IMPL (impl, 0)
#   88|       json_element_string (&json_ctx, impl->name);
#   89|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def125]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset-random.c:143: error[comparePointers]: Comparing pointers that point to different objects
#  141|     json_array_begin (json_ctx, "timings");
#  142|   
#  143|->   FOR_EACH_IMPL (impl, 0)
#  144|       do_one_test (json_ctx, impl, INNER_LOOP_ITERS_MEDIUM * 2, test_arr, n);
#  145|   

Error: CPPCHECK_WARNING (CWE-570): [#def126]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset-random.c:143: error[subtractPointers]: Subtracting pointers that point to different objects
#  141|     json_array_begin (json_ctx, "timings");
#  142|   
#  143|->   FOR_EACH_IMPL (impl, 0)
#  144|       do_one_test (json_ctx, impl, INNER_LOOP_ITERS_MEDIUM * 2, test_arr, n);
#  145|   

Error: GCC_ANALYZER_WARNING (CWE-469): [#def127]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset-random.c:143:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset-random.c:130:15: branch_true: following ‘true’ branch (when ‘n != 16384’)...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset-random.c:132:29: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset-random.c:143:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset-random.c:143:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset-random.c:143:3: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset-random.c:143:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset-random.c:143:3: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  141|     json_array_begin (json_ctx, "timings");
#  142|   
#  143|->   FOR_EACH_IMPL (impl, 0)
#  144|       do_one_test (json_ctx, impl, INNER_LOOP_ITERS_MEDIUM * 2, test_arr, n);
#  145|   

Error: CPPCHECK_WARNING (CWE-570): [#def128]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset-random.c:169: error[comparePointers]: Comparing pointers that point to different objects
#  167|   
#  168|     json_array_begin (&json_ctx, "ifuncs");
#  169|->   FOR_EACH_IMPL (impl, 0)
#  170|       json_element_string (&json_ctx, impl->name);
#  171|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def129]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset-random.c:169: error[subtractPointers]: Subtracting pointers that point to different objects
#  167|   
#  168|     json_array_begin (&json_ctx, "ifuncs");
#  169|->   FOR_EACH_IMPL (impl, 0)
#  170|       json_element_string (&json_ctx, impl->name);
#  171|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def130]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset.c:74: error[comparePointers]: Comparing pointers that point to different objects
#   72|     json_array_begin (json_ctx, "timings");
#   73|   
#   74|->   FOR_EACH_IMPL (impl, 0)
#   75|       {
#   76|         do_one_test (json_ctx, impl, (CHAR *) (buf1) + align, c, len);

Error: CPPCHECK_WARNING (CWE-570): [#def131]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset.c:74: error[subtractPointers]: Subtracting pointers that point to different objects
#   72|     json_array_begin (json_ctx, "timings");
#   73|   
#   74|->   FOR_EACH_IMPL (impl, 0)
#   75|       {
#   76|         do_one_test (json_ctx, impl, (CHAR *) (buf1) + align, c, len);

Error: GCC_ANALYZER_WARNING (CWE-469): [#def132]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset.c:74:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset.c:84:1: enter_function: entry to ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset.c:91:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset.c:91:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset.c:92:3: call_function: calling ‘alloc_bufs’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset.c:92:3: return_function: returning to ‘test_main’ from ‘alloc_bufs’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset.c:109:17: branch_true: following ‘true’ branch (when ‘c <= 130’)...
 branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset.c:111:19: branch_true: following ‘true’ branch (when ‘i != 18’)...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset.c:112:35: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset.c:112:9: call_function: calling ‘do_test’ from ‘test_main’
#   72|     json_array_begin (json_ctx, "timings");
#   73|   
#   74|->   FOR_EACH_IMPL (impl, 0)
#   75|       {
#   76|         do_one_test (json_ctx, impl, (CHAR *) (buf1) + align, c, len);

Error: CPPCHECK_WARNING (CWE-570): [#def133]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset.c:103: error[comparePointers]: Comparing pointers that point to different objects
#  101|   
#  102|     json_array_begin (&json_ctx, "ifuncs");
#  103|->   FOR_EACH_IMPL (impl, 0)
#  104|       json_element_string (&json_ctx, impl->name);
#  105|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def134]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset.c:103: error[subtractPointers]: Subtracting pointers that point to different objects
#  101|   
#  102|     json_array_begin (&json_ctx, "ifuncs");
#  103|->   FOR_EACH_IMPL (impl, 0)
#  104|       json_element_string (&json_ctx, impl->name);
#  105|     json_array_end (&json_ctx);

Error: GCC_ANALYZER_WARNING (CWE-469): [#def135]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset.c:103:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset.c:84:1: enter_function: entry to ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset.c:91:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset.c:91:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset.c:92:3: call_function: calling ‘alloc_bufs’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset.c:92:3: return_function: returning to ‘test_main’ from ‘alloc_bufs’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset.c:103:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset.c:103:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset.c:103:3: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset.c:103:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-memset.c:103:3: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  101|   
#  102|     json_array_begin (&json_ctx, "ifuncs");
#  103|->   FOR_EACH_IMPL (impl, 0)
#  104|       json_element_string (&json_ctx, impl->name);
#  105|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def136]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-rawmemchr.c:97: error[comparePointers]: Comparing pointers that point to different objects
#   95|     json_array_begin (json_ctx, "timings");
#   96|   
#   97|->   FOR_EACH_IMPL (impl, 0)
#   98|       do_one_test (json_ctx, impl, (char *) (buf1 + align), seek_char, result);
#   99|   

Error: CPPCHECK_WARNING (CWE-570): [#def137]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-rawmemchr.c:97: error[subtractPointers]: Subtracting pointers that point to different objects
#   95|     json_array_begin (json_ctx, "timings");
#   96|   
#   97|->   FOR_EACH_IMPL (impl, 0)
#   98|       do_one_test (json_ctx, impl, (char *) (buf1 + align), seek_char, result);
#   99|   

Error: GCC_ANALYZER_WARNING (CWE-469): [#def138]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-rawmemchr.c:97:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-rawmemchr.c:105:1: enter_function: entry to ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-rawmemchr.c:109:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-rawmemchr.c:109:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-rawmemchr.c:127:15: branch_true: following ‘true’ branch (when ‘i != 7’)...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-rawmemchr.c:129:30: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-rawmemchr.c:130:7: call_function: calling ‘do_test’ from ‘test_main’
#   95|     json_array_begin (json_ctx, "timings");
#   96|   
#   97|->   FOR_EACH_IMPL (impl, 0)
#   98|       do_one_test (json_ctx, impl, (char *) (buf1 + align), seek_char, result);
#   99|   

Error: CPPCHECK_WARNING (CWE-570): [#def139]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-rawmemchr.c:121: error[comparePointers]: Comparing pointers that point to different objects
#  119|   
#  120|     json_array_begin (&json_ctx, "ifuncs");
#  121|->   FOR_EACH_IMPL (impl, 0)
#  122|       json_element_string (&json_ctx, impl->name);
#  123|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def140]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-rawmemchr.c:121: error[subtractPointers]: Subtracting pointers that point to different objects
#  119|   
#  120|     json_array_begin (&json_ctx, "ifuncs");
#  121|->   FOR_EACH_IMPL (impl, 0)
#  122|       json_element_string (&json_ctx, impl->name);
#  123|     json_array_end (&json_ctx);

Error: GCC_ANALYZER_WARNING (CWE-469): [#def141]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-rawmemchr.c:121:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-rawmemchr.c:105:1: enter_function: entry to ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-rawmemchr.c:109:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-rawmemchr.c:109:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-rawmemchr.c:121:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-rawmemchr.c:121:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-rawmemchr.c:121:3: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-rawmemchr.c:121:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-rawmemchr.c:121:3: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  119|   
#  120|     json_array_begin (&json_ctx, "ifuncs");
#  121|->   FOR_EACH_IMPL (impl, 0)
#  122|       json_element_string (&json_ctx, impl->name);
#  123|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def142]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcasecmp.c:101: error[comparePointers]: Comparing pointers that point to different objects
#   99|       s2[len - 1] -= exp_result;
#  100|   
#  101|->   FOR_EACH_IMPL (impl, 0)
#  102|       do_one_test (json_ctx, impl, s1, s2, exp_result);
#  103|   

Error: CPPCHECK_WARNING (CWE-570): [#def143]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcasecmp.c:101: error[subtractPointers]: Subtracting pointers that point to different objects
#   99|       s2[len - 1] -= exp_result;
#  100|   
#  101|->   FOR_EACH_IMPL (impl, 0)
#  102|       do_one_test (json_ctx, impl, s1, s2, exp_result);
#  103|   

Error: GCC_ANALYZER_WARNING (CWE-469): [#def144]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcasecmp.c:101:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcasecmp.c:69:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcasecmp.c:72:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcasecmp.c:73:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcasecmp.c:76:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcasecmp.c:101:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcasecmp.c:101:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcasecmp.c:101:3: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcasecmp.c:101:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcasecmp.c:101:3: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#   99|       s2[len - 1] -= exp_result;
#  100|   
#  101|->   FOR_EACH_IMPL (impl, 0)
#  102|       do_one_test (json_ctx, impl, s1, s2, exp_result);
#  103|   

Error: CPPCHECK_WARNING (CWE-570): [#def145]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcasecmp.c:126: error[comparePointers]: Comparing pointers that point to different objects
#  124|   
#  125|     json_array_begin (&json_ctx, "ifuncs");
#  126|->   FOR_EACH_IMPL (impl, 0)
#  127|       json_element_string (&json_ctx, impl->name);
#  128|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def146]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcasecmp.c:126: error[subtractPointers]: Subtracting pointers that point to different objects
#  124|   
#  125|     json_array_begin (&json_ctx, "ifuncs");
#  126|->   FOR_EACH_IMPL (impl, 0)
#  127|       json_element_string (&json_ctx, impl->name);
#  128|     json_array_end (&json_ctx);

Error: GCC_ANALYZER_WARNING (CWE-469): [#def147]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcasecmp.c:126:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcasecmp.c:109:1: enter_function: entry to ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcasecmp.c:114:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcasecmp.c:114:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcasecmp.c:126:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcasecmp.c:126:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcasecmp.c:126:3: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcasecmp.c:126:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcasecmp.c:126:3: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  124|   
#  125|     json_array_begin (&json_ctx, "ifuncs");
#  126|->   FOR_EACH_IMPL (impl, 0)
#  127|       json_element_string (&json_ctx, impl->name);
#  128|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def148]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcasestr.c:139: error[comparePointers]: Comparing pointers that point to different objects
#  137|     json_array_begin (json_ctx, "timings");
#  138|   
#  139|->   FOR_EACH_IMPL (impl, 0)
#  140|       do_one_test (json_ctx, impl, s1, s2, fail ? NULL : s1 + len1 - len2);
#  141|   

Error: CPPCHECK_WARNING (CWE-570): [#def149]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcasestr.c:139: error[subtractPointers]: Subtracting pointers that point to different objects
#  137|     json_array_begin (json_ctx, "timings");
#  138|   
#  139|->   FOR_EACH_IMPL (impl, 0)
#  140|       do_one_test (json_ctx, impl, s1, s2, fail ? NULL : s1 + len1 - len2);
#  141|   

Error: CPPCHECK_WARNING (CWE-570): [#def150]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcasestr.c:180: error[comparePointers]: Comparing pointers that point to different objects
#  178|       json_array_begin (json_ctx, "timings");
#  179|   
#  180|->     FOR_EACH_IMPL (impl, 0)
#  181|         do_one_test (json_ctx, impl, hs, ne, NULL);
#  182|   

Error: CPPCHECK_WARNING (CWE-570): [#def151]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcasestr.c:180: error[subtractPointers]: Subtracting pointers that point to different objects
#  178|       json_array_begin (json_ctx, "timings");
#  179|   
#  180|->     FOR_EACH_IMPL (impl, 0)
#  181|         do_one_test (json_ctx, impl, hs, ne, NULL);
#  182|   

Error: CPPCHECK_WARNING (CWE-570): [#def152]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcasestr.c:211: error[comparePointers]: Comparing pointers that point to different objects
#  209|       json_array_begin (json_ctx, "timings");
#  210|   
#  211|->     FOR_EACH_IMPL (impl, 0)
#  212|         do_one_test (json_ctx, impl, hs, ne, NULL);
#  213|   

Error: CPPCHECK_WARNING (CWE-570): [#def153]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcasestr.c:211: error[subtractPointers]: Subtracting pointers that point to different objects
#  209|       json_array_begin (json_ctx, "timings");
#  210|   
#  211|->     FOR_EACH_IMPL (impl, 0)
#  212|         do_one_test (json_ctx, impl, hs, ne, NULL);
#  213|   

Error: CPPCHECK_WARNING (CWE-570): [#def154]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcasestr.c:241: error[comparePointers]: Comparing pointers that point to different objects
#  239|       json_array_begin (json_ctx, "timings");
#  240|   
#  241|->     FOR_EACH_IMPL (impl, 0)
#  242|         do_one_test (json_ctx, impl, hs, ne, NULL);
#  243|   

Error: CPPCHECK_WARNING (CWE-570): [#def155]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcasestr.c:241: error[subtractPointers]: Subtracting pointers that point to different objects
#  239|       json_array_begin (json_ctx, "timings");
#  240|   
#  241|->     FOR_EACH_IMPL (impl, 0)
#  242|         do_one_test (json_ctx, impl, hs, ne, NULL);
#  243|   

Error: CPPCHECK_WARNING (CWE-570): [#def156]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcasestr.c:276: error[comparePointers]: Comparing pointers that point to different objects
#  274|       json_array_begin (json_ctx, "timings");
#  275|   
#  276|->     FOR_EACH_IMPL (impl, 0)
#  277|         do_one_test (json_ctx, impl, hs, ne, NULL);
#  278|   

Error: CPPCHECK_WARNING (CWE-570): [#def157]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcasestr.c:276: error[subtractPointers]: Subtracting pointers that point to different objects
#  274|       json_array_begin (json_ctx, "timings");
#  275|   
#  276|->     FOR_EACH_IMPL (impl, 0)
#  277|         do_one_test (json_ctx, impl, hs, ne, NULL);
#  278|   

Error: CPPCHECK_WARNING (CWE-570): [#def158]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcasestr.c:300: error[comparePointers]: Comparing pointers that point to different objects
#  298|   
#  299|     json_array_begin (&json_ctx, "ifuncs");
#  300|->   FOR_EACH_IMPL (impl, 0)
#  301|       json_element_string (&json_ctx, impl->name);
#  302|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def159]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcasestr.c:300: error[subtractPointers]: Subtracting pointers that point to different objects
#  298|   
#  299|     json_array_begin (&json_ctx, "ifuncs");
#  300|->   FOR_EACH_IMPL (impl, 0)
#  301|       json_element_string (&json_ctx, impl->name);
#  302|     json_array_end (&json_ctx);

Error: GCC_ANALYZER_WARNING (CWE-469): [#def160]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcasestr.c:300:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcasestr.c:285:1: enter_function: entry to ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcasestr.c:288:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcasestr.c:288:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcasestr.c:300:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcasestr.c:300:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcasestr.c:300:3: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcasestr.c:300:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcasestr.c:300:3: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  298|   
#  299|     json_array_begin (&json_ctx, "ifuncs");
#  300|->   FOR_EACH_IMPL (impl, 0)
#  301|       json_element_string (&json_ctx, impl->name);
#  302|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def161]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcat.c:122: error[comparePointers]: Comparing pointers that point to different objects
#  120|     json_array_begin (json_ctx, "timings");
#  121|   
#  122|->   FOR_EACH_IMPL (impl, 0)
#  123|       {
#  124|         s2[len2] = '\0';

Error: CPPCHECK_WARNING (CWE-570): [#def162]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcat.c:122: error[subtractPointers]: Subtracting pointers that point to different objects
#  120|     json_array_begin (json_ctx, "timings");
#  121|   
#  122|->   FOR_EACH_IMPL (impl, 0)
#  123|       {
#  124|         s2[len2] = '\0';

Error: GCC_ANALYZER_WARNING (CWE-469): [#def163]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcat.c:122:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcat.c:133:1: enter_function: entry to ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcat.c:138:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcat.c:138:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcat.c:140:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcat.c:140:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcat.c:158:15: branch_true: following ‘true’ branch (when ‘i != 16’)...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcat.c:160:7: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcat.c:160:7: call_function: calling ‘do_test’ from ‘test_main’
#  120|     json_array_begin (json_ctx, "timings");
#  121|   
#  122|->   FOR_EACH_IMPL (impl, 0)
#  123|       {
#  124|         s2[len2] = '\0';

Error: CPPCHECK_WARNING (CWE-570): [#def164]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcat.c:152: error[comparePointers]: Comparing pointers that point to different objects
#  150|   
#  151|     json_array_begin (&json_ctx, "ifuncs");
#  152|->   FOR_EACH_IMPL (impl, 0)
#  153|       json_element_string (&json_ctx, impl->name);
#  154|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def165]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcat.c:152: error[subtractPointers]: Subtracting pointers that point to different objects
#  150|   
#  151|     json_array_begin (&json_ctx, "ifuncs");
#  152|->   FOR_EACH_IMPL (impl, 0)
#  153|       json_element_string (&json_ctx, impl->name);
#  154|     json_array_end (&json_ctx);

Error: GCC_ANALYZER_WARNING (CWE-469): [#def166]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcat.c:152:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcat.c:133:1: enter_function: entry to ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcat.c:138:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcat.c:138:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcat.c:140:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcat.c:140:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcat.c:152:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcat.c:152:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcat.c:152:3: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcat.c:152:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcat.c:152:3: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  150|   
#  151|     json_array_begin (&json_ctx, "ifuncs");
#  152|->   FOR_EACH_IMPL (impl, 0)
#  153|       json_element_string (&json_ctx, impl->name);
#  154|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def167]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strchr.c:183: error[comparePointers]: Comparing pointers that point to different objects
#  181|       json_array_begin (json_ctx, "timings");
#  182|   
#  183|->     FOR_EACH_IMPL (impl, 0)
#  184|         do_one_rand_plus_branch_test (json_ctx, impl, buf + align, c);
#  185|   

Error: CPPCHECK_WARNING (CWE-570): [#def168]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strchr.c:183: error[subtractPointers]: Subtracting pointers that point to different objects
#  181|       json_array_begin (json_ctx, "timings");
#  182|   
#  183|->     FOR_EACH_IMPL (impl, 0)
#  184|         do_one_rand_plus_branch_test (json_ctx, impl, buf + align, c);
#  185|   

Error: CPPCHECK_WARNING (CWE-570): [#def169]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strchr.c:199: error[comparePointers]: Comparing pointers that point to different objects
#  197|       json_array_begin (json_ctx, "timings");
#  198|   
#  199|->     FOR_EACH_IMPL (impl, 0)
#  200|         do_one_rand_test (json_ctx, impl, buf + align, c);
#  201|   

Error: CPPCHECK_WARNING (CWE-570): [#def170]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strchr.c:199: error[subtractPointers]: Subtracting pointers that point to different objects
#  197|       json_array_begin (json_ctx, "timings");
#  198|   
#  199|->     FOR_EACH_IMPL (impl, 0)
#  200|         do_one_rand_test (json_ctx, impl, buf + align, c);
#  201|   

Error: CPPCHECK_WARNING (CWE-570): [#def171]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strchr.c:278: error[comparePointers]: Comparing pointers that point to different objects
#  276|     json_array_begin (json_ctx, "timings");
#  277|   
#  278|->   FOR_EACH_IMPL (impl, 0)
#  279|       do_one_test (json_ctx, impl, buf + align, seek_char, result);
#  280|   

Error: CPPCHECK_WARNING (CWE-570): [#def172]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strchr.c:278: error[subtractPointers]: Subtracting pointers that point to different objects
#  276|     json_array_begin (json_ctx, "timings");
#  277|   
#  278|->   FOR_EACH_IMPL (impl, 0)
#  279|       do_one_test (json_ctx, impl, buf + align, seek_char, result);
#  280|   

Error: GCC_ANALYZER_WARNING (CWE-469): [#def173]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strchr.c:278:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strchr.c:286:1: enter_function: entry to ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strchr.c:291:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strchr.c:291:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strchr.c:309:15: branch_true: following ‘true’ branch (when ‘i != 8’)...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strchr.c:311:30: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strchr.c:311:7: call_function: calling ‘do_test’ from ‘test_main’
#  276|     json_array_begin (json_ctx, "timings");
#  277|   
#  278|->   FOR_EACH_IMPL (impl, 0)
#  279|       do_one_test (json_ctx, impl, buf + align, seek_char, result);
#  280|   

Error: CPPCHECK_WARNING (CWE-570): [#def174]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strchr.c:303: error[comparePointers]: Comparing pointers that point to different objects
#  301|   
#  302|     json_array_begin (&json_ctx, "ifuncs");
#  303|->   FOR_EACH_IMPL (impl, 0)
#  304|       json_element_string (&json_ctx, impl->name);
#  305|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def175]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strchr.c:303: error[subtractPointers]: Subtracting pointers that point to different objects
#  301|   
#  302|     json_array_begin (&json_ctx, "ifuncs");
#  303|->   FOR_EACH_IMPL (impl, 0)
#  304|       json_element_string (&json_ctx, impl->name);
#  305|     json_array_end (&json_ctx);

Error: GCC_ANALYZER_WARNING (CWE-469): [#def176]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strchr.c:303:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strchr.c:286:1: enter_function: entry to ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strchr.c:291:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strchr.c:291:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strchr.c:303:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strchr.c:303:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strchr.c:303:3: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strchr.c:303:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strchr.c:303:3: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  301|   
#  302|     json_array_begin (&json_ctx, "ifuncs");
#  303|->   FOR_EACH_IMPL (impl, 0)
#  304|       json_element_string (&json_ctx, impl->name);
#  305|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def177]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcmp.c:116: error[comparePointers]: Comparing pointers that point to different objects
#  114|     json_array_begin (json_ctx, "timings");
#  115|   
#  116|->   FOR_EACH_IMPL (impl, 0)
#  117|       do_one_test (json_ctx, impl, s1, s2, exp_result);
#  118|   

Error: CPPCHECK_WARNING (CWE-570): [#def178]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcmp.c:116: error[subtractPointers]: Subtracting pointers that point to different objects
#  114|     json_array_begin (json_ctx, "timings");
#  115|   
#  116|->   FOR_EACH_IMPL (impl, 0)
#  117|       do_one_test (json_ctx, impl, s1, s2, exp_result);
#  118|   

Error: GCC_ANALYZER_WARNING (CWE-469): [#def179]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcmp.c:116:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcmp.c:83:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcmp.c:86:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcmp.c:87:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcmp.c:91:6: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcmp.c:116:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcmp.c:116:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcmp.c:116:3: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcmp.c:116:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcmp.c:116:3: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  114|     json_array_begin (json_ctx, "timings");
#  115|   
#  116|->   FOR_EACH_IMPL (impl, 0)
#  117|       do_one_test (json_ctx, impl, s1, s2, exp_result);
#  118|   

Error: CPPCHECK_WARNING (CWE-570): [#def180]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcmp.c:133: error[comparePointers]: Comparing pointers that point to different objects
#  131|     json_attr_uint (json_ctx, "align2", (double) align2);
#  132|     json_array_begin (json_ctx, "timings");
#  133|->   FOR_EACH_IMPL (impl, 0)
#  134|       do_one_test (json_ctx, impl, s1, s2, exp_result);
#  135|     json_array_end (json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def181]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcmp.c:133: error[subtractPointers]: Subtracting pointers that point to different objects
#  131|     json_attr_uint (json_ctx, "align2", (double) align2);
#  132|     json_array_begin (json_ctx, "timings");
#  133|->   FOR_EACH_IMPL (impl, 0)
#  134|       do_one_test (json_ctx, impl, s1, s2, exp_result);
#  135|     json_array_end (json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def182]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcmp.c:196: error[comparePointers]: Comparing pointers that point to different objects
#  194|   
#  195|     json_array_begin (&json_ctx, "ifuncs");
#  196|->   FOR_EACH_IMPL (impl, 0)
#  197|       json_element_string (&json_ctx, impl->name);
#  198|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def183]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcmp.c:196: error[subtractPointers]: Subtracting pointers that point to different objects
#  194|   
#  195|     json_array_begin (&json_ctx, "ifuncs");
#  196|->   FOR_EACH_IMPL (impl, 0)
#  197|       json_element_string (&json_ctx, impl->name);
#  198|     json_array_end (&json_ctx);

Error: GCC_ANALYZER_WARNING (CWE-469): [#def184]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcmp.c:196:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcmp.c:178:1: enter_function: entry to ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcmp.c:184:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcmp.c:184:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcmp.c:196:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcmp.c:196:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcmp.c:196:3: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcmp.c:196:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcmp.c:196:3: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  194|   
#  195|     json_array_begin (&json_ctx, "ifuncs");
#  196|->   FOR_EACH_IMPL (impl, 0)
#  197|       json_element_string (&json_ctx, impl->name);
#  198|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def185]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcpy.c:123: error[comparePointers]: Comparing pointers that point to different objects
#  121|     json_array_begin (json_ctx, "timings");
#  122|   
#  123|->   FOR_EACH_IMPL (impl, 0)
#  124|       do_one_test (json_ctx, impl, s2, s1, len);
#  125|   

Error: CPPCHECK_WARNING (CWE-570): [#def186]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcpy.c:123: error[subtractPointers]: Subtracting pointers that point to different objects
#  121|     json_array_begin (json_ctx, "timings");
#  122|   
#  123|->   FOR_EACH_IMPL (impl, 0)
#  124|       do_one_test (json_ctx, impl, s2, s1, len);
#  125|   

Error: GCC_ANALYZER_WARNING (CWE-469): [#def187]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcpy.c:123:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcpy.c:131:1: enter_function: entry to ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcpy.c:136:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcpy.c:136:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcpy.c:154:15: branch_true: following ‘true’ branch (when ‘i != 16’)...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcpy.c:156:7: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcpy.c:156:7: call_function: calling ‘do_test’ from ‘test_main’
#  121|     json_array_begin (json_ctx, "timings");
#  122|   
#  123|->   FOR_EACH_IMPL (impl, 0)
#  124|       do_one_test (json_ctx, impl, s2, s1, len);
#  125|   

Error: CPPCHECK_WARNING (CWE-570): [#def188]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcpy.c:148: error[comparePointers]: Comparing pointers that point to different objects
#  146|   
#  147|     json_array_begin (&json_ctx, "ifuncs");
#  148|->   FOR_EACH_IMPL (impl, 0)
#  149|       json_element_string (&json_ctx, impl->name);
#  150|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def189]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcpy.c:148: error[subtractPointers]: Subtracting pointers that point to different objects
#  146|   
#  147|     json_array_begin (&json_ctx, "ifuncs");
#  148|->   FOR_EACH_IMPL (impl, 0)
#  149|       json_element_string (&json_ctx, impl->name);
#  150|     json_array_end (&json_ctx);

Error: GCC_ANALYZER_WARNING (CWE-469): [#def190]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcpy.c:148:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcpy.c:131:1: enter_function: entry to ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcpy.c:136:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcpy.c:136:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcpy.c:148:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcpy.c:148:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcpy.c:148:3: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcpy.c:148:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcpy.c:148:3: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  146|   
#  147|     json_array_begin (&json_ctx, "ifuncs");
#  148|->   FOR_EACH_IMPL (impl, 0)
#  149|       json_element_string (&json_ctx, impl->name);
#  150|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def191]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcpy_chk.c:141: error[comparePointers]: Comparing pointers that point to different objects
#  139|       printf ("Length %4zd, alignment %2zd/%2zd:", len, align1, align2);
#  140|   
#  141|->   FOR_EACH_IMPL (impl, 0)
#  142|       do_one_test (impl, s2, s1, len, dlen);
#  143|   

Error: CPPCHECK_WARNING (CWE-570): [#def192]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcpy_chk.c:141: error[subtractPointers]: Subtracting pointers that point to different objects
#  139|       printf ("Length %4zd, alignment %2zd/%2zd:", len, align1, align2);
#  140|   
#  141|->   FOR_EACH_IMPL (impl, 0)
#  142|       do_one_test (impl, s2, s1, len, dlen);
#  143|   

Error: GCC_ANALYZER_WARNING (CWE-469): [#def193]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcpy_chk.c:141:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcpy_chk.c:149:1: enter_function: entry to ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcpy_chk.c:155:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcpy_chk.c:155:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcpy_chk.c:158:3: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcpy_chk.c:162:15: branch_true: following ‘true’ branch (when ‘i != 16’)...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcpy_chk.c:164:7: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcpy_chk.c:164:7: call_function: calling ‘do_test’ from ‘test_main’
#  139|       printf ("Length %4zd, alignment %2zd/%2zd:", len, align1, align2);
#  140|   
#  141|->   FOR_EACH_IMPL (impl, 0)
#  142|       do_one_test (impl, s2, s1, len, dlen);
#  143|   

Error: CPPCHECK_WARNING (CWE-570): [#def194]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcpy_chk.c:158: error[comparePointers]: Comparing pointers that point to different objects
#  156|   
#  157|     printf ("%23s", "");
#  158|->   FOR_EACH_IMPL (impl, 0)
#  159|       printf ("\t%s", impl->name);
#  160|     putchar ('\n');

Error: CPPCHECK_WARNING (CWE-570): [#def195]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcpy_chk.c:158: error[subtractPointers]: Subtracting pointers that point to different objects
#  156|   
#  157|     printf ("%23s", "");
#  158|->   FOR_EACH_IMPL (impl, 0)
#  159|       printf ("\t%s", impl->name);
#  160|     putchar ('\n');

Error: GCC_ANALYZER_WARNING (CWE-469): [#def196]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcpy_chk.c:158:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcpy_chk.c:149:1: enter_function: entry to ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcpy_chk.c:155:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcpy_chk.c:155:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcpy_chk.c:158:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcpy_chk.c:158:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcpy_chk.c:158:3: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcpy_chk.c:158:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strcpy_chk.c:158:3: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  156|   
#  157|     printf ("%23s", "");
#  158|->   FOR_EACH_IMPL (impl, 0)
#  159|       printf ("\t%s", impl->name);
#  160|     putchar ('\n');

Error: CPPCHECK_WARNING (CWE-570): [#def197]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strlen-random.c:153: error[comparePointers]: Comparing pointers that point to different objects
#  151|     json_array_begin (json_ctx, "timings");
#  152|   
#  153|->   FOR_EACH_IMPL (impl, 0)
#  154|       do_one_test (json_ctx, impl, INNER_LOOP_ITERS_MEDIUM, strlen_tests, n);
#  155|   

Error: CPPCHECK_WARNING (CWE-570): [#def198]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strlen-random.c:153: error[subtractPointers]: Subtracting pointers that point to different objects
#  151|     json_array_begin (json_ctx, "timings");
#  152|   
#  153|->   FOR_EACH_IMPL (impl, 0)
#  154|       do_one_test (json_ctx, impl, INNER_LOOP_ITERS_MEDIUM, strlen_tests, n);
#  155|   

Error: GCC_ANALYZER_WARNING (CWE-469): [#def199]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strlen-random.c:153:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strlen-random.c:131:19: branch_true: following ‘true’ branch (when ‘i != 32’)...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strlen-random.c:133:7: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strlen-random.c:139:15: branch_true: following ‘true’ branch (when ‘n != 65536’)...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strlen-random.c:141:36: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strlen-random.c:146:7: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strlen-random.c:147:7: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strlen-random.c:147:7: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strlen-random.c:139:30: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strlen-random.c:153:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strlen-random.c:153:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strlen-random.c:153:3: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strlen-random.c:153:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strlen-random.c:153:3: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  151|     json_array_begin (json_ctx, "timings");
#  152|   
#  153|->   FOR_EACH_IMPL (impl, 0)
#  154|       do_one_test (json_ctx, impl, INNER_LOOP_ITERS_MEDIUM, strlen_tests, n);
#  155|   

Error: CPPCHECK_WARNING (CWE-570): [#def200]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strlen-random.c:179: error[comparePointers]: Comparing pointers that point to different objects
#  177|   
#  178|     json_array_begin (&json_ctx, "ifuncs");
#  179|->   FOR_EACH_IMPL (impl, 0)
#  180|       json_element_string (&json_ctx, impl->name);
#  181|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def201]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strlen-random.c:179: error[subtractPointers]: Subtracting pointers that point to different objects
#  177|   
#  178|     json_array_begin (&json_ctx, "ifuncs");
#  179|->   FOR_EACH_IMPL (impl, 0)
#  180|       json_element_string (&json_ctx, impl->name);
#  181|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def202]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strlen.c:89: error[comparePointers]: Comparing pointers that point to different objects
#   87|   
#   88|   
#   89|->   FOR_EACH_IMPL (impl, 0)
#   90|       {
#   91|         CHAR *buf = (CHAR *) (buf1);

Error: CPPCHECK_WARNING (CWE-570): [#def203]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strlen.c:89: error[subtractPointers]: Subtracting pointers that point to different objects
#   87|   
#   88|   
#   89|->   FOR_EACH_IMPL (impl, 0)
#   90|       {
#   91|         CHAR *buf = (CHAR *) (buf1);

Error: GCC_ANALYZER_WARNING (CWE-469): [#def204]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strlen.c:89:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strlen.c:106:1: enter_function: entry to ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strlen.c:111:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strlen.c:111:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strlen.c:130:15: branch_true: following ‘true’ branch (when ‘i != 8’)...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strlen.c:132:7: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strlen.c:132:7: call_function: calling ‘do_test’ from ‘test_main’
#   87|   
#   88|   
#   89|->   FOR_EACH_IMPL (impl, 0)
#   90|       {
#   91|         CHAR *buf = (CHAR *) (buf1);

Error: CPPCHECK_WARNING (CWE-570): [#def205]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strlen.c:123: error[comparePointers]: Comparing pointers that point to different objects
#  121|   
#  122|     json_array_begin (&json_ctx, "ifuncs");
#  123|->   FOR_EACH_IMPL (impl, 0)
#  124|       json_element_string (&json_ctx, impl->name);
#  125|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def206]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strlen.c:123: error[subtractPointers]: Subtracting pointers that point to different objects
#  121|   
#  122|     json_array_begin (&json_ctx, "ifuncs");
#  123|->   FOR_EACH_IMPL (impl, 0)
#  124|       json_element_string (&json_ctx, impl->name);
#  125|     json_array_end (&json_ctx);

Error: GCC_ANALYZER_WARNING (CWE-469): [#def207]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strlen.c:123:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strlen.c:106:1: enter_function: entry to ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strlen.c:111:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strlen.c:111:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strlen.c:123:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strlen.c:123:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strlen.c:123:3: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strlen.c:123:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strlen.c:123:3: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  121|   
#  122|     json_array_begin (&json_ctx, "ifuncs");
#  123|->   FOR_EACH_IMPL (impl, 0)
#  124|       json_element_string (&json_ctx, impl->name);
#  125|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def208]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncasecmp.c:92: error[comparePointers]: Comparing pointers that point to different objects
#   90|     json_array_begin (json_ctx, "timings");
#   91|   
#   92|->   FOR_EACH_IMPL (impl, 0)
#   93|       do_one_test (json_ctx, impl, s1, s2, n, exp_result);
#   94|   

Error: CPPCHECK_WARNING (CWE-570): [#def209]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncasecmp.c:92: error[subtractPointers]: Subtracting pointers that point to different objects
#   90|     json_array_begin (json_ctx, "timings");
#   91|   
#   92|->   FOR_EACH_IMPL (impl, 0)
#   93|       do_one_test (json_ctx, impl, s1, s2, n, exp_result);
#   94|   

Error: GCC_ANALYZER_WARNING (CWE-469): [#def210]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncasecmp.c:92:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncasecmp.c:59:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncasecmp.c:62:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncasecmp.c:63:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncasecmp.c:66:17: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncasecmp.c:92:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncasecmp.c:92:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncasecmp.c:92:3: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncasecmp.c:92:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncasecmp.c:92:3: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#   90|     json_array_begin (json_ctx, "timings");
#   91|   
#   92|->   FOR_EACH_IMPL (impl, 0)
#   93|       do_one_test (json_ctx, impl, s1, s2, n, exp_result);
#   94|   

Error: CPPCHECK_WARNING (CWE-570): [#def211]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncasecmp.c:117: error[comparePointers]: Comparing pointers that point to different objects
#  115|   
#  116|     json_array_begin (&json_ctx, "ifuncs");
#  117|->   FOR_EACH_IMPL (impl, 0)
#  118|       json_element_string (&json_ctx, impl->name);
#  119|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def212]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncasecmp.c:117: error[subtractPointers]: Subtracting pointers that point to different objects
#  115|   
#  116|     json_array_begin (&json_ctx, "ifuncs");
#  117|->   FOR_EACH_IMPL (impl, 0)
#  118|       json_element_string (&json_ctx, impl->name);
#  119|     json_array_end (&json_ctx);

Error: GCC_ANALYZER_WARNING (CWE-469): [#def213]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncasecmp.c:117:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncasecmp.c:100:1: enter_function: entry to ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncasecmp.c:105:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncasecmp.c:105:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncasecmp.c:117:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncasecmp.c:117:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncasecmp.c:117:3: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncasecmp.c:117:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncasecmp.c:117:3: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  115|   
#  116|     json_array_begin (&json_ctx, "ifuncs");
#  117|->   FOR_EACH_IMPL (impl, 0)
#  118|       json_element_string (&json_ctx, impl->name);
#  119|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def214]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncat.c:133: error[comparePointers]: Comparing pointers that point to different objects
#  131|     json_array_begin (json_ctx, "timings");
#  132|   
#  133|->   FOR_EACH_IMPL (impl, 0)
#  134|       {
#  135|         s2[len2] = '\0';

Error: CPPCHECK_WARNING (CWE-570): [#def215]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncat.c:133: error[subtractPointers]: Subtracting pointers that point to different objects
#  131|     json_array_begin (json_ctx, "timings");
#  132|   
#  133|->   FOR_EACH_IMPL (impl, 0)
#  134|       {
#  135|         s2[len2] = '\0';

Error: GCC_ANALYZER_WARNING (CWE-469): [#def216]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncat.c:133:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncat.c:144:1: enter_function: entry to ‘main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncat.c:149:3: call_function: calling ‘test_init’ from ‘main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncat.c:149:3: return_function: returning to ‘main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncat.c:161:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncat.c:161:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncat.c:167:15: branch_true: following ‘true’ branch (when ‘n <= 2048’)...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncat.c:169:7: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncat.c:169:7: call_function: calling ‘do_test’ from ‘main’
#  131|     json_array_begin (json_ctx, "timings");
#  132|   
#  133|->   FOR_EACH_IMPL (impl, 0)
#  134|       {
#  135|         s2[len2] = '\0';

Error: CPPCHECK_WARNING (CWE-570): [#def217]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncat.c:161: error[comparePointers]: Comparing pointers that point to different objects
#  159|   
#  160|     json_array_begin (&json_ctx, "ifuncs");
#  161|->   FOR_EACH_IMPL (impl, 0)
#  162|       json_element_string (&json_ctx, impl->name);
#  163|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def218]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncat.c:161: error[subtractPointers]: Subtracting pointers that point to different objects
#  159|   
#  160|     json_array_begin (&json_ctx, "ifuncs");
#  161|->   FOR_EACH_IMPL (impl, 0)
#  162|       json_element_string (&json_ctx, impl->name);
#  163|     json_array_end (&json_ctx);

Error: GCC_ANALYZER_WARNING (CWE-469): [#def219]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncat.c:161:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncat.c:144:1: enter_function: entry to ‘main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncat.c:149:3: call_function: calling ‘test_init’ from ‘main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncat.c:149:3: return_function: returning to ‘main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncat.c:161:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncat.c:161:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncat.c:161:3: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncat.c:161:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncat.c:161:3: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  159|   
#  160|     json_array_begin (&json_ctx, "ifuncs");
#  161|->   FOR_EACH_IMPL (impl, 0)
#  162|       json_element_string (&json_ctx, impl->name);
#  163|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def220]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncmp.c:81: error[comparePointers]: Comparing pointers that point to different objects
#   79|     json_array_begin (json_ctx, "timings");
#   80|   
#   81|->   FOR_EACH_IMPL (impl, 0)
#   82|       {
#   83|         alloc_bufs ();

Error: CPPCHECK_WARNING (CWE-570): [#def221]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncmp.c:81: error[subtractPointers]: Subtracting pointers that point to different objects
#   79|     json_array_begin (json_ctx, "timings");
#   80|   
#   81|->   FOR_EACH_IMPL (impl, 0)
#   82|       {
#   83|         alloc_bufs ();

Error: CPPCHECK_WARNING (CWE-570): [#def222]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncmp.c:138: error[comparePointers]: Comparing pointers that point to different objects
#  136|     json_array_begin (json_ctx, "timings");
#  137|   
#  138|->   FOR_EACH_IMPL (impl, 0)
#  139|     {
#  140|       alloc_bufs ();

Error: CPPCHECK_WARNING (CWE-570): [#def223]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncmp.c:138: error[subtractPointers]: Subtracting pointers that point to different objects
#  136|     json_array_begin (json_ctx, "timings");
#  137|   
#  138|->   FOR_EACH_IMPL (impl, 0)
#  139|     {
#  140|       alloc_bufs ();

Error: GCC_ANALYZER_WARNING (CWE-469): [#def224]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncmp.c:138:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncmp.c:124:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncmp.c:127:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncmp.c:128:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncmp.c:131:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncmp.c:138:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncmp.c:138:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncmp.c:138:3: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncmp.c:138:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncmp.c:138:3: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  136|     json_array_begin (json_ctx, "timings");
#  137|   
#  138|->   FOR_EACH_IMPL (impl, 0)
#  139|     {
#  140|       alloc_bufs ();

Error: CPPCHECK_WARNING (CWE-570): [#def225]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncmp.c:176: error[comparePointers]: Comparing pointers that point to different objects
#  174|     json_attr_uint (json_ctx, "align2", (double) align2);
#  175|     json_array_begin (json_ctx, "timings");
#  176|->   FOR_EACH_IMPL (impl, 0)
#  177|       do_one_test (json_ctx, impl, s1, s2, n, exp_result);
#  178|     json_array_end (json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def226]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncmp.c:176: error[subtractPointers]: Subtracting pointers that point to different objects
#  174|     json_attr_uint (json_ctx, "align2", (double) align2);
#  175|     json_array_begin (json_ctx, "timings");
#  176|->   FOR_EACH_IMPL (impl, 0)
#  177|       do_one_test (json_ctx, impl, s1, s2, n, exp_result);
#  178|     json_array_end (json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def227]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncmp.c:245: error[comparePointers]: Comparing pointers that point to different objects
#  243|     json_array_begin (json_ctx, "timings");
#  244|     {
#  245|->     FOR_EACH_IMPL (impl, 0)
#  246|         do_one_test (json_ctx, impl, s1, s2, page_size, -exp_result);
#  247|     }

Error: CPPCHECK_WARNING (CWE-570): [#def228]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncmp.c:245: error[subtractPointers]: Subtracting pointers that point to different objects
#  243|     json_array_begin (json_ctx, "timings");
#  244|     {
#  245|->     FOR_EACH_IMPL (impl, 0)
#  246|         do_one_test (json_ctx, impl, s1, s2, page_size, -exp_result);
#  247|     }

Error: CPPCHECK_WARNING (CWE-570): [#def229]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncmp.c:258: error[comparePointers]: Comparing pointers that point to different objects
#  256|     json_array_begin (json_ctx, "timings");
#  257|     {
#  258|->     FOR_EACH_IMPL (impl, 0)
#  259|         do_one_test (json_ctx, impl, s1, s2, page_size, exp_result);
#  260|     }

Error: CPPCHECK_WARNING (CWE-570): [#def230]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncmp.c:258: error[subtractPointers]: Subtracting pointers that point to different objects
#  256|     json_array_begin (json_ctx, "timings");
#  257|     {
#  258|->     FOR_EACH_IMPL (impl, 0)
#  259|         do_one_test (json_ctx, impl, s1, s2, page_size, exp_result);
#  260|     }

Error: CPPCHECK_WARNING (CWE-570): [#def231]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncmp.c:307: error[comparePointers]: Comparing pointers that point to different objects
#  305|   
#  306|     json_array_begin (&json_ctx, "ifuncs");
#  307|->   FOR_EACH_IMPL (impl, 0)
#  308|     json_element_string (&json_ctx, impl->name);
#  309|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def232]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncmp.c:307: error[subtractPointers]: Subtracting pointers that point to different objects
#  305|   
#  306|     json_array_begin (&json_ctx, "ifuncs");
#  307|->   FOR_EACH_IMPL (impl, 0)
#  308|     json_element_string (&json_ctx, impl->name);
#  309|     json_array_end (&json_ctx);

Error: GCC_ANALYZER_WARNING (CWE-469): [#def233]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncmp.c:307:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncmp.c:289:1: enter_function: entry to ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncmp.c:295:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncmp.c:295:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncmp.c:307:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncmp.c:307:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncmp.c:307:3: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncmp.c:307:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncmp.c:307:3: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  305|   
#  306|     json_array_begin (&json_ctx, "ifuncs");
#  307|->   FOR_EACH_IMPL (impl, 0)
#  308|     json_element_string (&json_ctx, impl->name);
#  309|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def234]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncpy.c:139: error[comparePointers]: Comparing pointers that point to different objects
#  137|     json_array_begin (json_ctx, "timings");
#  138|   
#  139|->   FOR_EACH_IMPL (impl, 0)
#  140|       do_one_test (json_ctx, impl, s2, s1, len, n);
#  141|   

Error: CPPCHECK_WARNING (CWE-570): [#def235]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncpy.c:139: error[subtractPointers]: Subtracting pointers that point to different objects
#  137|     json_array_begin (json_ctx, "timings");
#  138|   
#  139|->   FOR_EACH_IMPL (impl, 0)
#  140|       do_one_test (json_ctx, impl, s2, s1, len, n);
#  141|   

Error: GCC_ANALYZER_WARNING (CWE-469): [#def236]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncpy.c:139:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncpy.c:147:1: enter_function: entry to ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncpy.c:152:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncpy.c:152:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncpy.c:170:15: branch_true: following ‘true’ branch (when ‘i != 8’)...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncpy.c:172:7: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncpy.c:172:7: call_function: calling ‘do_test’ from ‘test_main’
#  137|     json_array_begin (json_ctx, "timings");
#  138|   
#  139|->   FOR_EACH_IMPL (impl, 0)
#  140|       do_one_test (json_ctx, impl, s2, s1, len, n);
#  141|   

Error: CPPCHECK_WARNING (CWE-570): [#def237]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncpy.c:164: error[comparePointers]: Comparing pointers that point to different objects
#  162|   
#  163|     json_array_begin (&json_ctx, "ifuncs");
#  164|->   FOR_EACH_IMPL (impl, 0)
#  165|       json_element_string (&json_ctx, impl->name);
#  166|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def238]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncpy.c:164: error[subtractPointers]: Subtracting pointers that point to different objects
#  162|   
#  163|     json_array_begin (&json_ctx, "ifuncs");
#  164|->   FOR_EACH_IMPL (impl, 0)
#  165|       json_element_string (&json_ctx, impl->name);
#  166|     json_array_end (&json_ctx);

Error: GCC_ANALYZER_WARNING (CWE-469): [#def239]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncpy.c:164:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncpy.c:147:1: enter_function: entry to ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncpy.c:152:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncpy.c:152:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncpy.c:164:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncpy.c:164:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncpy.c:164:3: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncpy.c:164:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strncpy.c:164:3: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  162|   
#  163|     json_array_begin (&json_ctx, "ifuncs");
#  164|->   FOR_EACH_IMPL (impl, 0)
#  165|       json_element_string (&json_ctx, impl->name);
#  166|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def240]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strnlen.c:98: error[comparePointers]: Comparing pointers that point to different objects
#   96|     buf[align + len] = 0;
#   97|   
#   98|->   FOR_EACH_IMPL (impl, 0)
#   99|       do_one_test (json_ctx, impl, (CHAR *) (buf + align), maxlen,
#  100|   		 MIN (len, maxlen));

Error: CPPCHECK_WARNING (CWE-570): [#def241]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strnlen.c:98: error[subtractPointers]: Subtracting pointers that point to different objects
#   96|     buf[align + len] = 0;
#   97|   
#   98|->   FOR_EACH_IMPL (impl, 0)
#   99|       do_one_test (json_ctx, impl, (CHAR *) (buf + align), maxlen,
#  100|   		 MIN (len, maxlen));

Error: GCC_ANALYZER_WARNING (CWE-469): [#def242]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strnlen.c:98:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strnlen.c:107:1: enter_function: entry to ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strnlen.c:112:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strnlen.c:112:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strnlen.c:130:15: branch_true: following ‘true’ branch (when ‘i != 2’)...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strnlen.c:132:7: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strnlen.c:132:7: call_function: calling ‘do_test’ from ‘test_main’
#   96|     buf[align + len] = 0;
#   97|   
#   98|->   FOR_EACH_IMPL (impl, 0)
#   99|       do_one_test (json_ctx, impl, (CHAR *) (buf + align), maxlen,
#  100|   		 MIN (len, maxlen));

Error: CPPCHECK_WARNING (CWE-570): [#def243]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strnlen.c:124: error[comparePointers]: Comparing pointers that point to different objects
#  122|   
#  123|     json_array_begin (&json_ctx, "ifuncs");
#  124|->   FOR_EACH_IMPL (impl, 0)
#  125|       json_element_string (&json_ctx, impl->name);
#  126|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def244]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strnlen.c:124: error[subtractPointers]: Subtracting pointers that point to different objects
#  122|   
#  123|     json_array_begin (&json_ctx, "ifuncs");
#  124|->   FOR_EACH_IMPL (impl, 0)
#  125|       json_element_string (&json_ctx, impl->name);
#  126|     json_array_end (&json_ctx);

Error: GCC_ANALYZER_WARNING (CWE-469): [#def245]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strnlen.c:124:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strnlen.c:107:1: enter_function: entry to ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strnlen.c:112:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strnlen.c:112:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strnlen.c:124:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strnlen.c:124:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strnlen.c:124:3: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strnlen.c:124:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strnlen.c:124:3: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  122|   
#  123|     json_array_begin (&json_ctx, "ifuncs");
#  124|->   FOR_EACH_IMPL (impl, 0)
#  125|       json_element_string (&json_ctx, impl->name);
#  126|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def246]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strpbrk.c:131: error[comparePointers]: Comparing pointers that point to different objects
#  129|     json_array_begin (json_ctx, "timings");
#  130|   
#  131|->   FOR_EACH_IMPL (impl, 0)
#  132|       do_one_test (json_ctx, impl, s, rej, result);
#  133|   

Error: CPPCHECK_WARNING (CWE-570): [#def247]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strpbrk.c:131: error[subtractPointers]: Subtracting pointers that point to different objects
#  129|     json_array_begin (json_ctx, "timings");
#  130|   
#  131|->   FOR_EACH_IMPL (impl, 0)
#  132|       do_one_test (json_ctx, impl, s, rej, result);
#  133|   

Error: CPPCHECK_WARNING (CWE-570): [#def248]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strpbrk.c:156: error[comparePointers]: Comparing pointers that point to different objects
#  154|   
#  155|     json_array_begin (&json_ctx, "ifuncs");
#  156|->   FOR_EACH_IMPL (impl, 0)
#  157|       json_element_string (&json_ctx, impl->name);
#  158|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def249]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strpbrk.c:156: error[subtractPointers]: Subtracting pointers that point to different objects
#  154|   
#  155|     json_array_begin (&json_ctx, "ifuncs");
#  156|->   FOR_EACH_IMPL (impl, 0)
#  157|       json_element_string (&json_ctx, impl->name);
#  158|     json_array_end (&json_ctx);

Error: GCC_ANALYZER_WARNING (CWE-469): [#def250]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strpbrk.c:156:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strpbrk.c:139:1: enter_function: entry to ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strpbrk.c:144:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strpbrk.c:144:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strpbrk.c:156:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strpbrk.c:156:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strpbrk.c:156:3: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strpbrk.c:156:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strpbrk.c:156:3: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  154|   
#  155|     json_array_begin (&json_ctx, "ifuncs");
#  156|->   FOR_EACH_IMPL (impl, 0)
#  157|       json_element_string (&json_ctx, impl->name);
#  158|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def251]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strrchr.c:133: error[comparePointers]: Comparing pointers that point to different objects
#  131|     json_array_begin (json_ctx, "timings");
#  132|   
#  133|->   FOR_EACH_IMPL (impl, 0)
#  134|       do_one_test (json_ctx, impl, (CHAR *) (buf + align), seek_char, result);
#  135|   

Error: CPPCHECK_WARNING (CWE-570): [#def252]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strrchr.c:133: error[subtractPointers]: Subtracting pointers that point to different objects
#  131|     json_array_begin (json_ctx, "timings");
#  132|   
#  133|->   FOR_EACH_IMPL (impl, 0)
#  134|       do_one_test (json_ctx, impl, (CHAR *) (buf + align), seek_char, result);
#  135|   

Error: CPPCHECK_WARNING (CWE-570): [#def253]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strrchr.c:158: error[comparePointers]: Comparing pointers that point to different objects
#  156|   
#  157|     json_array_begin (&json_ctx, "ifuncs");
#  158|->   FOR_EACH_IMPL (impl, 0)
#  159|       json_element_string (&json_ctx, impl->name);
#  160|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def254]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strrchr.c:158: error[subtractPointers]: Subtracting pointers that point to different objects
#  156|   
#  157|     json_array_begin (&json_ctx, "ifuncs");
#  158|->   FOR_EACH_IMPL (impl, 0)
#  159|       json_element_string (&json_ctx, impl->name);
#  160|     json_array_end (&json_ctx);

Error: GCC_ANALYZER_WARNING (CWE-469): [#def255]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strrchr.c:158:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strrchr.c:141:1: enter_function: entry to ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strrchr.c:147:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strrchr.c:147:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strrchr.c:158:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strrchr.c:158:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strrchr.c:158:3: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strrchr.c:158:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strrchr.c:158:3: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  156|   
#  157|     json_array_begin (&json_ctx, "ifuncs");
#  158|->   FOR_EACH_IMPL (impl, 0)
#  159|       json_element_string (&json_ctx, impl->name);
#  160|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def256]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strsep.c:68: error[comparePointers]: Comparing pointers that point to different objects
#   66|   	  len1, len2, align1, align2, fail ? "fail" : "found");
#   67|   
#   68|->   FOR_EACH_IMPL (impl, 0)
#   69|     {
#   70|       char *s1 = (char *) (buf1 + align1);

Error: CPPCHECK_WARNING (CWE-570): [#def257]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strsep.c:68: error[subtractPointers]: Subtracting pointers that point to different objects
#   66|   	  len1, len2, align1, align2, fail ? "fail" : "found");
#   67|   
#   68|->   FOR_EACH_IMPL (impl, 0)
#   69|     {
#   70|       char *s1 = (char *) (buf1 + align1);

Error: GCC_ANALYZER_WARNING (CWE-469): [#def258]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strsep.c:68:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strsep.c:81:1: enter_function: entry to ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strsep.c:83:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strsep.c:83:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strsep.c:86:3: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strsep.c:90:25: branch_true: following ‘true’ branch (when ‘klen != 32’)...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strsep.c:91:17: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strsep.c:91:34: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strsep.c:93:9: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strsep.c:93:9: call_function: calling ‘do_test’ from ‘test_main’
#   66|   	  len1, len2, align1, align2, fail ? "fail" : "found");
#   67|   
#   68|->   FOR_EACH_IMPL (impl, 0)
#   69|     {
#   70|       char *s1 = (char *) (buf1 + align1);

Error: CPPCHECK_WARNING (CWE-570): [#def259]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strsep.c:86: error[comparePointers]: Comparing pointers that point to different objects
#   84|   
#   85|     printf ("%23s", "");
#   86|->   FOR_EACH_IMPL (impl, 0)
#   87|       printf ("\t%s", impl->name);
#   88|     putchar ('\n');

Error: CPPCHECK_WARNING (CWE-570): [#def260]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strsep.c:86: error[subtractPointers]: Subtracting pointers that point to different objects
#   84|   
#   85|     printf ("%23s", "");
#   86|->   FOR_EACH_IMPL (impl, 0)
#   87|       printf ("\t%s", impl->name);
#   88|     putchar ('\n');

Error: GCC_ANALYZER_WARNING (CWE-469): [#def261]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strsep.c:86:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strsep.c:81:1: enter_function: entry to ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strsep.c:83:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strsep.c:83:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strsep.c:86:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strsep.c:86:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strsep.c:86:3: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strsep.c:86:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strsep.c:86:3: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#   84|   
#   85|     printf ("%23s", "");
#   86|->   FOR_EACH_IMPL (impl, 0)
#   87|       printf ("\t%s", impl->name);
#   88|     putchar ('\n');

Error: CPPCHECK_WARNING (CWE-570): [#def262]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strspn.c:112: error[comparePointers]: Comparing pointers that point to different objects
#  110|     json_array_begin (json_ctx, "timings");
#  111|   
#  112|->   FOR_EACH_IMPL (impl, 0)
#  113|       do_one_test (json_ctx, impl, s, acc, pos);
#  114|   

Error: CPPCHECK_WARNING (CWE-570): [#def263]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strspn.c:112: error[subtractPointers]: Subtracting pointers that point to different objects
#  110|     json_array_begin (json_ctx, "timings");
#  111|   
#  112|->   FOR_EACH_IMPL (impl, 0)
#  113|       do_one_test (json_ctx, impl, s, acc, pos);
#  114|   

Error: CPPCHECK_WARNING (CWE-570): [#def264]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strspn.c:137: error[comparePointers]: Comparing pointers that point to different objects
#  135|   
#  136|     json_array_begin (&json_ctx, "ifuncs");
#  137|->   FOR_EACH_IMPL (impl, 0)
#  138|       json_element_string (&json_ctx, impl->name);
#  139|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def265]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strspn.c:137: error[subtractPointers]: Subtracting pointers that point to different objects
#  135|   
#  136|     json_array_begin (&json_ctx, "ifuncs");
#  137|->   FOR_EACH_IMPL (impl, 0)
#  138|       json_element_string (&json_ctx, impl->name);
#  139|     json_array_end (&json_ctx);

Error: GCC_ANALYZER_WARNING (CWE-469): [#def266]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strspn.c:137:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strspn.c:120:1: enter_function: entry to ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strspn.c:125:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strspn.c:125:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strspn.c:137:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strspn.c:137:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strspn.c:137:3: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strspn.c:137:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strspn.c:137:3: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  135|   
#  136|     json_array_begin (&json_ctx, "ifuncs");
#  137|->   FOR_EACH_IMPL (impl, 0)
#  138|       json_element_string (&json_ctx, impl->name);
#  139|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def267]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strstr.c:209: error[comparePointers]: Comparing pointers that point to different objects
#  207|     json_array_begin (json_ctx, "timings");
#  208|   
#  209|->   FOR_EACH_IMPL (impl, 0)
#  210|       do_one_test (json_ctx, impl, s1, s2, fail ? NULL : s1 + len1 - len2);
#  211|   

Error: CPPCHECK_WARNING (CWE-570): [#def268]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strstr.c:209: error[subtractPointers]: Subtracting pointers that point to different objects
#  207|     json_array_begin (json_ctx, "timings");
#  208|   
#  209|->   FOR_EACH_IMPL (impl, 0)
#  210|       do_one_test (json_ctx, impl, s1, s2, fail ? NULL : s1 + len1 - len2);
#  211|   

Error: CPPCHECK_WARNING (CWE-570): [#def269]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strstr.c:253: error[comparePointers]: Comparing pointers that point to different objects
#  251|       json_array_begin (json_ctx, "timings");
#  252|   
#  253|->     FOR_EACH_IMPL (impl, 0)
#  254|         do_one_test (json_ctx, impl, hs, ne, NULL);
#  255|   

Error: CPPCHECK_WARNING (CWE-570): [#def270]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strstr.c:253: error[subtractPointers]: Subtracting pointers that point to different objects
#  251|       json_array_begin (json_ctx, "timings");
#  252|   
#  253|->     FOR_EACH_IMPL (impl, 0)
#  254|         do_one_test (json_ctx, impl, hs, ne, NULL);
#  255|   

Error: CPPCHECK_WARNING (CWE-570): [#def271]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strstr.c:284: error[comparePointers]: Comparing pointers that point to different objects
#  282|       json_array_begin (json_ctx, "timings");
#  283|   
#  284|->     FOR_EACH_IMPL (impl, 0)
#  285|         do_one_test (json_ctx, impl, hs, ne, NULL);
#  286|   

Error: CPPCHECK_WARNING (CWE-570): [#def272]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strstr.c:284: error[subtractPointers]: Subtracting pointers that point to different objects
#  282|       json_array_begin (json_ctx, "timings");
#  283|   
#  284|->     FOR_EACH_IMPL (impl, 0)
#  285|         do_one_test (json_ctx, impl, hs, ne, NULL);
#  286|   

Error: CPPCHECK_WARNING (CWE-570): [#def273]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strstr.c:314: error[comparePointers]: Comparing pointers that point to different objects
#  312|       json_array_begin (json_ctx, "timings");
#  313|   
#  314|->     FOR_EACH_IMPL (impl, 0)
#  315|         do_one_test (json_ctx, impl, hs, ne, NULL);
#  316|   

Error: CPPCHECK_WARNING (CWE-570): [#def274]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strstr.c:314: error[subtractPointers]: Subtracting pointers that point to different objects
#  312|       json_array_begin (json_ctx, "timings");
#  313|   
#  314|->     FOR_EACH_IMPL (impl, 0)
#  315|         do_one_test (json_ctx, impl, hs, ne, NULL);
#  316|   

Error: CPPCHECK_WARNING (CWE-570): [#def275]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strstr.c:349: error[comparePointers]: Comparing pointers that point to different objects
#  347|       json_array_begin (json_ctx, "timings");
#  348|   
#  349|->     FOR_EACH_IMPL (impl, 0)
#  350|         do_one_test (json_ctx, impl, hs, ne, NULL);
#  351|   

Error: CPPCHECK_WARNING (CWE-570): [#def276]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strstr.c:349: error[subtractPointers]: Subtracting pointers that point to different objects
#  347|       json_array_begin (json_ctx, "timings");
#  348|   
#  349|->     FOR_EACH_IMPL (impl, 0)
#  350|         do_one_test (json_ctx, impl, hs, ne, NULL);
#  351|   

Error: CPPCHECK_WARNING (CWE-570): [#def277]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strstr.c:376: error[comparePointers]: Comparing pointers that point to different objects
#  374|       json_array_begin (json_ctx, "timings");
#  375|   
#  376|->     FOR_EACH_IMPL (impl, 0)
#  377|         do_one_test (json_ctx, impl, hs, ne, NULL);
#  378|   

Error: CPPCHECK_WARNING (CWE-570): [#def278]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strstr.c:376: error[subtractPointers]: Subtracting pointers that point to different objects
#  374|       json_array_begin (json_ctx, "timings");
#  375|   
#  376|->     FOR_EACH_IMPL (impl, 0)
#  377|         do_one_test (json_ctx, impl, hs, ne, NULL);
#  378|   

Error: CPPCHECK_WARNING (CWE-570): [#def279]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strstr.c:400: error[comparePointers]: Comparing pointers that point to different objects
#  398|   
#  399|     json_array_begin (&json_ctx, "ifuncs");
#  400|->   FOR_EACH_IMPL (impl, 0)
#  401|       json_element_string (&json_ctx, impl->name);
#  402|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def280]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strstr.c:400: error[subtractPointers]: Subtracting pointers that point to different objects
#  398|   
#  399|     json_array_begin (&json_ctx, "ifuncs");
#  400|->   FOR_EACH_IMPL (impl, 0)
#  401|       json_element_string (&json_ctx, impl->name);
#  402|     json_array_end (&json_ctx);

Error: GCC_ANALYZER_WARNING (CWE-469): [#def281]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strstr.c:400:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strstr.c:385:1: enter_function: entry to ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strstr.c:388:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strstr.c:388:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strstr.c:400:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strstr.c:400:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strstr.c:400:3: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strstr.c:400:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strstr.c:400:3: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#  398|   
#  399|     json_array_begin (&json_ctx, "ifuncs");
#  400|->   FOR_EACH_IMPL (impl, 0)
#  401|       json_element_string (&json_ctx, impl->name);
#  402|     json_array_end (&json_ctx);

Error: CPPCHECK_WARNING (CWE-570): [#def282]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strtok.c:64: error[comparePointers]: Comparing pointers that point to different objects
#   62|   	  len1, len2, align1, align2, fail ? "fail" : "found");
#   63|   
#   64|->   FOR_EACH_IMPL (impl, 0)
#   65|     {
#   66|       char *s1 = (char *) (buf1 + align1);

Error: CPPCHECK_WARNING (CWE-570): [#def283]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strtok.c:64: error[subtractPointers]: Subtracting pointers that point to different objects
#   62|   	  len1, len2, align1, align2, fail ? "fail" : "found");
#   63|   
#   64|->   FOR_EACH_IMPL (impl, 0)
#   65|     {
#   66|       char *s1 = (char *) (buf1 + align1);

Error: GCC_ANALYZER_WARNING (CWE-469): [#def284]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strtok.c:64:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strtok.c:92:1: enter_function: entry to ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strtok.c:94:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strtok.c:94:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strtok.c:97:3: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strtok.c:101:25: branch_true: following ‘true’ branch (when ‘klen != 32’)...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strtok.c:102:17: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strtok.c:102:34: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strtok.c:104:9: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strtok.c:104:9: call_function: calling ‘do_test’ from ‘test_main’
#   62|   	  len1, len2, align1, align2, fail ? "fail" : "found");
#   63|   
#   64|->   FOR_EACH_IMPL (impl, 0)
#   65|     {
#   66|       char *s1 = (char *) (buf1 + align1);

Error: CPPCHECK_WARNING (CWE-570): [#def285]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strtok.c:97: error[comparePointers]: Comparing pointers that point to different objects
#   95|   
#   96|     printf ("%23s", "");
#   97|->   FOR_EACH_IMPL (impl, 0)
#   98|       printf ("\t%s", impl->name);
#   99|     putchar ('\n');

Error: CPPCHECK_WARNING (CWE-570): [#def286]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strtok.c:97: error[subtractPointers]: Subtracting pointers that point to different objects
#   95|   
#   96|     printf ("%23s", "");
#   97|->   FOR_EACH_IMPL (impl, 0)
#   98|       printf ("\t%s", impl->name);
#   99|     putchar ('\n');

Error: GCC_ANALYZER_WARNING (CWE-469): [#def287]
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strtok.c:97:3: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strtok.c:92:1: enter_function: entry to ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strtok.c:94:3: call_function: calling ‘test_init’ from ‘test_main’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strtok.c:94:3: return_function: returning to ‘test_main’ from ‘test_init’
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strtok.c:97:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strtok.c:97:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strtok.c:97:3: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strtok.c:97:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/benchtests/bench-strtok.c:97:3: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
#   95|   
#   96|     printf ("%23s", "");
#   97|->   FOR_EACH_IMPL (impl, 0)
#   98|       printf ("\t%s", impl->name);
#   99|     putchar ('\n');

Error: CPPCHECK_WARNING (CWE-682): [#def288]
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:358: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
#  356|   
#  357|         obstack_1grow (&current->mem_pool, '\0');
#  358|->       this_line = (char *) obstack_finish (&current->mem_pool);
#  359|   
#  360|         used = 0;

Error: CPPCHECK_WARNING (CWE-682): [#def289]
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:774: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
#  772|   	      /* Free the memory in the obstack we don't use.  */
#  773|   	      obstack_blank (&current->mem_pool, -(int) outlen);
#  774|-> 	      line = obstack_finish (&current->mem_pool);
#  775|   
#  776|   	      newp = (struct message_list *) xmalloc (sizeof (*newp));

Error: CPPCHECK_WARNING (CWE-682): [#def290]
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:983: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
#  981|       }
#  982|     strings_size = obstack_object_size (&string_pool);
#  983|->   strings = obstack_finish (&string_pool);
#  984|   
#  985|     /* Compute ARRAY2 by changing the byte order.  */

Error: GCC_ANALYZER_WARNING (CWE-775): [#def291]
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:1094:1: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:844:1: enter_function: entry to ‘write_out’
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:883:10: branch_false: following ‘false’ branch (when ‘best_total < act_size’)...
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:923:6: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:937:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:940:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:943:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:949:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:983:13: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:983:13: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:986:17: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:990:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:1023:6: branch_false: following ‘false’ branch (when ‘fd == 1’)...
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:1027:6: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:1027:6: branch_true: following ‘true’ branch (when ‘header_name’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:1034:11: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:1034:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:1035:14: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:1034:11: branch_false: following ‘false’ branch (when the strings are non-equal)...
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:1039:16: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:1039:16: acquire_resource: opened here
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:1040:14: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:1050:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:1051:14: branch_false: following ‘false’ branch (when ‘set_run’ is NULL)...
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:1089:11: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:1089:10: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:1092:3: call_function: inlined call to ‘scratch_buffer_free’ from ‘write_out’
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:1094:1: danger: ‘fp’ leaks here; was opened at [(20)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/19)
# 1092|     scratch_buffer_free (&buf1);
# 1093|     scratch_buffer_free (&buf2);
# 1094|-> }
# 1095|   
# 1096|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def292]
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:1094:1: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:844:1: enter_function: entry to ‘write_out’
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:883:10: branch_false: following ‘false’ branch (when ‘best_total < act_size’)...
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:923:6: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:937:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:940:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:943:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:949:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:983:13: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:983:13: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:986:17: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:990:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:1023:6: branch_false: following ‘false’ branch (when ‘fd == 1’)...
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:1027:6: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:1027:6: branch_true: following ‘true’ branch (when ‘header_name’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:1034:11: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:1034:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:1035:14: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:1034:11: branch_false: following ‘false’ branch (when the strings are non-equal)...
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:1039:16: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:1039:16: acquire_memory: allocated here
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:1040:14: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:1050:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:1051:14: branch_false: following ‘false’ branch (when ‘set_run’ is NULL)...
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:1089:11: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:1089:10: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:1092:3: call_function: inlined call to ‘scratch_buffer_free’ from ‘write_out’
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:1094:1: danger: ‘fp’ leaks here; was allocated at [(20)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/19)
# 1092|     scratch_buffer_free (&buf1);
# 1093|     scratch_buffer_free (&buf2);
# 1094|-> }
# 1095|   
# 1096|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def293]
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:1280:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘set’
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:1251:6: branch_false: following ‘false’ branch...
 branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:1265:17: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:1269:7: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:1269:10: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:1273:11: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:1273:10: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:1280:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/catgets/gencat.c:1280:7: danger: dereference of NULL ‘set’
# 1278|   
# 1279|         last = NULL;
# 1280|->       message = set->messages;
# 1281|         while (message != NULL)
# 1282|   	{

Error: GCC_ANALYZER_WARNING (CWE-457): [#def294]
glibc-2.41.9000-248-g7b47b3dd21/csu/../sysdeps/x86/cpu-features.c:364:24: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘xstate_comp_offsets[19]’
glibc-2.41.9000-248-g7b47b3dd21/csu/../csu/libc-start.c:234:1: enter_function: entry to ‘__libc_start_main_impl’
glibc-2.41.9000-248-g7b47b3dd21/csu/../csu/libc-start.c:269:3: call_function: calling ‘init_cpu_features’ from ‘__libc_start_main_impl’
#  362|   		  /* Use XSAVEC.  */
#  363|   		  unsigned int size
#  364|-> 		    = (xstate_comp_offsets[X86_XSTATE_MAX_ID]
#  365|   		       + xstate_comp_sizes[X86_XSTATE_MAX_ID]);
#  366|   		  if (size)

Error: GCC_ANALYZER_WARNING (CWE-457): [#def295]
glibc-2.41.9000-248-g7b47b3dd21/csu/../sysdeps/x86/cpu-features.c:364:24: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘xstate_comp_offsets[6]’
glibc-2.41.9000-248-g7b47b3dd21/csu/../csu/libc-start.c:234:1: enter_function: entry to ‘__libc_start_main_impl’
glibc-2.41.9000-248-g7b47b3dd21/csu/../csu/libc-start.c:269:3: call_function: calling ‘init_cpu_features’ from ‘__libc_start_main_impl’
#  362|   		  /* Use XSAVEC.  */
#  363|   		  unsigned int size
#  364|-> 		    = (xstate_comp_offsets[X86_XSTATE_MAX_ID]
#  365|   		       + xstate_comp_sizes[X86_XSTATE_MAX_ID]);
#  366|   		  if (size)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def296]
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:483:10: warning[-Wanalyzer-malloc-leak]: leak of ‘dtv’
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:514:1: enter_function: entry to ‘_dl_allocate_tls_storage’
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:523:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:529:18: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:535:12: call_function: calling ‘allocate_dtv’ from ‘_dl_allocate_tls_storage’
#  481|       result = NULL;
#  482|   
#  483|->   return result;
#  484|   }
#  485|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def297]
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:655:11: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:607:1: enter_function: entry to ‘_dl_allocate_tls_init’
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:622:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:625:13: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:625:13: call_function: calling ‘_dl_resize_dtv’ from ‘_dl_allocate_tls_init’
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:625:13: return_function: returning to ‘_dl_allocate_tls_init’ from ‘_dl_resize_dtv’
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:655:11: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:656:11: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:655:11: danger: ‘<unknown>’ leaks here; was allocated at [(6)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/5)
#  653|   	  /* Keep track of the maximum generation number.  This might
#  654|   	     not be the generation counter.  */
#  655|-> 	  assert (listp->slotinfo[cnt].gen <= GL(dl_tls_generation));
#  656|   	  maxgen = MAX (maxgen, listp->slotinfo[cnt].gen);
#  657|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def298]
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:665:11: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:607:1: enter_function: entry to ‘_dl_allocate_tls_init’
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:622:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:625:13: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:625:13: call_function: calling ‘_dl_resize_dtv’ from ‘_dl_allocate_tls_init’
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:625:13: return_function: returning to ‘_dl_allocate_tls_init’ from ‘_dl_resize_dtv’
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:655:11: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:656:11: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:661:14: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:665:11: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:665:11: danger: ‘<unknown>’ leaks here; was allocated at [(6)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/5)
#  663|   	    continue;
#  664|   
#  665|-> 	  assert (map->l_tls_modid == total + cnt);
#  666|   	  assert (map->l_tls_blocksize >= map->l_tls_initimage_size);
#  667|   #if TLS_TCB_AT_TP

Error: GCC_ANALYZER_WARNING (CWE-401): [#def299]
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:666:11: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:607:1: enter_function: entry to ‘_dl_allocate_tls_init’
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:622:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:625:13: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:625:13: call_function: calling ‘_dl_resize_dtv’ from ‘_dl_allocate_tls_init’
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:625:13: return_function: returning to ‘_dl_allocate_tls_init’ from ‘_dl_resize_dtv’
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:655:11: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:656:11: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:661:14: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:665:11: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:665:11: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:666:11: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:666:11: danger: ‘<unknown>’ leaks here; was allocated at [(6)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/5)
#  664|   
#  665|   	  assert (map->l_tls_modid == total + cnt);
#  666|-> 	  assert (map->l_tls_blocksize >= map->l_tls_initimage_size);
#  667|   #if TLS_TCB_AT_TP
#  668|   	  assert ((size_t) map->l_tls_offset >= map->l_tls_blocksize);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def300]
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:668:11: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:607:1: enter_function: entry to ‘_dl_allocate_tls_init’
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:622:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:625:13: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:625:13: call_function: calling ‘_dl_resize_dtv’ from ‘_dl_allocate_tls_init’
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:625:13: return_function: returning to ‘_dl_allocate_tls_init’ from ‘_dl_resize_dtv’
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:655:11: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:656:11: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:661:14: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:665:11: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:665:11: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:666:11: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:666:11: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:668:11: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:668:11: danger: ‘<unknown>’ leaks here; was allocated at [(6)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/5)
#  666|   	  assert (map->l_tls_blocksize >= map->l_tls_initimage_size);
#  667|   #if TLS_TCB_AT_TP
#  668|-> 	  assert ((size_t) map->l_tls_offset >= map->l_tls_blocksize);
#  669|   	  dest = (char *) result - map->l_tls_offset;
#  670|   #elif TLS_DTV_AT_TP

Error: GCC_ANALYZER_WARNING (CWE-401): [#def301]
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:702:7: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:607:1: enter_function: entry to ‘_dl_allocate_tls_init’
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:622:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:625:13: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:625:13: call_function: calling ‘_dl_resize_dtv’ from ‘_dl_allocate_tls_init’
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:625:13: return_function: returning to ‘_dl_allocate_tls_init’ from ‘_dl_resize_dtv’
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:655:11: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:656:11: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:698:10: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:701:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:702:7: danger: ‘<unknown>’ leaks here; was allocated at [(6)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/5)
#  700|   
#  701|         listp = listp->next;
#  702|->       assert (listp != NULL);
#  703|       }
#  704|     __rtld_lock_unlock_recursive (GL(dl_load_tls_lock));

Error: GCC_ANALYZER_WARNING (CWE-401): [#def302]
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:707:3: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:607:1: enter_function: entry to ‘_dl_allocate_tls_init’
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:622:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:625:13: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:625:13: call_function: calling ‘_dl_resize_dtv’ from ‘_dl_allocate_tls_init’
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:625:13: return_function: returning to ‘_dl_allocate_tls_init’ from ‘_dl_resize_dtv’
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:655:11: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:656:11: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:707:3: danger: ‘<unknown>’ leaks here; was allocated at [(6)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/5)
#  705|   
#  706|     /* The DTV version is up-to-date now.  */
#  707|->   dtv[0].counter = maxgen;
#  708|   
#  709|     return result;

Error: GCC_ANALYZER_WARNING (CWE-465): [#def303]
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:1194:6: warning[-Wanalyzer-deref-before-check]: check of ‘listp’ for NULL after already dereferencing it
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:1170:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:1186:10: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:1194:6: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/../elf/dl-tls.c:1194:6: danger: pointer ‘listp’ is checked for NULL here but it was already dereferenced at [(3)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/2)
# 1192|     while (listp != NULL);
# 1193|   
# 1194|->   if (listp == NULL)
# 1195|       {
# 1196|         /* When we come here it means we have to add a new element

Error: GCC_ANALYZER_WARNING (CWE-457): [#def304]
glibc-2.41.9000-248-g7b47b3dd21/elf/../sysdeps/unix/sysv/linux/dl-origin.c:39:18: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘linkval[0]’
glibc-2.41.9000-248-g7b47b3dd21/elf/../sysdeps/unix/sysv/linux/dl-origin.c:39:6: branch_true: following ‘true’ branch (when ‘len > 0’)...
glibc-2.41.9000-248-g7b47b3dd21/elf/../sysdeps/unix/sysv/linux/dl-origin.c:39:18: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/../sysdeps/unix/sysv/linux/dl-origin.c:39:18: danger: use of uninitialized value ‘linkval[0]’ here
#   37|     len = INTERNAL_SYSCALL_CALL (readlinkat, AT_FDCWD, "/proc/self/exe",
#   38|   			       linkval, sizeof (linkval));
#   39|->   if (len > 0 && linkval[0] != '[')
#   40|       {
#   41|         /* We can use this value.  */

Error: GCC_ANALYZER_WARNING (CWE-457): [#def305]
glibc-2.41.9000-248-g7b47b3dd21/elf/../sysdeps/unix/sysv/linux/x86_64/dl-cet.h:51:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘kernel_feature’
glibc-2.41.9000-248-g7b47b3dd21/elf/../sysdeps/x86_64/dl-cet.c:330:1: enter_function: entry to ‘_dl_cet_setup_features’
glibc-2.41.9000-248-g7b47b3dd21/elf/../sysdeps/x86_64/dl-cet.c:334:6: branch_true: following ‘true’ branch (when ‘cet_feature != 0’)...
glibc-2.41.9000-248-g7b47b3dd21/elf/../sysdeps/x86_64/dl-cet.c:336:21: call_function: inlined call to ‘dl_cet_get_cet_status’ from ‘_dl_cet_setup_features’
#   49|   			     &kernel_feature) == 0)
#   50|       {
#   51|->       if ((kernel_feature & ARCH_SHSTK_SHSTK) != 0)
#   52|   	status = GNU_PROPERTY_X86_FEATURE_1_SHSTK;
#   53|       }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def306]
glibc-2.41.9000-248-g7b47b3dd21/elf/../sysdeps/x86/cpu-features.c:364:24: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘xstate_comp_offsets[19]’
glibc-2.41.9000-248-g7b47b3dd21/elf/../sysdeps/x86/dl-get-cpu-features.c:36:1: enter_function: entry to ‘_dl_x86_init_cpu_features’
glibc-2.41.9000-248-g7b47b3dd21/elf/../sysdeps/x86/dl-get-cpu-features.c:41:7: call_function: calling ‘init_cpu_features’ from ‘_dl_x86_init_cpu_features’
#  362|   		  /* Use XSAVEC.  */
#  363|   		  unsigned int size
#  364|-> 		    = (xstate_comp_offsets[X86_XSTATE_MAX_ID]
#  365|   		       + xstate_comp_sizes[X86_XSTATE_MAX_ID]);
#  366|   		  if (size)

Error: GCC_ANALYZER_WARNING (CWE-457): [#def307]
glibc-2.41.9000-248-g7b47b3dd21/elf/../sysdeps/x86/cpu-features.c:364:24: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘xstate_comp_offsets[6]’
glibc-2.41.9000-248-g7b47b3dd21/elf/../sysdeps/x86/dl-get-cpu-features.c:36:1: enter_function: entry to ‘_dl_x86_init_cpu_features’
glibc-2.41.9000-248-g7b47b3dd21/elf/../sysdeps/x86/dl-get-cpu-features.c:41:7: call_function: calling ‘init_cpu_features’ from ‘_dl_x86_init_cpu_features’
#  362|   		  /* Use XSAVEC.  */
#  363|   		  unsigned int size
#  364|-> 		    = (xstate_comp_offsets[X86_XSTATE_MAX_ID]
#  365|   		       + xstate_comp_sizes[X86_XSTATE_MAX_ID]);
#  366|   		  if (size)

Error: GCC_ANALYZER_WARNING (CWE-457): [#def308]
glibc-2.41.9000-248-g7b47b3dd21/elf/./dl-iterate_cpu.h:85:15: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*dic.mask_reference[long_index]’
glibc-2.41.9000-248-g7b47b3dd21/elf/../sysdeps/x86/dl-diagnostics-cpu.c:479:1: enter_function: entry to ‘_dl_diagnostics_cpuid’
glibc-2.41.9000-248-g7b47b3dd21/elf/../sysdeps/x86/dl-diagnostics-cpu.c:504:10: call_function: calling ‘_dl_iterate_cpu_next’ from ‘_dl_diagnostics_cpuid’
#   83|   
#   84|             unsigned long int bit = 1UL << bit_index;
#   85|->           if (dic->mask_reference[long_index] & bit)
#   86|               {
#   87|                 /* The CPU is available.  Try to select it.  */

Error: GCC_ANALYZER_WARNING (CWE-457): [#def309]
glibc-2.41.9000-248-g7b47b3dd21/elf/./dl-iterate_cpu.h:129:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘cpu’
glibc-2.41.9000-248-g7b47b3dd21/elf/../sysdeps/x86/dl-diagnostics-cpu.c:479:1: enter_function: entry to ‘_dl_diagnostics_cpuid’
glibc-2.41.9000-248-g7b47b3dd21/elf/../sysdeps/x86/dl-diagnostics-cpu.c:504:10: call_function: calling ‘_dl_iterate_cpu_next’ from ‘_dl_diagnostics_cpuid’
#  127|     else
#  128|       {
#  129|->       dic->actual_cpu = cpu;
#  130|         dic->actual_node = node;
#  131|       }

Error: GCC_ANALYZER_WARNING (CWE-465): [#def310]
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-close.c:158:6: warning[-Wanalyzer-deref-before-check]: check of ‘map’ for NULL after already dereferencing it
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-close.c:119:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-close.c:119:7: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-close.c:133:10: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-close.c:146:45: branch_false: following ‘false’ branch (when ‘l’ is NULL)...
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-close.c:154:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-close.c:154:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-close.c:158:6: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-close.c:158:6: danger: pointer ‘map’ is checked for NULL here but it was already dereferenced at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
#  156|     /* Put the dlclose'd map first, so that its destructor runs first.
#  157|        The map variable is NULL after a retry.  */
#  158|->   if (map != NULL)
#  159|       {
#  160|         maps[map->l_idx] = maps[0];

Error: GCC_ANALYZER_WARNING (CWE-457): [#def311]
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-close.c:160:26: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*maps[0]’
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-close.c:759:1: enter_function: entry to ‘_dl_close’
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-close.c:772:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-close.c:789:25: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-close.c:789:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-close.c:795:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-close.c:795:3: call_function: calling ‘_dl_close_worker’ from ‘_dl_close’
#  158|     if (map != NULL)
#  159|       {
#  160|->       maps[map->l_idx] = maps[0];
#  161|         maps[map->l_idx]->l_idx = map->l_idx;
#  162|         maps[0] = map;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def312]
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-find_object.c:236:3: warning[-Wanalyzer-malloc-leak]: leak of ‘ptr’
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-find_object.c:652:1: enter_function: entry to ‘_dl_find_object_update_1’
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-find_object.c:669:6: branch_false: following ‘false’ branch (when ‘remaining_to_add != 0’)...
 branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-find_object.c:676:8: branch_true: following ‘true’ branch (when ‘remaining_to_add > count’)...
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-find_object.c:678:16: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-find_object.c:679:22: call_function: calling ‘_dlfo_mappings_segment_allocate’ from ‘_dl_find_object_update_1’
#  234|                           - sizeof (struct dlfo_mappings_segment))
#  235|                          / element_size);
#  236|->   assert (result->allocated >= size);
#  237|     return result;
#  238|   }

Error: GCC_ANALYZER_WARNING (CWE-122): [#def313]
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-find_object.c:493:17: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-find_object.c:560:1: enter_function: entry to ‘_dl_find_object_init’
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-find_object.c:582:6: branch_false: following ‘false’ branch (when ‘loaded_size == 0’)...
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-find_object.c:585:6: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-find_object.c:585:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-find_object.c:585:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-find_object.c:585:7: branch_false: following ‘false’ branch (when ‘loaded_size == 0’)...
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-find_object.c:590:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-find_object.c:591:3: call_function: calling ‘_dlfo_process_initial’ from ‘_dl_find_object_init’
#  491|                 {
#  492|                   /* Second pass only.  */
#  493|->                 _dlfo_nodelete_mappings[nodelete] = dlfo;
#  494|                   _dlfo_nodelete_mappings[nodelete].map_start
#  495|                     = ph->p_vaddr + main_map->l_addr;

Error: GCC_ANALYZER_WARNING (CWE-122): [#def314]
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-find_object.c:494:17: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-find_object.c:560:1: enter_function: entry to ‘_dl_find_object_init’
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-find_object.c:582:6: branch_false: following ‘false’ branch (when ‘loaded_size == 0’)...
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-find_object.c:585:6: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-find_object.c:585:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-find_object.c:585:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-find_object.c:585:7: branch_false: following ‘false’ branch (when ‘loaded_size == 0’)...
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-find_object.c:590:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-find_object.c:591:3: call_function: calling ‘_dlfo_process_initial’ from ‘_dl_find_object_init’
#  492|                   /* Second pass only.  */
#  493|                   _dlfo_nodelete_mappings[nodelete] = dlfo;
#  494|->                 _dlfo_nodelete_mappings[nodelete].map_start
#  495|                     = ph->p_vaddr + main_map->l_addr;
#  496|                   _dlfo_nodelete_mappings[nodelete].map_end

Error: GCC_ANALYZER_WARNING (CWE-122): [#def315]
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-find_object.c:496:17: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-find_object.c:560:1: enter_function: entry to ‘_dl_find_object_init’
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-find_object.c:582:6: branch_false: following ‘false’ branch (when ‘loaded_size == 0’)...
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-find_object.c:585:6: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-find_object.c:585:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-find_object.c:585:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-find_object.c:585:7: branch_false: following ‘false’ branch (when ‘loaded_size == 0’)...
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-find_object.c:590:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-find_object.c:591:3: call_function: calling ‘_dlfo_process_initial’ from ‘_dl_find_object_init’
#  494|                   _dlfo_nodelete_mappings[nodelete].map_start
#  495|                     = ph->p_vaddr + main_map->l_addr;
#  496|->                 _dlfo_nodelete_mappings[nodelete].map_end
#  497|                     = _dlfo_nodelete_mappings[nodelete].map_start + ph->p_memsz;
#  498|                 }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def316]
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-reloc-static-pie.c:80:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘where’
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-reloc-static-pie.c:36:1: enter_function: entry to ‘_dl_relocate_static_pie’
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-reloc-static-pie.c:72:3: call_function: inlined call to ‘elf_get_dynamic_info’ from ‘_dl_relocate_static_pie’
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-reloc-static-pie.c:80:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-reloc-static-pie.c:80:3: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-reloc-static-pie.c:80:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-reloc-static-pie.c:80:3: branch_true: following ‘true’ branch (when ‘r < end’)...
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-reloc-static-pie.c:80:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-reloc-static-pie.c:80:3: branch_false: following ‘false’ branch...
 branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-reloc-static-pie.c:80:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-reloc-static-pie.c:80:3: release_memory: ‘where’ is NULL
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-reloc-static-pie.c:80:3: danger: dereference of NULL ‘where + (long unsigned int)i * 8’
#   78|     /* Relocate ourselves so we can do normal function calls and
#   79|        data access using the global offset table.  */
#   80|->   ELF_DYNAMIC_RELOCATE (main_map, NULL, 0, 0, 0);
#   81|     main_map->l_relocated = 1;
#   82|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def317]
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-reloc.c:296:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘where’
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-reloc.c:341:1: enter_function: entry to ‘_dl_relocate_object’
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-reloc.c:344:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-reloc.c:346:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-reloc.c:346:3: call_function: calling ‘_dl_relocate_object_no_relro’ from ‘_dl_relocate_object’
#  294|       /* Do the actual relocation of the object's GOT and other data.  */
#  295|   
#  296|->     ELF_DYNAMIC_RELOCATE (l, scope, lazy, consider_profiling, skip_ifunc);
#  297|   
#  298|       if ((consider_profiling || consider_symbind)

Error: GCC_ANALYZER_WARNING (CWE-121): [#def318]
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-sort-maps.c:85:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-sort-maps.c:296:1: enter_function: entry to ‘_dl_sort_maps’
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-sort-maps.c:306:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-sort-maps.c:307:5: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-sort-maps.c:307:5: call_function: calling ‘_dl_sort_maps_original’ from ‘_dl_sort_maps’
#   83|   		  uint16_t this_seen = seen[i];
#   84|   		  memmove (&seen[i], &seen[i + 1], (k - i) * sizeof (seen[0]));
#   85|-> 		  seen[k] = this_seen;
#   86|   
#   87|   		  goto next;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def319]
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:483:10: warning[-Wanalyzer-malloc-leak]: leak of ‘dtv’
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:514:1: enter_function: entry to ‘_dl_allocate_tls_storage’
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:523:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:529:18: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:535:12: call_function: calling ‘allocate_dtv’ from ‘_dl_allocate_tls_storage’
#  481|       result = NULL;
#  482|   
#  483|->   return result;
#  484|   }
#  485|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def320]
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:655:11: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:607:1: enter_function: entry to ‘_dl_allocate_tls_init’
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:622:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:625:13: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:625:13: call_function: calling ‘_dl_resize_dtv’ from ‘_dl_allocate_tls_init’
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:625:13: return_function: returning to ‘_dl_allocate_tls_init’ from ‘_dl_resize_dtv’
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:655:11: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:656:11: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:655:11: danger: ‘<unknown>’ leaks here; was allocated at [(6)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/5)
#  653|   	  /* Keep track of the maximum generation number.  This might
#  654|   	     not be the generation counter.  */
#  655|-> 	  assert (listp->slotinfo[cnt].gen <= GL(dl_tls_generation));
#  656|   	  maxgen = MAX (maxgen, listp->slotinfo[cnt].gen);
#  657|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def321]
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:665:11: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:607:1: enter_function: entry to ‘_dl_allocate_tls_init’
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:622:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:625:13: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:625:13: call_function: calling ‘_dl_resize_dtv’ from ‘_dl_allocate_tls_init’
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:625:13: return_function: returning to ‘_dl_allocate_tls_init’ from ‘_dl_resize_dtv’
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:655:11: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:656:11: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:661:14: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:665:11: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:665:11: danger: ‘<unknown>’ leaks here; was allocated at [(6)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/5)
#  663|   	    continue;
#  664|   
#  665|-> 	  assert (map->l_tls_modid == total + cnt);
#  666|   	  assert (map->l_tls_blocksize >= map->l_tls_initimage_size);
#  667|   #if TLS_TCB_AT_TP

Error: GCC_ANALYZER_WARNING (CWE-401): [#def322]
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:666:11: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:607:1: enter_function: entry to ‘_dl_allocate_tls_init’
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:622:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:625:13: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:625:13: call_function: calling ‘_dl_resize_dtv’ from ‘_dl_allocate_tls_init’
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:625:13: return_function: returning to ‘_dl_allocate_tls_init’ from ‘_dl_resize_dtv’
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:655:11: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:656:11: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:661:14: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:665:11: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:665:11: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:666:11: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:666:11: danger: ‘<unknown>’ leaks here; was allocated at [(6)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/5)
#  664|   
#  665|   	  assert (map->l_tls_modid == total + cnt);
#  666|-> 	  assert (map->l_tls_blocksize >= map->l_tls_initimage_size);
#  667|   #if TLS_TCB_AT_TP
#  668|   	  assert ((size_t) map->l_tls_offset >= map->l_tls_blocksize);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def323]
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:668:11: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:607:1: enter_function: entry to ‘_dl_allocate_tls_init’
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:622:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:625:13: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:625:13: call_function: calling ‘_dl_resize_dtv’ from ‘_dl_allocate_tls_init’
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:625:13: return_function: returning to ‘_dl_allocate_tls_init’ from ‘_dl_resize_dtv’
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:655:11: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:656:11: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:661:14: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:665:11: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:665:11: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:666:11: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:666:11: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:668:11: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:668:11: danger: ‘<unknown>’ leaks here; was allocated at [(6)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/5)
#  666|   	  assert (map->l_tls_blocksize >= map->l_tls_initimage_size);
#  667|   #if TLS_TCB_AT_TP
#  668|-> 	  assert ((size_t) map->l_tls_offset >= map->l_tls_blocksize);
#  669|   	  dest = (char *) result - map->l_tls_offset;
#  670|   #elif TLS_DTV_AT_TP

Error: GCC_ANALYZER_WARNING (CWE-401): [#def324]
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:702:7: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:607:1: enter_function: entry to ‘_dl_allocate_tls_init’
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:622:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:625:13: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:625:13: call_function: calling ‘_dl_resize_dtv’ from ‘_dl_allocate_tls_init’
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:625:13: return_function: returning to ‘_dl_allocate_tls_init’ from ‘_dl_resize_dtv’
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:655:11: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:656:11: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:698:10: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:701:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:702:7: danger: ‘<unknown>’ leaks here; was allocated at [(6)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/5)
#  700|   
#  701|         listp = listp->next;
#  702|->       assert (listp != NULL);
#  703|       }
#  704|     __rtld_lock_unlock_recursive (GL(dl_load_tls_lock));

Error: GCC_ANALYZER_WARNING (CWE-401): [#def325]
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:707:3: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:607:1: enter_function: entry to ‘_dl_allocate_tls_init’
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:622:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:625:13: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:625:13: call_function: calling ‘_dl_resize_dtv’ from ‘_dl_allocate_tls_init’
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:625:13: return_function: returning to ‘_dl_allocate_tls_init’ from ‘_dl_resize_dtv’
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:655:11: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:656:11: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:707:3: danger: ‘<unknown>’ leaks here; was allocated at [(6)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/5)
#  705|   
#  706|     /* The DTV version is up-to-date now.  */
#  707|->   dtv[0].counter = maxgen;
#  708|   
#  709|     return result;

Error: GCC_ANALYZER_WARNING (CWE-465): [#def326]
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:1194:6: warning[-Wanalyzer-deref-before-check]: check of ‘listp’ for NULL after already dereferencing it
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:1170:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:1186:10: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:1194:6: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/dl-tls.c:1194:6: danger: pointer ‘listp’ is checked for NULL here but it was already dereferenced at [(3)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/2)
# 1192|     while (listp != NULL);
# 1193|   
# 1194|->   if (listp == NULL)
# 1195|       {
# 1196|         /* When we come here it means we have to add a new element

Error: CPPCHECK_WARNING (CWE-476): [#def327]
glibc-2.41.9000-248-g7b47b3dd21/elf/pldd.c:189: warning[nullPointer]: Possible null pointer dereference: thread_list
#  187|     do
#  188|       {
#  189|->       ptrace (PTRACE_DETACH, thread_list->tid, NULL, NULL);
#  190|         struct thread_list *prev = thread_list;
#  191|         thread_list = thread_list->next;

Error: CPPCHECK_WARNING (CWE-476): [#def328]
glibc-2.41.9000-248-g7b47b3dd21/elf/pldd.c:191: warning[nullPointer]: Possible null pointer dereference: thread_list
#  189|         ptrace (PTRACE_DETACH, thread_list->tid, NULL, NULL);
#  190|         struct thread_list *prev = thread_list;
#  191|->       thread_list = thread_list->next;
#  192|         free (prev);
#  193|       }

Error: GCC_ANALYZER_WARNING (CWE-688): [#def329]
glibc-2.41.9000-248-g7b47b3dd21/elf/rtld.c:1060:10: warning[-Wanalyzer-null-argument]: use of NULL ‘rtld_soname’ where non-null expected
glibc-2.41.9000-248-g7b47b3dd21/elf/rtld.c:1298:1: enter_function: entry to ‘dl_main’
glibc-2.41.9000-248-g7b47b3dd21/elf/rtld.c:1312:3: call_function: inlined call to ‘dl_main_state_init’ from ‘dl_main’
glibc-2.41.9000-248-g7b47b3dd21/elf/rtld.c:1325:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/rtld.c:1348:7: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/rtld.c:1466:10: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/rtld.c:1472:11: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/rtld.c:1472:10: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/rtld.c:1477:11: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/rtld.c:1477:10: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/rtld.c:1486:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/rtld.c:1508:10: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/rtld.c:1536:11: call_function: inlined call to ‘rtld_timer_start’ from ‘dl_main’
glibc-2.41.9000-248-g7b47b3dd21/elf/rtld.c:1545:10: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/elf/rtld.c:1546:9: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/elf/rtld.c:1546:9: call_function: calling ‘rtld_chain_load’ from ‘dl_main’
# 1058|     const char *rtld_soname = l_soname (&_dl_rtld_map);
# 1059|     if (l_soname (main_map) != NULL
# 1060|->       && strcmp (rtld_soname, l_soname (main_map)) == 0)
# 1061|       _dl_fatal_printf ("%s: loader cannot load itself\n", rtld_soname);
# 1062|   

Error: CPPCHECK_WARNING (CWE-682): [#def330]
glibc-2.41.9000-248-g7b47b3dd21/elf/sprof.c:1073: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
# 1071|   	    struct known_symbol **existp;
# 1072|   	    struct known_symbol *newsym
# 1073|-> 	      = (struct known_symbol *) obstack_alloc (&shobj->ob_sym,
# 1074|   						       sizeof (*newsym));
# 1075|   	    if (newsym == NULL)

Error: CPPCHECK_WARNING (CWE-682): [#def331]
glibc-2.41.9000-248-g7b47b3dd21/elf/sprof.c:1131: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
# 1129|   
# 1130|   	      newsym =
# 1131|-> 		(struct known_symbol *) obstack_alloc (&shobj->ob_sym,
# 1132|   						       sizeof (*newsym));
# 1133|   	      if (newsym == NULL)

Error: CPPCHECK_WARNING (CWE-682): [#def332]
glibc-2.41.9000-248-g7b47b3dd21/elf/sprof.c:1211: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
# 1209|   	      /* We need a new entry.  */
# 1210|   	      struct arc_list *newp = (struct arc_list *)
# 1211|-> 		obstack_alloc (&ob_list, sizeof (struct arc_list));
# 1212|   
# 1213|   	      if (data[cnt].from_pc == 0)

Error: CPPCHECK_WARNING (CWE-682): [#def333]
glibc-2.41.9000-248-g7b47b3dd21/elf/sprof.c:1244: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
# 1242|   	      /* We need a new entry.  */
# 1243|   	      struct arc_list *newp = (struct arc_list *)
# 1244|-> 		obstack_alloc (&ob_list, sizeof (struct arc_list));
# 1245|   
# 1246|   	      newp->idx = find_symbol (data[cnt].self_pc);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def334]
glibc-2.41.9000-248-g7b47b3dd21/hesiod/hesiod.c:441:9: warning[-Wanalyzer-malloc-leak]: leak of ‘dst’
glibc-2.41.9000-248-g7b47b3dd21/hesiod/hesiod.c:347:12: branch_false: following ‘false’ branch (when ‘n >= 0’)...
glibc-2.41.9000-248-g7b47b3dd21/hesiod/hesiod.c:351:13: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/hesiod/hesiod.c:352:12: branch_false: following ‘false’ branch (when ‘n >= 0’)...
glibc-2.41.9000-248-g7b47b3dd21/hesiod/hesiod.c:356:12: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/hesiod/hesiod.c:356:12: branch_false: following ‘false’ branch (when ‘n > 11’)...
glibc-2.41.9000-248-g7b47b3dd21/hesiod/hesiod.c:365:19: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/hesiod/hesiod.c:381:12: branch_false: following ‘false’ branch (when ‘list’ is non-NULL)...
 branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/hesiod/hesiod.c:384:21: branch_true: following ‘true’ branch (when ‘i < ancount’)...
glibc-2.41.9000-248-g7b47b3dd21/hesiod/hesiod.c:385:24: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/hesiod/hesiod.c:386:20: branch_false: following ‘false’ branch (when ‘skip >= 0’)...
glibc-2.41.9000-248-g7b47b3dd21/hesiod/hesiod.c:390:20: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/hesiod/hesiod.c:391:20: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/hesiod/hesiod.c:395:27: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/hesiod/hesiod.c:401:20: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/hesiod/hesiod.c:384:21: branch_true: following ‘true’ branch (when ‘i < ancount’)...
glibc-2.41.9000-248-g7b47b3dd21/hesiod/hesiod.c:385:24: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/hesiod/hesiod.c:386:20: branch_false: following ‘false’ branch (when ‘skip >= 0’)...
glibc-2.41.9000-248-g7b47b3dd21/hesiod/hesiod.c:390:20: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/hesiod/hesiod.c:391:20: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/hesiod/hesiod.c:395:27: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/hesiod/hesiod.c:401:20: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/hesiod/hesiod.c:407:20: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/hesiod/hesiod.c:409:33: acquire_memory: allocated here
glibc-2.41.9000-248-g7b47b3dd21/hesiod/hesiod.c:409:20: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/hesiod/hesiod.c:411:28: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/hesiod/hesiod.c:415:24: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/hesiod/hesiod.c:425:20: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/hesiod/hesiod.c:425:20: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/hesiod/hesiod.c:429:17: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/hesiod/hesiod.c:384:21: branch_true: following ‘true’ branch (when ‘i < ancount’)...
glibc-2.41.9000-248-g7b47b3dd21/hesiod/hesiod.c:385:24: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/hesiod/hesiod.c:439:21: branch_false: following ‘false’ branch (when ‘i >= j’)...
glibc-2.41.9000-248-g7b47b3dd21/hesiod/hesiod.c:441:9: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/hesiod/hesiod.c:441:9: danger: ‘dst’ leaks here; was allocated at [(27)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/26)
#  439|   	for (i = 0; i < j; i++)
#  440|   		free(list[i]);
#  441|-> 	free(list);
#  442|   	return (NULL);
#  443|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def335]
glibc-2.41.9000-248-g7b47b3dd21/iconv/../iconv/skeleton.c:432:22: warning[-Wanalyzer-jump-through-null]: jump through null pointer
glibc-2.41.9000-248-g7b47b3dd21/iconv/../iconv/skeleton.c:337:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconv/../iconv/skeleton.c:347:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconv/../iconv/skeleton.c:347:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconv/../iconv/skeleton.c:350:7: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconv/../iconv/skeleton.c:350:7: branch_true: following ‘true’ branch (when ‘outbufstart’ is NULL)...
glibc-2.41.9000-248-g7b47b3dd21/iconv/../iconv/skeleton.c:428:19: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconv/../iconv/skeleton.c:430:14: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconv/../iconv/skeleton.c:432:22: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconv/../iconv/skeleton.c:432:22: danger: jump through null pointer here
#  430|   	  if (! (data->__flags & __GCONV_IS_LAST))
#  431|   	    /* Now flush the remaining steps.  */
#  432|-> 	    status = DL_CALL_FCT (fct, (next_step, next_data, NULL, NULL,
#  433|   					NULL, irreversible, do_flush,
#  434|   					consume_incomplete));

Error: GCC_ANALYZER_WARNING (CWE-476): [#def336]
glibc-2.41.9000-248-g7b47b3dd21/iconv/../iconv/skeleton.c:536:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘irreversible’
glibc-2.41.9000-248-g7b47b3dd21/iconv/../iconv/skeleton.c:327:1: enter_function: entry to ‘__gconv_transform_ucs4_internal’
glibc-2.41.9000-248-g7b47b3dd21/iconv/../iconv/skeleton.c:347:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconv/../iconv/skeleton.c:442:50: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconv/../iconv/skeleton.c:449:32: branch_false: following ‘false’ branch (when ‘irreversible’ is NULL)...
 branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconv/../iconv/skeleton.c:500:31: branch_false: following ‘false’ branch (when ‘irreversible’ is NULL)...
glibc-2.41.9000-248-g7b47b3dd21/iconv/../iconv/skeleton.c:500:15: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconv/../iconv/skeleton.c:518:14: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconv/../iconv/skeleton.c:525:13: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconv/../iconv/skeleton.c:529:14: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconv/../iconv/skeleton.c:532:15: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconv/../iconv/skeleton.c:536:15: danger: dereference of NULL ‘irreversible’
#  534|   	      /* Remember how many non-identical characters we
#  535|   		 converted in an irreversible way.  */
#  536|-> 	      *irreversible += lirreversible;
#  537|   
#  538|   	      break;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def337]
glibc-2.41.9000-248-g7b47b3dd21/iconv/../iconv/skeleton.c:547:24: warning[-Wanalyzer-jump-through-null]: jump through null pointer
glibc-2.41.9000-248-g7b47b3dd21/iconv/../iconv/skeleton.c:337:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconv/../iconv/skeleton.c:347:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconv/../iconv/skeleton.c:347:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconv/../iconv/skeleton.c:442:50: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconv/../iconv/skeleton.c:518:14: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconv/../iconv/skeleton.c:525:13: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconv/../iconv/skeleton.c:529:14: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconv/../iconv/skeleton.c:542:15: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconv/../iconv/skeleton.c:542:14: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconv/../iconv/skeleton.c:544:45: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconv/../iconv/skeleton.c:547:24: danger: jump through null pointer here
#  545|   	      int result;
#  546|   
#  547|-> 	      result = DL_CALL_FCT (fct, (next_step, next_data, &outerr,
#  548|   					  outbuf, NULL, irreversible, 0,
#  549|   					  consume_incomplete));

Error: GCC_ANALYZER_WARNING (CWE-476): [#def338]
glibc-2.41.9000-248-g7b47b3dd21/iconv/../locale/programs/charmap-dir.c:269:11: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘aliases’
glibc-2.41.9000-248-g7b47b3dd21/iconv/../locale/programs/charmap-dir.c:253:6: branch_false: following ‘false’ branch (when ‘stream’ is non-NULL)...
 branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconv/../locale/programs/charmap-dir.c:259:10: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconv/../locale/programs/charmap-dir.c:261:13: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconv/../locale/programs/charmap-dir.c:267:31: acquire_memory: this call could return NULL
glibc-2.41.9000-248-g7b47b3dd21/iconv/../locale/programs/charmap-dir.c:269:11: danger: ‘aliases + naliases * 8’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
#  267|             aliases = (char **) xrealloc (aliases,
#  268|                                           (naliases + 2) * sizeof (char *));
#  269|->           aliases[naliases++] = alias;
#  270|           }
#  271|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def339]
glibc-2.41.9000-248-g7b47b3dd21/iconv/../locale/programs/charmap.c:871:14: warning[-Wanalyzer-null-argument]: use of NULL ‘from’ where non-null expected
glibc-2.41.9000-248-g7b47b3dd21/iconv/../locale/programs/charmap.c:88:1: enter_function: entry to ‘charmap_read’
glibc-2.41.9000-248-g7b47b3dd21/iconv/../locale/programs/charmap.c:93:6: branch_true: following ‘true’ branch (when ‘filename’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/iconv/../locale/programs/charmap.c:98:16: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconv/../locale/programs/charmap.c:133:18: call_function: calling ‘parse_charmap’ from ‘charmap_read’
#argument 1 of ‘__builtin_strlen’ must be non-null
#  869|     struct charseq *to_val;
#  870|   
#  871|->   from_val = charmap_find_value (result, from, strlen (from));
#  872|     if (from_val == NULL)
#  873|       {

Error: GCC_ANALYZER_WARNING (CWE-688): [#def340]
glibc-2.41.9000-248-g7b47b3dd21/iconv/../locale/programs/charmap.c:948:10: warning[-Wanalyzer-null-argument]: use of NULL ‘from’ where non-null expected
glibc-2.41.9000-248-g7b47b3dd21/iconv/../locale/programs/charmap.c:88:1: enter_function: entry to ‘charmap_read’
glibc-2.41.9000-248-g7b47b3dd21/iconv/../locale/programs/charmap.c:93:6: branch_true: following ‘true’ branch (when ‘filename’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/iconv/../locale/programs/charmap.c:98:16: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconv/../locale/programs/charmap.c:133:18: call_function: calling ‘parse_charmap’ from ‘charmap_read’
#argument 1 of ‘__builtin_strlen’ must be non-null
#  946|     struct charseq *newp;
#  947|   
#  948|->   len1 = strlen (from);
#  949|   
#  950|     if (to == NULL)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def341]
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconv.c:54:44: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘outbuf’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconv.c:34:20: branch_false: following ‘false’ branch (when ‘outbuf’ is NULL)...
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconv.c:38:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconv.c:38:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconv.c:54:44: danger: dereference of NULL ‘outbuf’
#   52|   			(const unsigned char *)  (*inbuf + *inbytesleft),
#   53|   			(unsigned char **) outbuf,
#   54|-> 			(unsigned char *) (*outbuf + *outbytesleft),
#   55|   			&irreversible);
#   56|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def342]
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconv_charmap.c:277:1: warning[-Wanalyzer-malloc-leak]: leak of ‘tbl’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconv_charmap.c:397:1: enter_function: entry to ‘use_both_charmaps’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconv_charmap.c:409:10: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconv_charmap.c:412:23: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconv_charmap.c:416:9: call_function: calling ‘add_bytes’ from ‘use_both_charmaps’
#  275|         tbl->val[byte].out = out;
#  276|       }
#  277|-> }
#  278|   
#  279|   /* Try to convert SEQ from WCHAR_T format using CD.

Error: GCC_ANALYZER_WARNING (CWE-401): [#def343]
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconv_charmap.c:372:6: warning[-Wanalyzer-malloc-leak]: leak of ‘cd’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconv_charmap.c:371:8: acquire_memory: allocated here
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconv_charmap.c:372:6: branch_true: following ‘true’ branch (when ‘cd == 18446744073709551615’)...
 branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconv_charmap.c:372:6: danger: ‘cd’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
#  370|        way round.  */
#  371|     cd = iconv_open (from_code, "WCHAR_T");
#  372|->   if (cd == (iconv_t) -1)
#  373|       /* We cannot do anything.  */
#  374|       return NULL;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def344]
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:440:1: warning[-Wanalyzer-malloc-leak]: leak of ‘newp’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:727:1: enter_function: entry to ‘add_builtins’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:732:17: branch_true: following ‘true’ branch (when ‘cnt != 36’)...
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:736:16: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:733:5: call_function: calling ‘new_alias’ from ‘add_builtins’
#  438|         newp->toent = strtabadd (strtab, newp->toname, tolen);
#  439|       }
#  440|-> }
#  441|   
#  442|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def345]
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:566:1: warning[-Wanalyzer-malloc-leak]: leak of ‘new_module’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:727:1: enter_function: entry to ‘add_builtins’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:732:17: branch_true: following ‘true’ branch (when ‘cnt != 36’)...
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:736:16: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:733:5: call_function: calling ‘new_alias’ from ‘add_builtins’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:733:5: return_function: returning to ‘add_builtins’ from ‘new_alias’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:739:17: branch_true: following ‘true’ branch (when ‘cnt != 12’)...
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:740:5: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:740:5: call_function: calling ‘new_module’ from ‘add_builtins’
#  564|         new_module->directory_strent = strtabadd (strtab, directory, dirlen);
#  565|       }
#  566|-> }
#  567|   
#  568|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def346]
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:768:3: warning[-Wanalyzer-malloc-leak]: leak of ‘new_name("INTERNAL", strtabadd(strtab, "INTERNAL", 9))’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:777:1: enter_function: entry to ‘generate_name_list’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:782:12: call_function: calling ‘new_name’ from ‘generate_name_list’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:782:12: return_function: returning to ‘generate_name_list’ from ‘new_name’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:768:3: danger: ‘new_name("INTERNAL", strtabadd(strtab, "INTERNAL", 9))’ leaks here; was allocated at [(4)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/3)
#  766|     newp->strent = strent;
#  767|     newp->module_idx = -1;
#  768|->   newp->hashval = __hash_string (str);
#  769|   
#  770|     ++nnames;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def347]
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:768:3: warning[-Wanalyzer-malloc-leak]: leak of ‘new_name(&*runp.toname, *runp.toname_strent)’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:777:1: enter_function: entry to ‘generate_name_list’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:782:12: call_function: calling ‘new_name’ from ‘generate_name_list’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:782:12: return_function: returning to ‘generate_name_list’ from ‘new_name’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:786:15: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:790:30: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:795:35: branch_true: following ‘true’ branch (when ‘runp’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:796:21: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:796:12: branch_true: following ‘true’ branch (when the strings are non-equal)...
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:797:20: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:797:20: call_function: calling ‘new_name’ from ‘generate_name_list’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:797:20: return_function: returning to ‘generate_name_list’ from ‘new_name’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:768:3: danger: ‘new_name(&*runp.toname, *runp.toname_strent)’ leaks here; was allocated at [(14)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/13)
#  766|     newp->strent = strent;
#  767|     newp->module_idx = -1;
#  768|->   newp->hashval = __hash_string (str);
#  769|   
#  770|     ++nnames;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def348]
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:768:3: warning[-Wanalyzer-malloc-leak]: leak of ‘new_name(**_6.fromname, **_6.fromname_strent)’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:777:1: enter_function: entry to ‘generate_name_list’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:782:12: call_function: calling ‘new_name’ from ‘generate_name_list’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:782:12: return_function: returning to ‘generate_name_list’ from ‘new_name’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:786:15: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:790:30: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:790:10: branch_true: following ‘true’ branch (when the strings are non-equal)...
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:791:18: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:791:18: call_function: calling ‘new_name’ from ‘generate_name_list’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:791:18: return_function: returning to ‘generate_name_list’ from ‘new_name’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:768:3: danger: ‘new_name(**_6.fromname, **_6.fromname_strent)’ leaks here; was allocated at [(12)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/11)
#  766|     newp->strent = strent;
#  767|     newp->module_idx = -1;
#  768|->   newp->hashval = __hash_string (str);
#  769|   
#  770|     ++nnames;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def349]
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:782:3: warning[-Wanalyzer-malloc-leak]: leak of ‘new_name("INTERNAL", strtabadd(strtab, "INTERNAL", 9))’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:777:1: enter_function: entry to ‘generate_name_list’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:782:12: call_function: calling ‘new_name’ from ‘generate_name_list’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:782:12: return_function: returning to ‘generate_name_list’ from ‘new_name’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:782:3: danger: ‘new_name("INTERNAL", strtabadd(strtab, "INTERNAL", 9))’ leaks here; was allocated at [(4)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/3)
#  780|   
#  781|     /* A name we always need.  */
#  782|->   tsearch (new_name ("INTERNAL", strtabadd (strtab, "INTERNAL",
#  783|   					    sizeof ("INTERNAL"))),
#  784|   	   &names, name_compare);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def350]
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:791:9: warning[-Wanalyzer-malloc-leak]: leak of ‘new_name(**_6.fromname, **_6.fromname_strent)’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:777:1: enter_function: entry to ‘generate_name_list’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:782:12: call_function: calling ‘new_name’ from ‘generate_name_list’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:782:12: return_function: returning to ‘generate_name_list’ from ‘new_name’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:786:15: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:790:30: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:790:10: branch_true: following ‘true’ branch (when the strings are non-equal)...
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:791:18: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:791:18: call_function: calling ‘new_name’ from ‘generate_name_list’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:791:18: return_function: returning to ‘generate_name_list’ from ‘new_name’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:791:9: danger: ‘new_name(**_6.fromname, **_6.fromname_strent)’ leaks here; was allocated at [(12)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/11)
#  789|   
#  790|         if (strcmp (module_list[i]->fromname, "INTERNAL") != 0)
#  791|-> 	tsearch (new_name (module_list[i]->fromname,
#  792|   			   module_list[i]->fromname_strent),
#  793|   		 &names, name_compare);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def351]
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:797:11: warning[-Wanalyzer-malloc-leak]: leak of ‘new_name(&*runp.toname, *runp.toname_strent)’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:777:1: enter_function: entry to ‘generate_name_list’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:782:12: call_function: calling ‘new_name’ from ‘generate_name_list’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:782:12: return_function: returning to ‘generate_name_list’ from ‘new_name’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:786:15: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:790:30: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:795:35: branch_true: following ‘true’ branch (when ‘runp’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:796:21: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:796:12: branch_true: following ‘true’ branch (when the strings are non-equal)...
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:797:20: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:797:20: call_function: calling ‘new_name’ from ‘generate_name_list’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:797:20: return_function: returning to ‘generate_name_list’ from ‘new_name’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:797:11: danger: ‘new_name(&*runp.toname, *runp.toname_strent)’ leaks here; was allocated at [(14)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/13)
#  795|         for (runp = module_list[i]; runp != NULL; runp = runp->next)
#  796|   	if (strcmp (runp->toname, "INTERNAL") != 0)
#  797|-> 	  tsearch (new_name (runp->toname, runp->toname_strent),
#  798|   		   &names, name_compare);
#  799|       }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def352]
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:900:31: warning[-Wanalyzer-malloc-leak]: leak of ‘newp’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:824:1: enter_function: entry to ‘generate_name_info’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:834:9: call_function: calling ‘name_to_module_idx’ from ‘generate_name_info’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:834:9: return_function: returning to ‘generate_name_info’ from ‘name_to_module_idx’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:838:3: branch_true: following ‘true’ branch...
 branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:892:15: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:894:19: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:900:31: call_function: calling ‘new_name’ from ‘generate_name_info’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:900:31: return_function: returning to ‘generate_name_info’ from ‘new_name’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:892:15: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:894:19: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:900:31: danger: ‘newp’ leaks here; was allocated at [(13)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/12)
#  898|         if (tonamep != NULL)
#  899|   	{
#  900|-> 	  struct name *newp = new_name (alias_list[i]->fromname,
#  901|   					alias_list[i]->froment);
#  902|   	  newp->module_idx = (*tonamep)->module_idx;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def353]
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:906:1: warning[-Wanalyzer-malloc-leak]: leak of ‘newp’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:824:1: enter_function: entry to ‘generate_name_info’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:834:9: call_function: calling ‘name_to_module_idx’ from ‘generate_name_info’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:834:9: return_function: returning to ‘generate_name_info’ from ‘name_to_module_idx’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:838:3: branch_true: following ‘true’ branch...
 branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:892:15: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:894:19: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:900:31: call_function: calling ‘new_name’ from ‘generate_name_info’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:900:31: return_function: returning to ‘generate_name_info’ from ‘new_name’
glibc-2.41.9000-248-g7b47b3dd21/iconv/iconvconfig.c:906:1: danger: ‘newp’ leaks here; was allocated at [(13)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/12)
#  904|   	}
#  905|       }
#  906|-> }
#  907|   
#  908|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def354]
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/loop.c:376:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*(const struct <anonymous> *)(&bytebuf[2]).r’
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:327:1: enter_function: entry to ‘gconv’
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:337:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:347:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:347:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:441:28: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:449:32: branch_true: following ‘true’ branch (when ‘irreversible’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:452:7: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:459:10: branch_true: following ‘true’ branch (when ‘consume_incomplete != 0’)...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:462:37: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:459:11: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:467:11: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:467:11: branch_true: following ‘true’ branch (when ‘outbufstart’ is NULL)...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:470:14: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:470:14: branch_true: following ‘true’ branch (when ‘dir == 2’)...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:471:22: call_function: inlined call to ‘from_utf16_loop_single’ from ‘gconv’
 branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:471:22: call_function: inlined call to ‘from_utf16_loop_single’ from ‘gconv’
 branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:471:22: call_function: inlined call to ‘from_utf16_loop_single’ from ‘gconv’
#  374|     do
#  375|       {
#  376|->       BODY
#  377|       }
#  378|     while (0);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def355]
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/loop.c:376:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*(const struct <anonymous> *)(&bytebuf[4]).r’
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:327:1: enter_function: entry to ‘gconv’
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:337:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:347:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:347:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:442:50: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:449:32: branch_false: following ‘false’ branch (when ‘irreversible’ is NULL)...
 branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:459:10: branch_true: following ‘true’ branch (when ‘consume_incomplete != 0’)...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:462:37: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:459:11: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:467:11: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:467:11: branch_true: following ‘true’ branch (when ‘outbufstart’ is NULL)...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:470:47: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:470:14: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:480:22: call_function: inlined call to ‘to_ibm1390_single’ from ‘gconv’
 branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:480:22: call_function: inlined call to ‘to_ibm1390_single’ from ‘gconv’
 branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:480:22: call_function: inlined call to ‘to_ibm1390_single’ from ‘gconv’
 branch_false: ...to here
#  374|     do
#  375|       {
#  376|->       BODY
#  377|       }
#  378|     while (0);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def356]
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/loop.c:376:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘bytebuf[0]’
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:327:1: enter_function: entry to ‘gconv’
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:337:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:347:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:347:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:442:50: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:449:32: branch_true: following ‘true’ branch (when ‘irreversible’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:459:10: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:459:10: branch_true: following ‘true’ branch (when ‘consume_incomplete != 0’)...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:462:37: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:459:11: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:467:11: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:467:11: branch_true: following ‘true’ branch (when ‘outbufstart’ is NULL)...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:470:47: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:470:14: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:471:22: call_function: inlined call to ‘from_t_61_single’ from ‘gconv’
 branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:471:22: call_function: inlined call to ‘from_t_61_single’ from ‘gconv’
#  374|     do
#  375|       {
#  376|->       BODY
#  377|       }
#  378|     while (0);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def357]
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/loop.c:376:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘bytebuf[1]’
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:327:1: enter_function: entry to ‘gconv’
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:337:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:347:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:347:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:442:50: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:449:32: branch_true: following ‘true’ branch (when ‘irreversible’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:459:10: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:459:10: branch_true: following ‘true’ branch (when ‘consume_incomplete != 0’)...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:462:37: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:459:11: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:467:11: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:467:11: branch_true: following ‘true’ branch (when ‘outbufstart’ is NULL)...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:470:47: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:470:14: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:471:22: call_function: inlined call to ‘from_euc_jp_single’ from ‘gconv’
 branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:471:22: call_function: inlined call to ‘from_euc_jp_single’ from ‘gconv’
 branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:471:22: call_function: inlined call to ‘from_euc_jp_single’ from ‘gconv’
#  374|     do
#  375|       {
#  376|->       BODY
#  377|       }
#  378|     while (0);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def358]
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:391:32: warning[-Wanalyzer-jump-through-null]: jump through null pointer
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:337:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:347:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:347:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:350:7: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:350:7: branch_true: following ‘true’ branch (when ‘outbufstart’ is NULL)...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:355:10: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:355:10: branch_true: following ‘true’ branch (when ‘do_flush == 1’)...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:358:26: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:371:11: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:371:11: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:380:18: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:386:22: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:386:22: branch_true: following ‘true’ branch (when ‘outbuf < outbuf’)...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:388:44: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:391:32: danger: jump through null pointer here
#  389|   		      int result;
#  390|   
#  391|-> 		      result = DL_CALL_FCT (fct, (next_step, next_data,
#  392|   						  &outerr, outbuf, NULL,
#  393|   						  irreversible, 0,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def359]
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:416:30: warning[-Wanalyzer-jump-through-null]: jump through null pointer
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:337:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:347:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:347:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:350:7: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:350:7: branch_true: following ‘true’ branch (when ‘outbufstart’ is NULL)...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:355:10: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:355:10: branch_true: following ‘true’ branch (when ‘do_flush == 1’)...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:358:26: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:380:18: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:386:22: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:414:22: branch_true: following ‘true’ branch (when ‘status == 0’)...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:416:30: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:416:30: danger: jump through null pointer here
#  414|   		  if (status == __GCONV_OK)
#  415|   		    /* Now flush the remaining steps.  */
#  416|-> 		    status = DL_CALL_FCT (fct, (next_step, next_data, NULL,
#  417|   						NULL, NULL, irreversible, 1,
#  418|   						consume_incomplete));

Error: GCC_ANALYZER_WARNING (CWE-476): [#def360]
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:432:22: warning[-Wanalyzer-jump-through-null]: jump through null pointer
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:337:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:347:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:347:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:350:7: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:350:7: branch_true: following ‘true’ branch (when ‘outbufstart’ is NULL)...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:428:19: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:430:14: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:432:22: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:432:22: danger: jump through null pointer here
#  430|   	  if (! (data->__flags & __GCONV_IS_LAST))
#  431|   	    /* Now flush the remaining steps.  */
#  432|-> 	    status = DL_CALL_FCT (fct, (next_step, next_data, NULL, NULL,
#  433|   					NULL, irreversible, do_flush,
#  434|   					consume_incomplete));

Error: GCC_ANALYZER_WARNING (CWE-476): [#def361]
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:536:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘irreversible’
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:347:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:442:50: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:449:32: branch_false: following ‘false’ branch (when ‘irreversible’ is NULL)...
 branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:500:31: branch_false: following ‘false’ branch (when ‘irreversible’ is NULL)...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:500:15: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:507:14: branch_true: following ‘true’ branch...
 branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:518:14: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:525:13: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:529:14: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:532:15: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:536:15: danger: dereference of NULL ‘irreversible’
#  534|   	      /* Remember how many non-identical characters we
#  535|   		 converted in an irreversible way.  */
#  536|-> 	      *irreversible += lirreversible;
#  537|   
#  538|   	      break;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def362]
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:547:24: warning[-Wanalyzer-jump-through-null]: jump through null pointer
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:327:1: enter_function: entry to ‘gconv’
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:337:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:347:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:347:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:442:50: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:449:32: branch_true: following ‘true’ branch (when ‘irreversible’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:461:48: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:459:10: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:459:11: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:459:11: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:467:11: branch_true: following ‘true’ branch (when ‘outbufstart’ is NULL)...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:480:22: call_function: inlined call to ‘to_iso8859_1_single’ from ‘gconv’
 branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:480:22: call_function: inlined call to ‘to_iso8859_1_single’ from ‘gconv’
 branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:480:22: call_function: inlined call to ‘to_iso8859_1_single’ from ‘gconv’
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:500:31: branch_true: following ‘true’ branch (when ‘irreversible’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:500:31: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:513:22: call_function: inlined call to ‘to_iso8859_1’ from ‘gconv’
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:518:14: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:525:13: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:529:14: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:542:15: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:542:14: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:544:45: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:547:24: danger: jump through null pointer here
#  545|   	      int result;
#  546|   
#  547|-> 	      result = DL_CALL_FCT (fct, (next_step, next_data, &outerr,
#  548|   					  outbuf, NULL, irreversible, 0,
#  549|   					  consume_incomplete));

Error: GCC_ANALYZER_WARNING (CWE-457): [#def363]
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/cns11643l1.h:41:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘bytebuf[1]’
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:327:1: enter_function: entry to ‘gconv’
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:337:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:347:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:347:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:442:50: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:449:32: branch_false: following ‘false’ branch (when ‘irreversible’ is NULL)...
 branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:459:10: branch_true: following ‘true’ branch (when ‘consume_incomplete != 0’)...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:462:37: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:459:11: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:467:11: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:467:11: branch_true: following ‘true’ branch (when ‘outbufstart’ is NULL)...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:470:47: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:470:14: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:471:22: call_function: inlined call to ‘from_iso2022cn_loop_single’ from ‘gconv’
 branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:471:22: call_function: inlined call to ‘from_iso2022cn_loop_single’ from ‘gconv’
 branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:471:22: call_function: inlined call to ‘from_iso2022cn_loop_single’ from ‘gconv’
#   39|       return 0;
#   40|   
#   41|->   ch2 = (*s)[1];
#   42|     if ((ch2 - offset) <= 0x20 || (ch2 - offset) >= 0x7f)
#   43|       return __UNKNOWN_10646_CHAR;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def364]
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/gb2312.h:44:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘bytebuf[1]’
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:327:1: enter_function: entry to ‘gconv’
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:337:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:347:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:347:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:442:50: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:449:32: branch_false: following ‘false’ branch (when ‘irreversible’ is NULL)...
 branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:459:10: branch_true: following ‘true’ branch (when ‘consume_incomplete != 0’)...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:462:37: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:459:11: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:467:11: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:467:11: branch_true: following ‘true’ branch (when ‘outbufstart’ is NULL)...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:470:14: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:470:14: branch_true: following ‘true’ branch (when ‘dir == 2’)...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:471:22: call_function: inlined call to ‘from_iso2022jp_loop_single’ from ‘gconv’
 branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:471:22: call_function: inlined call to ‘from_iso2022jp_loop_single’ from ‘gconv’
 branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:471:22: call_function: inlined call to ‘from_iso2022jp_loop_single’ from ‘gconv’
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:471:22: call_function: inlined call to ‘from_iso2022jp_loop_single’ from ‘gconv’
#   42|       return 0;
#   43|   
#   44|->   ch2 = (*s)[1];
#   45|     if ((ch2 - offset) <= 0x20 || (ch2 - offset) >= 0x7f)
#   46|       return __UNKNOWN_10646_CHAR;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def365]
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/iso-ir-165.h:54:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘bytebuf[1]’
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:327:1: enter_function: entry to ‘gconv’
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:337:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:347:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:347:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:442:50: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:449:32: branch_false: following ‘false’ branch (when ‘irreversible’ is NULL)...
 branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:459:10: branch_true: following ‘true’ branch (when ‘consume_incomplete != 0’)...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:462:37: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:459:11: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:467:11: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:467:11: branch_true: following ‘true’ branch (when ‘outbufstart’ is NULL)...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:470:47: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:470:14: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:471:22: call_function: inlined call to ‘from_iso2022cn_ext_loop_single’ from ‘gconv’
 branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:471:22: call_function: inlined call to ‘from_iso2022cn_ext_loop_single’ from ‘gconv’
 branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:471:22: call_function: inlined call to ‘from_iso2022cn_ext_loop_single’ from ‘gconv’
#   52|       return 0;
#   53|   
#   54|->   ch2 = (*s)[1];
#   55|     if (ch2 <= 0x20 || ch2 >= 0x7f)
#   56|       return __UNKNOWN_10646_CHAR;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def366]
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/jis0208.h:60:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘bytebuf[1]’
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:327:1: enter_function: entry to ‘gconv’
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:337:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:347:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:347:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:442:50: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:449:32: branch_false: following ‘false’ branch (when ‘irreversible’ is NULL)...
 branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:459:10: branch_true: following ‘true’ branch (when ‘consume_incomplete != 0’)...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:462:37: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:459:11: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:467:11: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:467:11: branch_true: following ‘true’ branch (when ‘outbufstart’ is NULL)...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:470:14: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:470:14: branch_true: following ‘true’ branch (when ‘dir == 2’)...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:471:22: call_function: inlined call to ‘from_iso2022jp_loop_single’ from ‘gconv’
 branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:471:22: call_function: inlined call to ‘from_iso2022jp_loop_single’ from ‘gconv’
 branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:471:22: call_function: inlined call to ‘from_iso2022jp_loop_single’ from ‘gconv’
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:471:22: call_function: inlined call to ‘from_iso2022jp_loop_single’ from ‘gconv’
#   58|       return 0;
#   59|   
#   60|->   ch2 = (*s)[1];
#   61|     if (ch2 < offset || (ch2 - offset) <= 0x20 || (ch2 - offset) >= 0x7f)
#   62|       return __UNKNOWN_10646_CHAR;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def367]
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/jis0212.h:59:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘bytebuf[1]’
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:327:1: enter_function: entry to ‘gconv’
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:337:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:347:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:347:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:442:50: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:449:32: branch_false: following ‘false’ branch (when ‘irreversible’ is NULL)...
 branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:459:10: branch_true: following ‘true’ branch (when ‘consume_incomplete != 0’)...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:462:37: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:459:11: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:467:11: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:467:11: branch_true: following ‘true’ branch (when ‘outbufstart’ is NULL)...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:470:14: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:470:14: branch_true: following ‘true’ branch (when ‘dir == 2’)...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:471:22: call_function: inlined call to ‘from_iso2022jp_loop_single’ from ‘gconv’
 branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:471:22: call_function: inlined call to ‘from_iso2022jp_loop_single’ from ‘gconv’
 branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:471:22: call_function: inlined call to ‘from_iso2022jp_loop_single’ from ‘gconv’
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:471:22: call_function: inlined call to ‘from_iso2022jp_loop_single’ from ‘gconv’
#   57|       return 0;
#   58|   
#   59|->   ch2 = (*s)[1];
#   60|     if (ch2 < offset || (ch2 - offset) <= 0x20 || (ch2 - offset) >= 0x7f)
#   61|       return __UNKNOWN_10646_CHAR;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def368]
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/ksc5601.h:62:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘bytebuf[1]’
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:327:1: enter_function: entry to ‘gconv’
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:337:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:347:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:347:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:442:50: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:449:32: branch_false: following ‘false’ branch (when ‘irreversible’ is NULL)...
 branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:459:10: branch_true: following ‘true’ branch (when ‘consume_incomplete != 0’)...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:462:37: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:459:11: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:467:11: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:467:11: branch_true: following ‘true’ branch (when ‘outbufstart’ is NULL)...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:470:47: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:470:14: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:471:22: call_function: inlined call to ‘from_iso2022kr_loop_single’ from ‘gconv’
 branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:471:22: call_function: inlined call to ‘from_iso2022kr_loop_single’ from ‘gconv’
 branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/iconvdata/../iconv/skeleton.c:471:22: call_function: inlined call to ‘from_iso2022kr_loop_single’ from ‘gconv’
#   60|       return __UNKNOWN_10646_CHAR;
#   61|   
#   62|->   ch2 = (*s)[1];
#   63|     if (ch2 < offset || (ch2 - offset) <= 0x20 || (ch2 - offset) >= 0x7f)
#   64|       return __UNKNOWN_10646_CHAR;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def369]
glibc-2.41.9000-248-g7b47b3dd21/inet/../sysdeps/unix/sysv/linux/check_pf.c:160:11: warning[-Wanalyzer-malloc-leak]: leak of ‘make_request(__socket(16, 524291, 0), (int)nladdr.nl_pid)’
glibc-2.41.9000-248-g7b47b3dd21/inet/../sysdeps/unix/sysv/linux/check_pf.c:291:1: enter_function: entry to ‘__check_pf’
glibc-2.41.9000-248-g7b47b3dd21/inet/../sysdeps/unix/sysv/linux/check_pf.c:315:10: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/inet/../sysdeps/unix/sysv/linux/check_pf.c:318:11: call_function: inlined call to ‘memset’ from ‘__check_pf’
glibc-2.41.9000-248-g7b47b3dd21/inet/../sysdeps/unix/sysv/linux/check_pf.c:323:14: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/inet/../sysdeps/unix/sysv/linux/check_pf.c:324:18: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/inet/../sysdeps/unix/sysv/linux/check_pf.c:323:15: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/inet/../sysdeps/unix/sysv/linux/check_pf.c:326:38: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/inet/../sysdeps/unix/sysv/linux/check_pf.c:326:20: call_function: calling ‘make_request’ from ‘__check_pf’
glibc-2.41.9000-248-g7b47b3dd21/inet/../sysdeps/unix/sysv/linux/check_pf.c:326:20: return_function: returning to ‘__check_pf’ from ‘make_request’
glibc-2.41.9000-248-g7b47b3dd21/inet/../sysdeps/unix/sysv/linux/check_pf.c:160:11: danger: ‘make_request(__socket(16, 524291, 0), (int)nladdr.nl_pid)’ leaks here; was allocated at [(21)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/20)
#  158|   	goto out_fail;
#  159|   
#  160|->       if (msg.msg_flags & MSG_TRUNC)
#  161|   	goto out_fail;
#  162|   

Error: GCC_ANALYZER_WARNING (CWE-416): [#def370]
glibc-2.41.9000-248-g7b47b3dd21/inet/../sysdeps/unix/sysv/linux/check_pf.c:242:35: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘address’
glibc-2.41.9000-248-g7b47b3dd21/inet/../sysdeps/unix/sysv/linux/check_pf.c:132:6: branch_false: following ‘false’ branch...
 branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/inet/../sysdeps/unix/sysv/linux/check_pf.c:157:10: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/inet/../sysdeps/unix/sysv/linux/check_pf.c:160:11: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/inet/../sysdeps/unix/sysv/linux/check_pf.c:160:10: branch_false: following ‘false’ branch...
 branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/inet/../sysdeps/unix/sysv/linux/check_pf.c:200:18: branch_false: following ‘false’ branch (when ‘local’ is NULL)...
glibc-2.41.9000-248-g7b47b3dd21/inet/../sysdeps/unix/sysv/linux/check_pf.c:217:19: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/inet/../sysdeps/unix/sysv/linux/check_pf.c:217:18: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/inet/../sysdeps/unix/sysv/linux/check_pf.c:219:19: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/inet/../sysdeps/unix/sysv/linux/check_pf.c:225:18: branch_false: following ‘false’ branch (when ‘result’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/inet/../sysdeps/unix/sysv/linux/check_pf.c:228:57: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/inet/../sysdeps/unix/sysv/linux/check_pf.c:237:18: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/inet/../sysdeps/unix/sysv/linux/check_pf.c:239:19: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/inet/../sysdeps/unix/sysv/linux/check_pf.c:242:35: danger: use after ‘free’ of ‘address’
#  240|   		  info->addr[1] = 0;
#  241|   		  info->addr[2] = htonl (0xffff);
#  242|-> 		  info->addr[3] = *(const in_addr_t *) address;
#  243|   		}
#  244|   	      else

Error: GCC_ANALYZER_WARNING (CWE-476): [#def371]
glibc-2.41.9000-248-g7b47b3dd21/inet/rcmd.c:509:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘res’
glibc-2.41.9000-248-g7b47b3dd21/inet/rcmd.c:594:1: enter_function: entry to ‘iruserok_af’
glibc-2.41.9000-248-g7b47b3dd21/inet/rcmd.c:619:10: call_function: inlined call to ‘ruserok_sa’ from ‘iruserok_af’
#  507|   
#  508|     /* No threads use this stream.  */
#  509|->   __fsetlocking (res, FSETLOCKING_BYCALLER);
#  510|   
#  511|     return res;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def372]
glibc-2.41.9000-248-g7b47b3dd21/intl/bindtextdom.c:312:3: warning[-Wanalyzer-malloc-leak]: leak of ‘result’
glibc-2.41.9000-248-g7b47b3dd21/intl/bindtextdom.c:109:6: branch_false: following ‘false’ branch (when ‘binding’ is NULL)...
glibc-2.41.9000-248-g7b47b3dd21/intl/bindtextdom.c:189:11: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/intl/bindtextdom.c:205:10: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/intl/bindtextdom.c:208:15: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/intl/bindtextdom.c:210:10: branch_true: following ‘true’ branch (when ‘dirnamep’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/intl/bindtextdom.c:212:23: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/intl/bindtextdom.c:214:14: branch_false: following ‘false’ branch (when ‘dirname’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/intl/bindtextdom.c:219:19: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/intl/bindtextdom.c:219:18: branch_false: following ‘false’ branch (when the strings are non-equal)...
glibc-2.41.9000-248-g7b47b3dd21/intl/bindtextdom.c:225:28: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/intl/bindtextdom.c:225:28: acquire_memory: allocated here
glibc-2.41.9000-248-g7b47b3dd21/intl/bindtextdom.c:226:22: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/intl/bindtextdom.c:238:11: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/intl/bindtextdom.c:245:10: branch_true: following ‘true’ branch (when ‘codesetp’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/intl/bindtextdom.c:247:23: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/intl/bindtextdom.c:249:14: branch_true: following ‘true’ branch (when ‘codeset’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/intl/bindtextdom.c:254:24: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/intl/bindtextdom.c:255:18: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/intl/bindtextdom.c:256:17: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/intl/bindtextdom.c:296:14: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/intl/bindtextdom.c:298:9: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/intl/bindtextdom.c:301:14: branch_true: following ‘true’ branch (when ‘dirnamep’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/intl/bindtextdom.c:302:13: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/intl/bindtextdom.c:303:14: branch_true: following ‘true’ branch (when ‘codesetp’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/intl/bindtextdom.c:304:13: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/intl/bindtextdom.c:312:3: danger: ‘result’ leaks here; was allocated at [(11)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/10)
#  310|       ++_nl_msg_cat_cntr;
#  311|   
#  312|->   gl_rwlock_unlock (_nl_state_lock);
#  313|   }
#  314|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def373]
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/fcntl_nocancel.c:57:16: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘fex.type’
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/fcntl_nocancel.c:56:10: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/fcntl_nocancel.c:57:16: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/fcntl_nocancel.c:57:16: danger: use of uninitialized value ‘fex.type’ here
#   55|         int res = INTERNAL_SYSCALL_CALL (fcntl64, fd, F_GETOWN_EX, &fex);
#   56|         if (!INTERNAL_SYSCALL_ERROR_P (res))
#   57|-> 	return fex.type == F_OWNER_GID ? -fex.pid : fex.pid;
#   58|   
#   59|         return INLINE_SYSCALL_ERROR_RETURN_VALUE

Error: GCC_ANALYZER_WARNING (CWE-457): [#def374]
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/fstatat64.c:126:22: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U18c0>’
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/fstatat64.c:82:1: enter_function: entry to ‘fstatat64_time64_stat’
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/fstatat64.c:111:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/fstatat64.c:114:7: call_function: inlined call to ‘memset’ from ‘fstatat64_time64_stat’
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/fstatat64.c:126:22: danger: use of uninitialized value ‘ts64.<U18c0>’ here
#  124|         buf->st_blksize = st64.st_blksize;
#  125|         buf->st_blocks  = st64.st_blocks;
#  126|->       buf->st_atim = valid_timespec_to_timespec64 (st64.st_atim);
#  127|         buf->st_mtim = valid_timespec_to_timespec64 (st64.st_mtim);
#  128|         buf->st_ctim = valid_timespec_to_timespec64 (st64.st_ctim);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def375]
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/fstatat64.c:126:22: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U88c0>’
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/fstatat64.c:82:1: enter_function: entry to ‘fstatat64_time64_stat’
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/fstatat64.c:111:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/fstatat64.c:114:7: call_function: inlined call to ‘memset’ from ‘fstatat64_time64_stat’
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/fstatat64.c:126:22: danger: use of uninitialized value ‘ts64.<U88c0>’ here
#  124|         buf->st_blksize = st64.st_blksize;
#  125|         buf->st_blocks  = st64.st_blocks;
#  126|->       buf->st_atim = valid_timespec_to_timespec64 (st64.st_atim);
#  127|         buf->st_mtim = valid_timespec_to_timespec64 (st64.st_mtim);
#  128|         buf->st_ctim = valid_timespec_to_timespec64 (st64.st_ctim);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def376]
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/fstatat64.c:126:22: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U8960>’
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/fstatat64.c:82:1: enter_function: entry to ‘fstatat64_time64_stat’
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/fstatat64.c:111:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/fstatat64.c:114:7: call_function: inlined call to ‘memset’ from ‘fstatat64_time64_stat’
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/fstatat64.c:126:22: danger: use of uninitialized value ‘ts64.<U8960>’ here
#  124|         buf->st_blksize = st64.st_blksize;
#  125|         buf->st_blocks  = st64.st_blocks;
#  126|->       buf->st_atim = valid_timespec_to_timespec64 (st64.st_atim);
#  127|         buf->st_mtim = valid_timespec_to_timespec64 (st64.st_mtim);
#  128|         buf->st_ctim = valid_timespec_to_timespec64 (st64.st_ctim);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def377]
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/futimens.c:49:18: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U5960>’
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/futimens.c:44:1: enter_function: entry to ‘__futimens’
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/futimens.c:47:6: branch_true: following ‘true’ branch (when ‘tsp’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/futimens.c:49:18: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘__futimens’
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/futimens.c:49:18: danger: use of uninitialized value ‘ts64.<U5960>’ here
#   47|     if (tsp)
#   48|       {
#   49|->       tsp64[0] = valid_timespec_to_timespec64 (tsp[0]);
#   50|         tsp64[1] = valid_timespec_to_timespec64 (tsp[1]);
#   51|       }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def378]
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/futimens.c:49:18: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<Uba00>’
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/futimens.c:44:1: enter_function: entry to ‘__futimens’
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/futimens.c:47:6: branch_true: following ‘true’ branch (when ‘tsp’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/futimens.c:49:18: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘__futimens’
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/futimens.c:49:18: danger: use of uninitialized value ‘ts64.<Uba00>’ here
#   47|     if (tsp)
#   48|       {
#   49|->       tsp64[0] = valid_timespec_to_timespec64 (tsp[0]);
#   50|         tsp64[1] = valid_timespec_to_timespec64 (tsp[1]);
#   51|       }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def379]
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/getcwd.c:81:21: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*path’
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/getcwd.c:55:6: branch_false: following ‘false’ branch (when ‘size != 0’)...
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/getcwd.c:66:6: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/getcwd.c:66:6: branch_true: following ‘true’ branch (when ‘buf’ is NULL)...
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/getcwd.c:68:14: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/getcwd.c:69:10: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/getcwd.c:80:12: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/getcwd.c:80:12: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/getcwd.c:80:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/getcwd.c:81:6: branch_true: following ‘true’ branch (when ‘retval > 0’)...
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/getcwd.c:81:21: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/getcwd.c:81:21: danger: use of uninitialized value ‘*path’ here
#   79|   
#   80|     retval = INLINE_SYSCALL (getcwd, 2, path, alloc_size);
#   81|->   if (retval > 0 && path[0] == '/')
#   82|       {
#   83|   #ifndef NO_ALLOCATION

Error: GCC_ANALYZER_WARNING (CWE-457): [#def380]
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/ppoll.c:75:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U9460>’
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/ppoll.c:70:1: enter_function: entry to ‘ppoll’
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/ppoll.c:74:6: branch_true: following ‘true’ branch (when ‘timeout’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/ppoll.c:75:12: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘ppoll’
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/ppoll.c:75:12: danger: use of uninitialized value ‘ts64.<U9460>’ here
#   73|     struct __timespec64 ts64;
#   74|     if (timeout)
#   75|->     ts64 = valid_timespec_to_timespec64 (*timeout);
#   76|   
#   77|     return __ppoll64 (fds, nfds, timeout ? &ts64 : NULL, sigmask);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def381]
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/ppoll.c:75:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<Ua3c0>’
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/ppoll.c:70:1: enter_function: entry to ‘ppoll’
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/ppoll.c:74:6: branch_true: following ‘true’ branch (when ‘timeout’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/ppoll.c:75:12: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘ppoll’
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/ppoll.c:75:12: danger: use of uninitialized value ‘ts64.<Ua3c0>’ here
#   73|     struct __timespec64 ts64;
#   74|     if (timeout)
#   75|->     ts64 = valid_timespec_to_timespec64 (*timeout);
#   76|   
#   77|     return __ppoll64 (fds, nfds, timeout ? &ts64 : NULL, sigmask);

Error: COMPILER_WARNING (CWE-9001): [#def382]
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/ppoll.c:80:1: warning[-Wattributes]: ‘[artificial](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-artificial-function-attribute)’ attribute ignored
#   78|   }
#   79|   #endif
#   80|-> libc_hidden_def (ppoll)

Error: COMPILER_WARNING (CWE-9001): [#def383]
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/read.c:32:1: warning[-Wattributes]: ‘[artificial](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-artificial-function-attribute)’ attribute ignored
#   30|   libc_hidden_def (__read)
#   31|   weak_alias (__libc_read, __read)
#   32|-> libc_hidden_def (read)
#   33|   weak_alias (__libc_read, read)

Error: GCC_ANALYZER_WARNING (CWE-457): [#def384]
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/utimensat.c:91:18: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U3be0>’
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/utimensat.c:85:1: enter_function: entry to ‘__utimensat’
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/utimensat.c:89:6: branch_true: following ‘true’ branch (when ‘tsp’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/utimensat.c:91:18: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘__utimensat’
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/utimensat.c:91:18: danger: use of uninitialized value ‘ts64.<U3be0>’ here
#   89|     if (tsp)
#   90|       {
#   91|->       tsp64[0] = valid_timespec_to_timespec64 (tsp[0]);
#   92|         tsp64[1] = valid_timespec_to_timespec64 (tsp[1]);
#   93|       }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def385]
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/utimensat.c:91:18: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U7c80>’
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/utimensat.c:85:1: enter_function: entry to ‘__utimensat’
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/utimensat.c:89:6: branch_true: following ‘true’ branch (when ‘tsp’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/utimensat.c:91:18: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘__utimensat’
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/unix/sysv/linux/utimensat.c:91:18: danger: use of uninitialized value ‘ts64.<U7c80>’ here
#   89|     if (tsp)
#   90|       {
#   91|->       tsp64[0] = valid_timespec_to_timespec64 (tsp[0]);
#   92|         tsp64[1] = valid_timespec_to_timespec64 (tsp[1]);
#   93|       }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def386]
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/wordsize-64/../../io/ftw.c:262:10: warning[-Wanalyzer-malloc-leak]: leak of ‘newp’
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/wordsize-64/../../io/ftw.c:836:1: enter_function: entry to ‘__new_nftw’
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/wordsize-64/../../io/ftw.c:838:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/wordsize-64/../../io/ftw.c:844:10: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/io/../sysdeps/wordsize-64/../../io/ftw.c:844:10: call_function: calling ‘ftw_startup’ from ‘__new_nftw’
#  260|     newp->dev = st->st_dev;
#  261|     newp->ino = st->st_ino;
#  262|->   return __tsearch (newp, &data->known_objects, object_compare) ? 0 : -1;
#  263|   }
#  264|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def387]
glibc-2.41.9000-248-g7b47b3dd21/io/ftw.c:262:10: warning[-Wanalyzer-malloc-leak]: leak of ‘newp’
glibc-2.41.9000-248-g7b47b3dd21/io/ftw.c:836:1: enter_function: entry to ‘__new_nftw’
glibc-2.41.9000-248-g7b47b3dd21/io/ftw.c:838:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/io/ftw.c:844:10: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/io/ftw.c:844:10: call_function: calling ‘ftw_startup’ from ‘__new_nftw’
#  260|     newp->dev = st->st_dev;
#  261|     newp->ino = st->st_ino;
#  262|->   return __tsearch (newp, &data->known_objects, object_compare) ? 0 : -1;
#  263|   }
#  264|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def388]
glibc-2.41.9000-248-g7b47b3dd21/libio/freopen.c:99:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘__dup3(*result._fileno,  fd, (int)*result._flags2 << 13 & 524288)’
glibc-2.41.9000-248-g7b47b3dd21/libio/freopen.c:48:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/libio/freopen.c:51:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/libio/freopen.c:84:10: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/libio/freopen.c:85:18: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/libio/freopen.c:88:6: branch_true: following ‘true’ branch (when ‘result’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/libio/freopen.c:90:10: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/libio/freopen.c:90:10: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/libio/freopen.c:99:15: acquire_resource: opened here
glibc-2.41.9000-248-g7b47b3dd21/libio/freopen.c:99:14: danger: ‘__dup3(*result._fileno,  fd, (int)*result._flags2 << 13 & 524288)’ leaks here; was opened at [(9)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/8)
#   97|   	     opening (a dup operation may run when a file is still pending
#   98|   	     'install' on VFS).  */
#   99|-> 	  if (__dup3 (_IO_fileno (result), fd,
#  100|   		      (result->_flags2 & _IO_FLAGS2_CLOEXEC) != 0
#  101|   		      ? O_CLOEXEC : 0) == -1)

Error: GCC_ANALYZER_WARNING (CWE-775): [#def389]
glibc-2.41.9000-248-g7b47b3dd21/libio/freopen.c:99:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘__dup3(*result._fileno,  fd, (int)*result._flags2 << 13 & 524288)’
glibc-2.41.9000-248-g7b47b3dd21/libio/freopen.c:48:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/libio/freopen.c:51:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/libio/freopen.c:84:10: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/libio/freopen.c:85:18: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/libio/freopen.c:88:6: branch_true: following ‘true’ branch (when ‘result’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/libio/freopen.c:90:10: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/libio/freopen.c:90:10: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/libio/freopen.c:99:15: acquire_resource: opened here
glibc-2.41.9000-248-g7b47b3dd21/libio/freopen.c:99:15: danger: ‘__dup3(*result._fileno,  fd, (int)*result._flags2 << 13 & 524288)’ leaks here; was opened at [(9)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/8)
#   97|   	     opening (a dup operation may run when a file is still pending
#   98|   	     'install' on VFS).  */
#   99|-> 	  if (__dup3 (_IO_fileno (result), fd,
#  100|   		      (result->_flags2 & _IO_FLAGS2_CLOEXEC) != 0
#  101|   		      ? O_CLOEXEC : 0) == -1)

Error: GCC_ANALYZER_WARNING (CWE-775): [#def390]
glibc-2.41.9000-248-g7b47b3dd21/libio/freopen64.c:78:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘__dup3(*result._fileno,  fd, (int)*result._flags2 << 13 & 524288)’
glibc-2.41.9000-248-g7b47b3dd21/libio/freopen64.c:47:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/libio/freopen64.c:50:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/libio/freopen64.c:65:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/libio/freopen64.c:66:14: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/libio/freopen64.c:67:6: branch_true: following ‘true’ branch (when ‘result’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/libio/freopen64.c:69:10: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/libio/freopen64.c:69:10: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/libio/freopen64.c:78:15: acquire_resource: opened here
glibc-2.41.9000-248-g7b47b3dd21/libio/freopen64.c:78:14: danger: ‘__dup3(*result._fileno,  fd, (int)*result._flags2 << 13 & 524288)’ leaks here; was opened at [(9)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/8)
#   76|   	     opening (a dup operation may run when a file is still pending
#   77|   	     'install' on VFS).  */
#   78|-> 	  if (__dup3 (_IO_fileno (result), fd,
#   79|   		      (result->_flags2 & _IO_FLAGS2_CLOEXEC) != 0
#   80|   		      ? O_CLOEXEC : 0) == -1)

Error: GCC_ANALYZER_WARNING (CWE-775): [#def391]
glibc-2.41.9000-248-g7b47b3dd21/libio/freopen64.c:78:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘__dup3(*result._fileno,  fd, (int)*result._flags2 << 13 & 524288)’
glibc-2.41.9000-248-g7b47b3dd21/libio/freopen64.c:47:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/libio/freopen64.c:50:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/libio/freopen64.c:65:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/libio/freopen64.c:66:14: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/libio/freopen64.c:67:6: branch_true: following ‘true’ branch (when ‘result’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/libio/freopen64.c:69:10: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/libio/freopen64.c:69:10: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/libio/freopen64.c:78:15: acquire_resource: opened here
glibc-2.41.9000-248-g7b47b3dd21/libio/freopen64.c:78:15: danger: ‘__dup3(*result._fileno,  fd, (int)*result._flags2 << 13 & 524288)’ leaks here; was opened at [(9)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/8)
#   76|   	     opening (a dup operation may run when a file is still pending
#   77|   	     'install' on VFS).  */
#   78|-> 	  if (__dup3 (_IO_fileno (result), fd,
#   79|   		      (result->_flags2 & _IO_FLAGS2_CLOEXEC) != 0
#   80|   		      ? O_CLOEXEC : 0) == -1)

Error: COMPILER_WARNING (CWE-9001): [#def392]
glibc-2.41.9000-248-g7b47b3dd21/libio/iofgets_u.c:67:1: warning[-Wattributes]: ‘[artificial](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-artificial-function-attribute)’ attribute ignored
#   65|   libc_hidden_def (__fgets_unlocked)
#   66|   weak_alias (__fgets_unlocked, fgets_unlocked)
#   67|-> libc_hidden_weak (fgets_unlocked)

Error: CPPCHECK_WARNING (CWE-457): [#def393]
glibc-2.41.9000-248-g7b47b3dd21/libio/obprintf.c:99: error[uninitvar]: Uninitialized variable: buf.ch
#   97|     if (buf.base.write_ptr == &buf.ch + 1)
#   98|       /* buf.ch is in use.  Put it into the obstack.  */
#   99|->     obstack_1grow (buf.obstack, buf.ch);
#  100|     else if (buf.base.write_ptr != &buf.ch)
#  101|       /* Shrink the buffer to the space we really currently need.  */

Error: UNICONTROL_WARNING (CWE-94): [#def394]
glibc-2.41.9000-248-g7b47b3dd21/libio/tst-widetext.input:293: warning: bidirectional control characters: ['\u202a', '\u202b', '\u202c', '\u202d', '\u202e']
#  291|   General Punctuation (U+2000-U+206F):
#  292|   
#  293|->            ​‌‍‎‏‐‑‒–—―‖‗‘’‚‛“”„‟†‡•‣․‥…‧

‪‫‬‭‮ ‰‱′″‴‵‶‷‸‹›※‼‽‾‿
#  294|   ⁀⁁⁂⁃⁄⁅⁆⁇⁈⁉⁊⁋⁌⁍⁎⁏⁐⁑⁒⁓⁔⁕⁖⁗⁘⁙⁚⁛⁜⁝⁞ ⁠⁡⁢⁣⁤⁥⁦⁧⁨⁩
#  295|   

Error: UNICONTROL_WARNING (CWE-94): [#def395]
glibc-2.41.9000-248-g7b47b3dd21/libio/tst-widetext.input:294: warning: bidirectional control characters: ['\u2066', '\u2067', '\u2068', '\u2069']
#  292|   
#  293|              ​‌‍‎‏‐‑‒–—―‖‗‘’‚‛“”„‟†‡•‣․‥…‧

‪‫‬‭‮ ‰‱′″‴‵‶‷‸‹›※‼‽‾‿
#  294|-> ⁀⁁⁂⁃⁄⁅⁆⁇⁈⁉⁊⁋⁌⁍⁎⁏⁐⁑⁒⁓⁔⁕⁖⁗⁘⁙⁚⁛⁜⁝⁞ ⁠⁡⁢⁣⁤⁥⁦⁧⁨⁩
#  295|   
#  296|   Superscripts and Subscripts (U+2070-U+209F):

Error: GCC_ANALYZER_WARNING (CWE-401): [#def396]
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:322:7: warning[-Wanalyzer-malloc-leak]: leak of ‘__strndup(cp, (long unsigned int)(endp - cp))’
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:101:1: enter_function: entry to ‘_nl_find_locale’
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:131:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:132:28: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:131:7: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:139:13: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:139:11: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:145:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:198:6: branch_false: following ‘false’ branch (when ‘mask != -1’)...
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:204:17: call_function: inlined call to ‘_nl_category_names_get’ from ‘_nl_find_locale’
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:210:6: branch_true: following ‘true’ branch (when ‘locale_file’ is NULL)...
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:214:21: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:219:10: branch_false: following ‘false’ branch (when ‘locale_file’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:225:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:225:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:228:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:228:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:231:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:231:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:263:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:263:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:314:39: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:314:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:318:14: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:320:14: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:323:26: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:323:11: acquire_memory: allocated here
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:322:7: danger: ‘__strndup(cp, (long unsigned int)(endp - cp))’ leaks here; was allocated at [(27)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/26)
#  320|         while (cp[-1] != '/')
#  321|   	--cp;
#  322|->       ((struct __locale_data *) locale_file->data)->name
#  323|   	= __strndup (cp, endp - cp);
#  324|       }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def397]
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:322:7: warning[-Wanalyzer-malloc-leak]: leak of ‘__strndup(cp, (unsigned int)(endp - cp))’
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:101:1: enter_function: entry to ‘_nl_find_locale’
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:131:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:132:28: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:131:7: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:139:13: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:139:11: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:145:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:198:6: branch_false: following ‘false’ branch (when ‘mask != -1’)...
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:204:17: call_function: inlined call to ‘_nl_category_names_get’ from ‘_nl_find_locale’
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:210:6: branch_true: following ‘true’ branch (when ‘locale_file’ is NULL)...
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:214:21: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:219:10: branch_false: following ‘false’ branch (when ‘locale_file’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:225:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:225:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:228:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:228:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:231:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:231:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:263:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:263:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:314:39: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:314:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:318:14: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:320:14: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:323:26: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:323:11: acquire_memory: allocated here
glibc-2.41.9000-248-g7b47b3dd21/locale/findlocale.c:322:7: danger: ‘__strndup(cp, (unsigned int)(endp - cp))’ leaks here; was allocated at [(27)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/26)
#  320|         while (cp[-1] != '/')
#  321|   	--cp;
#  322|->       ((struct __locale_data *) locale_file->data)->name
#  323|   	= __strndup (cp, endp - cp);
#  324|       }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def398]
glibc-2.41.9000-248-g7b47b3dd21/locale/loadlocale.c:134:28: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*(const struct <anonymous> *)data.magic’
glibc-2.41.9000-248-g7b47b3dd21/locale/loadlocale.c:231:1: enter_function: entry to ‘_nl_load_locale’
glibc-2.41.9000-248-g7b47b3dd21/locale/loadlocale.c:243:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/loadlocale.c:247:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/loadlocale.c:247:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/loadlocale.c:253:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/loadlocale.c:290:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/loadlocale.c:293:11: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/loadlocale.c:293:10: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/loadlocale.c:298:30: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/loadlocale.c:299:14: branch_true: following ‘true’ branch (when ‘filedata’ is non-NULL)...
 branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/loadlocale.c:304:22: branch_false: following ‘false’ branch (when ‘to_read <= 0’)...
glibc-2.41.9000-248-g7b47b3dd21/locale/loadlocale.c:317:15: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/loadlocale.c:327:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/loadlocale.c:331:57: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/loadlocale.c:331:13: call_function: calling ‘_nl_intern_locale_data’ from ‘_nl_load_locale’
#  132|   
#  133|     if (__builtin_expect (datasize < sizeof *filedata, 0)
#  134|->       || __builtin_expect (filedata->magic != LIMAGIC (category), 0))
#  135|       {
#  136|         /* Bad data file.  */

Error: GCC_ANALYZER_WARNING (CWE-476): [#def399]
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/charmap-dir.c:269:11: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘aliases’
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/charmap-dir.c:253:6: branch_false: following ‘false’ branch (when ‘stream’ is non-NULL)...
 branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/charmap-dir.c:259:10: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/charmap-dir.c:261:13: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/charmap-dir.c:267:31: acquire_memory: this call could return NULL
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/charmap-dir.c:269:11: danger: ‘aliases + naliases * 8’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
#  267|             aliases = (char **) xrealloc (aliases,
#  268|                                           (naliases + 2) * sizeof (char *));
#  269|->           aliases[naliases++] = alias;
#  270|           }
#  271|   

Error: CPPCHECK_WARNING (CWE-682): [#def400]
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/charmap.c:387: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
#  385|   
#  386|   	      if (nowtok == tok_code_set_name)
#  387|-> 		result->code_set_name = obstack_copy0 (&result->mem_pool,
#  388|   						       arg->val.str.startmb,
#  389|   						       arg->val.str.lenmb);

Error: CPPCHECK_WARNING (CWE-682): [#def401]
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/charmap.c:391: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
#  389|   						       arg->val.str.lenmb);
#  390|   	      else
#  391|-> 		result->repertoiremap = obstack_copy0 (&result->mem_pool,
#  392|   						       arg->val.str.startmb,
#  393|   						       arg->val.str.lenmb);

Error: CPPCHECK_WARNING (CWE-682): [#def402]
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/charmap.c:515: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
#  513|   
#  514|   	  if (nowtok == tok_bsymbol)
#  515|-> 	    from_name = (char *) obstack_copy0 (&result->mem_pool,
#  516|   						now->val.str.startmb,
#  517|   						now->val.str.lenmb);

Error: CPPCHECK_WARNING (CWE-682): [#def403]
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/charmap.c:523: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
#  521|   			      cmfile->token.val.ucs4);
#  522|   	      obstack_1grow (&result->mem_pool, '\0');
#  523|-> 	      from_name = (char *) obstack_finish (&result->mem_pool);
#  524|   	    }
#  525|   	  to_name = NULL;

Error: CPPCHECK_WARNING (CWE-682): [#def404]
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/charmap.c:598: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
#  596|   	  /* Copy the to-name in a safe place.  */
#  597|   	  if (nowtok == tok_bsymbol)
#  598|-> 	    to_name = (char *) obstack_copy0 (&result->mem_pool,
#  599|   					      cmfile->token.val.str.startmb,
#  600|   					      cmfile->token.val.str.lenmb);

Error: CPPCHECK_WARNING (CWE-682): [#def405]
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/charmap.c:606: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
#  604|   			      cmfile->token.val.ucs4);
#  605|   	      obstack_1grow (&result->mem_pool, '\0');
#  606|-> 	      to_name = (char *) obstack_finish (&result->mem_pool);
#  607|   	    }
#  608|   

Error: CPPCHECK_WARNING (CWE-682): [#def406]
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/charmap.c:693: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
#  691|   
#  692|   	  if (nowtok == tok_bsymbol)
#  693|-> 	    from_name = (char *) obstack_copy0 (&result->mem_pool,
#  694|   						now->val.str.startmb,
#  695|   						now->val.str.lenmb);

Error: CPPCHECK_WARNING (CWE-682): [#def407]
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/charmap.c:701: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
#  699|   			      cmfile->token.val.ucs4);
#  700|   	      obstack_1grow (&result->mem_pool, '\0');
#  701|-> 	      from_name = (char *) obstack_finish (&result->mem_pool);
#  702|   	    }
#  703|   

Error: CPPCHECK_WARNING (CWE-682): [#def408]
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/charmap.c:748: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
#  746|   
#  747|   	  if (nowtok == tok_bsymbol)
#  748|-> 	    to_name = (char *) obstack_copy0 (&result->mem_pool,
#  749|   					      now->val.str.startmb,
#  750|   					      now->val.str.lenmb);

Error: CPPCHECK_WARNING (CWE-682): [#def409]
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/charmap.c:756: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
#  754|   			      cmfile->token.val.ucs4);
#  755|   	      obstack_1grow (&result->mem_pool, '\0');
#  756|-> 	      to_name = (char *) obstack_finish (&result->mem_pool);
#  757|   	    }
#  758|   

Error: CPPCHECK_WARNING (CWE-682): [#def410]
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/charmap.c:791: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
#  789|   
#  790|   	  if (nowtok == tok_bsymbol)
#  791|-> 	    from_name = (char *) obstack_copy0 (&result->mem_pool,
#  792|   						now->val.str.startmb,
#  793|   						now->val.str.lenmb);

Error: CPPCHECK_WARNING (CWE-682): [#def411]
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/charmap.c:799: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
#  797|   			      cmfile->token.val.ucs4);
#  798|   	      obstack_1grow (&result->mem_pool, '\0');
#  799|-> 	      from_name = (char *) obstack_finish (&result->mem_pool);
#  800|   	    }
#  801|   	  to_name = NULL;

Error: CPPCHECK_WARNING (CWE-682): [#def412]
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/charmap.c:828: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
#  826|   
#  827|   	  if (nowtok == tok_bsymbol)
#  828|-> 	    to_name = (char *) obstack_copy0 (&result->mem_pool,
#  829|   					      now->val.str.startmb,
#  830|   					      now->val.str.lenmb);

Error: CPPCHECK_WARNING (CWE-682): [#def413]
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/charmap.c:836: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
#  834|   			      cmfile->token.val.ucs4);
#  835|   	      obstack_1grow (&result->mem_pool, '\0');
#  836|-> 	      to_name = (char *) obstack_finish (&result->mem_pool);
#  837|   	    }
#  838|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def414]
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/charmap.c:871:14: warning[-Wanalyzer-null-argument]: use of NULL ‘from’ where non-null expected
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/charmap.c:88:1: enter_function: entry to ‘charmap_read’
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/charmap.c:93:6: branch_true: following ‘true’ branch (when ‘filename’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/charmap.c:98:16: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/charmap.c:133:18: call_function: calling ‘parse_charmap’ from ‘charmap_read’
#argument 1 of ‘__builtin_strlen’ must be non-null
#  869|     struct charseq *to_val;
#  870|   
#  871|->   from_val = charmap_find_value (result, from, strlen (from));
#  872|     if (from_val == NULL)
#  873|       {

Error: CPPCHECK_WARNING (CWE-682): [#def415]
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/charmap.c:904: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
#  902|         size_t new_size = result->nwidth_rules + 32;
#  903|         struct width_rule *new_rules =
#  904|-> 	(struct width_rule *) obstack_alloc (&result->mem_pool,
#  905|   					     (new_size
#  906|   					      * sizeof (struct width_rule)));

Error: GCC_ANALYZER_WARNING (CWE-688): [#def416]
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/charmap.c:948:10: warning[-Wanalyzer-null-argument]: use of NULL ‘from’ where non-null expected
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/charmap.c:88:1: enter_function: entry to ‘charmap_read’
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/charmap.c:93:6: branch_true: following ‘true’ branch (when ‘filename’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/charmap.c:98:16: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/charmap.c:133:18: call_function: calling ‘parse_charmap’ from ‘charmap_read’
#argument 1 of ‘__builtin_strlen’ must be non-null
#  946|     struct charseq *newp;
#  947|   
#  948|->   len1 = strlen (from);
#  949|   
#  950|     if (to == NULL)

Error: CPPCHECK_WARNING (CWE-682): [#def417]
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/charmap.c:952: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
#  950|     if (to == NULL)
#  951|       {
#  952|->       newp = (struct charseq *) obstack_alloc (ob, sizeof (*newp) + nbytes);
#  953|         newp->nbytes = nbytes;
#  954|         memcpy (newp->bytes, bytes, nbytes);

Error: CPPCHECK_WARNING (CWE-682): [#def418]
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/charmap.c:1044: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
# 1042|   		      prefix_len, from, len1 - prefix_len, cnt);
# 1043|         obstack_1grow (ob, '\0');
# 1044|->       name_end = obstack_finish (ob);
# 1045|   
# 1046|         newp = (struct charseq *) obstack_alloc (ob, sizeof (*newp) + nbytes);

Error: CPPCHECK_WARNING (CWE-682): [#def419]
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/charmap.c:1046: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
# 1044|         name_end = obstack_finish (ob);
# 1045|   
# 1046|->       newp = (struct charseq *) obstack_alloc (ob, sizeof (*newp) + nbytes);
# 1047|         newp->nbytes = nbytes;
# 1048|         memcpy (newp->bytes, bytes, nbytes);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def420]
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:478:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘rules’
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:2554:1: enter_function: entry to ‘collate_read’
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:2577:6: branch_false: following ‘false’ branch (when ‘repertoire_name’ is NULL)...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:2581:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:2678:10: branch_false: following ‘false’ branch (when ‘nowtok != 1’)...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:2682:10: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:2682:10: branch_false: following ‘false’ branch (when ‘nowtok != 2’)...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:2689:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:3114:14: branch_false: following ‘false’ branch (when ‘ignore_content == 0’)...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:3120:14: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:3120:14: branch_false: following ‘false’ branch (when ‘state <= 2’)...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:3127:17: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:3239:11: call_function: calling ‘read_directions’ from ‘collate_read’
#  476|         if (arg->tok == tok_forward)
#  477|   	{
#  478|-> 	  if (rules[cnt] & sort_backward)
#  479|   	    {
#  480|   	      if (! warned)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def421]
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:504:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘rules’
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:2554:1: enter_function: entry to ‘collate_read’
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:2577:6: branch_false: following ‘false’ branch (when ‘repertoire_name’ is NULL)...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:2581:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:2678:10: branch_false: following ‘false’ branch (when ‘nowtok != 1’)...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:2682:10: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:2682:10: branch_false: following ‘false’ branch (when ‘nowtok != 2’)...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:2689:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:3114:14: branch_false: following ‘false’ branch (when ‘ignore_content == 0’)...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:3120:14: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:3120:14: branch_false: following ‘false’ branch (when ‘state <= 2’)...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:3127:17: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:3239:11: call_function: calling ‘read_directions’ from ‘collate_read’
#  502|         else if (arg->tok == tok_backward)
#  503|   	{
#  504|-> 	  if (rules[cnt] & sort_forward)
#  505|   	    {
#  506|   	      if (! warned)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def422]
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:530:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘rules’
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:2554:1: enter_function: entry to ‘collate_read’
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:2577:6: branch_false: following ‘false’ branch (when ‘repertoire_name’ is NULL)...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:2581:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:2678:10: branch_false: following ‘false’ branch (when ‘nowtok != 1’)...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:2682:10: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:2682:10: branch_false: following ‘false’ branch (when ‘nowtok != 2’)...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:2689:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:3114:14: branch_false: following ‘false’ branch (when ‘ignore_content == 0’)...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:3120:14: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:3120:14: branch_false: following ‘false’ branch (when ‘state <= 2’)...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:3127:17: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:3239:11: call_function: calling ‘read_directions’ from ‘collate_read’
#  528|         else if (arg->tok == tok_position)
#  529|   	{
#  530|-> 	  if (rules[cnt] & sort_position)
#  531|   	    {
#  532|   	      if (! warned)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def423]
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:558:40: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘rules’
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:2554:1: enter_function: entry to ‘collate_read’
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:2577:6: branch_true: following ‘true’ branch (when ‘repertoire_name’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:2578:18: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:2678:10: branch_false: following ‘false’ branch (when ‘nowtok != 1’)...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:2682:10: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:2682:10: branch_false: following ‘false’ branch (when ‘nowtok != 2’)...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:2689:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:3114:14: branch_false: following ‘false’ branch (when ‘ignore_content == 0’)...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:3120:14: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:3120:14: branch_false: following ‘false’ branch (when ‘state <= 2’)...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:3127:17: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-collate.c:3239:11: call_function: calling ‘read_directions’ from ‘collate_read’
#  556|   
#  557|   	  /* See whether we have to increment the counter.  */
#  558|-> 	  if (arg->tok != tok_comma && rules[cnt] != 0)
#  559|   	    {
#  560|   	      /* Add the default `forward' if we have seen only `position'.  */

Error: GCC_ANALYZER_WARNING (CWE-457): [#def424]
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-ctype.c:3476:22: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*reorder2[<unknown>]’
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-ctype.c:3456:15: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-ctype.c:3472:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-ctype.c:3474:15: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-ctype.c:3475:9: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-ctype.c:3475:8: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-ctype.c:3476:22: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/ld-ctype.c:3476:22: danger: use of uninitialized value ‘*reorder2[<unknown>]’ here
# 3474|     for (i = 0; i < t->level1_size; i++)
# 3475|       if (t->level1[i] != EMPTY)
# 3476|->       t->level1[i] = reorder2[t->level1[i]];
# 3477|   
# 3478|     t->result_size =

Error: GCC_ANALYZER_WARNING (CWE-401): [#def425]
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:513:11: warning[-Wanalyzer-malloc-leak]: leak of ‘xstrdup(&**_38.d_name)’
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:447:17: branch_true: following ‘true’ branch (when ‘cnt < ndirents’)...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:448:5: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:463:10: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:465:14: branch_false: following ‘false’ branch...
 branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:513:11: danger: ‘xstrdup(&**_38.d_name)’ leaks here; was allocated at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
#  511|   	  /* If the verbose format is not selected we simply
#  512|   	     collect the names.  */
#  513|-> 	  PUT (xstrdup (dirents[cnt]->d_name));
#  514|   	}
#  515|       }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def426]
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:513:11: warning[-Wanalyzer-malloc-leak]: leak of ‘xstrdup(&**_39.d_name)’
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:447:17: branch_true: following ‘true’ branch (when ‘cnt < ndirents’)...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:448:5: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:463:10: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:465:14: branch_false: following ‘false’ branch...
 branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:513:11: danger: ‘xstrdup(&**_39.d_name)’ leaks here; was allocated at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
#  511|   	  /* If the verbose format is not selected we simply
#  512|   	     collect the names.  */
#  513|-> 	  PUT (xstrdup (dirents[cnt]->d_name));
#  514|   	}
#  515|       }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def427]
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:673:13: warning[-Wanalyzer-malloc-leak]: leak of ‘xstrdup(addr + (sizetype)*<unknown>.name_offset)’
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:648:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:651:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:651:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:656:6: branch_false: following ‘false’ branch (when ‘addr != 18446744073709551615’)...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:660:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:660:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:661:10: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:660:7: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:662:10: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:660:7: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:663:10: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:660:7: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:666:48: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:667:6: branch_true: following ‘true’ branch...
 branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:669:21: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:670:24: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:670:12: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:672:13: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:673:13: danger: ‘xstrdup(addr + (sizetype)*<unknown>.name_offset)’ leaks here; was allocated at [(21)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/20)
#  671|   	  {
#  672|   	    PUT (xstrdup (addr + namehashtab[cnt].name_offset));
#  673|-> 	    ++ret;
#  674|   	  }
#  675|       }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def428]
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:673:13: warning[-Wanalyzer-malloc-leak]: leak of ‘xstrdup(addr + *<unknown>.name_offset)’
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:648:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:651:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:651:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:656:6: branch_false: following ‘false’ branch (when ‘addr != 4294967295’)...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:660:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:660:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:661:10: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:660:7: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:662:10: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:660:7: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:663:10: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:660:7: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:666:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:667:6: branch_true: following ‘true’ branch...
 branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:669:21: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:670:24: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:670:12: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:672:13: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:673:13: danger: ‘xstrdup(addr + *<unknown>.name_offset)’ leaks here; was allocated at [(21)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/20)
#  671|   	  {
#  672|   	    PUT (xstrdup (addr + namehashtab[cnt].name_offset));
#  673|-> 	    ++ret;
#  674|   	  }
#  675|       }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def429]
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:699:14: warning[-Wanalyzer-malloc-leak]: leak of ‘xstrdup(*<unknown>.name)’
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:648:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:651:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:651:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:656:6: branch_false: following ‘false’ branch (when ‘addr != 18446744073709551615’)...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:660:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:660:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:661:10: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:660:7: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:662:10: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:660:7: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:663:10: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:660:7: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:666:48: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:667:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:681:43: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:693:21: branch_true: following ‘true’ branch (when ‘cnt < used’)...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:697:11: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:699:14: danger: ‘xstrdup(*<unknown>.name)’ leaks here; was allocated at [(19)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/18)
#  697|   	  PUT (xstrdup (names[cnt].name));
#  698|   
#  699|-> 	  if (cnt)
#  700|   	    putchar_unlocked ('\n');
#  701|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def430]
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:749:17: warning[-Wanalyzer-malloc-leak]: leak of ‘xstrdup(dirent)’
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:739:6: branch_false: following ‘false’ branch (when ‘dir’ is non-NULL)...
 branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:742:10: branch_true: following ‘true’ branch (when ‘dirent’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:747:7: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:749:17: danger: ‘xstrdup(dirent)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
#  747|         PUT (xstrdup (dirent));
#  748|   
#  749|->       aliases = charmap_aliases (CHARMAP_PATH, dirent);
#  750|   
#  751|   #if 0

Error: GCC_ANALYZER_WARNING (CWE-401): [#def431]
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:759:9: warning[-Wanalyzer-malloc-leak]: leak of ‘xstrdup(*aliases)’
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:739:6: branch_false: following ‘false’ branch (when ‘dir’ is non-NULL)...
 branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:742:10: branch_true: following ‘true’ branch (when ‘dirent’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:747:7: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locale.c:759:9: danger: ‘xstrdup(*aliases)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/4)
#  757|         p = aliases;
#  758|         if (*p)
#  759|-> 	PUT (xstrdup (*p));
#  760|   #endif
#  761|   

Error: CPPCHECK_WARNING (CWE-682): [#def432]
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/localedef.c:333: error[nullPointerArithmeticOutOfMemory]: If memory allocation fail: pointer addition with NULL pointer.
#  331|           tok++;
#  332|       }
#  333|->   while ((*save++ = *tok++) != '\0');
#  334|   
#  335|     warnings = copy;

Error: CPPCHECK_WARNING (CWE-476): [#def433]
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/localedef.c:333: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: save++
#  331|           tok++;
#  332|       }
#  333|->   while ((*save++ = *tok++) != '\0');
#  334|   
#  335|     warnings = copy;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def434]
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/localedef.c:333:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘copy’
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/localedef.c:322:25: acquire_memory: this call could return NULL
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/localedef.c:333:10: danger: ‘save’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
#  331|           tok++;
#  332|       }
#  333|->   while ((*save++ = *tok++) != '\0');
#  334|   
#  335|     warnings = copy;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def435]
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locfile.c:429:11: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘elems’
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locfile.c:376:6: branch_false: following ‘false’ branch (when ‘p != base’)...
 branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locfile.c:381:6: branch_false: following ‘false’ branch (when ‘base != p’)...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locfile.c:383:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locfile.c:387:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locfile.c:392:6: branch_false: following ‘false’ branch (when ‘dirp’ is non-NULL)...
 branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locfile.c:404:10: branch_false: following ‘false’ branch (when ‘other_dentry’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locfile.c:407:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locfile.c:427:35: acquire_memory: this call could return NULL
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/locfile.c:429:11: danger: ‘elems + (long unsigned int)nelems * 8’ could be NULL: unchecked value from [(11)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/10)
#  427|   	  elems = (const char **) xrealloc ((char *) elems,
#  428|   					    (nelems + 2) * sizeof (char **));
#  429|-> 	  elems[nelems++] = other_path;
#  430|   	}
#  431|         else

Error: CPPCHECK_WARNING (CWE-682): [#def436]
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/repertoire.c:239: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
#  237|   	    obstack_free (&result->mem_pool, from_name);
#  238|   
#  239|-> 	  from_name = (char *) obstack_copy0 (&result->mem_pool,
#  240|   					      now->val.str.startmb,
#  241|   					      now->val.str.lenmb);

Error: CPPCHECK_WARNING (CWE-682): [#def437]
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/repertoire.c:302: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
#  300|   
#  301|   	  /* Copy the to-name in a safe place.  */
#  302|-> 	  to_name = (char *) obstack_copy0 (&result->mem_pool,
#  303|   					    repfile->token.val.str.startmb,
#  304|   					    repfile->token.val.str.lenmb);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def438]
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/repertoire.c:397:7: warning[-Wanalyzer-null-argument]: use of NULL ‘from’ where non-null expected
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/repertoire.c:55:1: enter_function: entry to ‘repertoire_read’
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/repertoire.c:68:6: branch_false: following ‘false’ branch (when ‘resultp’ is NULL)...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/repertoire.c:72:13: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/repertoire.c:135:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/repertoire.c:136:10: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/repertoire.c:135:7: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/repertoire.c:137:10: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/repertoire.c:135:7: branch_false: following ‘false’ branch...
 branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/repertoire.c:153:10: branch_false: following ‘false’ branch (when ‘nowtok != 1’)...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/repertoire.c:156:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/repertoire.c:153:10: branch_false: following ‘false’ branch (when ‘nowtok != 1’)...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/repertoire.c:156:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/repertoire.c:265:14: branch_false: following ‘false’ branch (when ‘nowtok == 15’)...
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/repertoire.c:276:11: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/repertoire.c:276:11: call_function: calling ‘repertoire_new_char’ from ‘repertoire_read’
#argument 1 of ‘__builtin_strlen’ must be non-null
#  395|     if (to == NULL)
#  396|       {
#  397|->       insert_entry (ht, from, strlen (from),
#  398|   		    (void *) (unsigned long int) value);
#  399|         /* Please note that it isn't a bug if a symbol is defined more

Error: CPPCHECK_WARNING (CWE-682): [#def439]
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/repertoire.c:402: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
#  400|   	 than once.  All later definitions are simply discarded.  */
#  401|   
#  402|->       insert_entry (rt, obstack_copy (ob, &value, sizeof (value)),
#  403|   		    sizeof (value), (void *) from);
#  404|   

Error: CPPCHECK_WARNING (CWE-682): [#def440]
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/repertoire.c:471: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
#  469|   	 if we have two definitions for a symbol.  */
#  470|   
#  471|->       insert_entry (rt, obstack_copy (ob, &this_value, sizeof (this_value)),
#  472|   		    sizeof (this_value), (void *) from);
#  473|       }

Error: CPPCHECK_WARNING (CWE-682): [#def441]
glibc-2.41.9000-248-g7b47b3dd21/locale/programs/simple-hash.c:109: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
#  107|       {
#  108|         /* An empty bucket has been found.  */
#  109|->       insert_entry_2 (htab, obstack_copy (&htab->mem_pool, key, keylen),
#  110|   		      keylen, hval, idx, data);
#  111|         return 0;

Error: UNICONTROL_WARNING (CWE-94): [#def442]
glibc-2.41.9000-248-g7b47b3dd21/localedata/locales/az_IR:208: warning: bidirectional control characters: ['\u202b', '\u202c']
#  206|   % Appropriate date and time representation (%c)
#  207|   %       "<RLE>%A %Oe %B %Oy<ARABIC COMMA> %OH:%OM:%OS<PDF>"
#  208|-> d_t_fmt "‫%A %Oe %B %Oy، %OH:%OM:%OS‬"
#  209|   am_pm     "";""
#  210|   t_fmt_ampm ""

Error: UNICONTROL_WARNING (CWE-94): [#def443]
glibc-2.41.9000-248-g7b47b3dd21/localedata/locales/az_IR:215: warning: bidirectional control characters: ['\u202b']
#  213|   % Appropriate date representation (date(1))
#  214|   % "<RLE>%A %Oe %B %Oy<ARABIC COMMA> <SEEN><ALEF><AIN><ALEF><TEH> %OH:%OM:%OS (%Z)<PDF>"
#  215|-> date_fmt "‫%A %Oe %B %Oy، ساعات /
#  216|   %OH:%OM:%OS (%Z)‬"
#  217|   first_weekday 7

Error: UNICONTROL_WARNING (CWE-94): [#def444]
glibc-2.41.9000-248-g7b47b3dd21/localedata/locales/az_IR:216: warning: bidirectional control characters: ['\u202c']
#  214|   % "<RLE>%A %Oe %B %Oy<ARABIC COMMA> <SEEN><ALEF><AIN><ALEF><TEH> %OH:%OM:%OS (%Z)<PDF>"
#  215|   date_fmt "‫%A %Oe %B %Oy، ساعات /
#  216|-> %OH:%OM:%OS (%Z)‬"
#  217|   first_weekday 7
#  218|   first_workday 7

Error: UNICONTROL_WARNING (CWE-94): [#def445]
glibc-2.41.9000-248-g7b47b3dd21/localedata/locales/fa_IR:340: warning: bidirectional control characters: ['\u202b', '\u202c']
#  338|   % Appropriate date and time representation (%c)
#  339|   %       "<RLE>%A %Oe %B %Oy<ARABIC COMMA> %OH:%OM:%OS<PDF>"
#  340|-> d_t_fmt "‫%A %Oe %B %Oy، %OH:%OM:%OS‬"
#  341|   %
#  342|   % Appropriate date representation (date(1))

Error: UNICONTROL_WARNING (CWE-94): [#def446]
glibc-2.41.9000-248-g7b47b3dd21/localedata/locales/fa_IR:344: warning: bidirectional control characters: ['\u202b']
#  342|   % Appropriate date representation (date(1))
#  343|   %       "<RLE>%A %Oe %B %Oy<ARABIC COMMA> <SEEN><ALEF><AIN><TEH> %OH:%OM:%OS (%Z)<PDF>"
#  344|-> date_fmt "‫%A %Oe %B %Oy، ساعت /
#  345|   %OH:%OM:%OS (%Z)‬"
#  346|   week 7;19971130;1

Error: UNICONTROL_WARNING (CWE-94): [#def447]
glibc-2.41.9000-248-g7b47b3dd21/localedata/locales/fa_IR:345: warning: bidirectional control characters: ['\u202c']
#  343|   %       "<RLE>%A %Oe %B %Oy<ARABIC COMMA> <SEEN><ALEF><AIN><TEH> %OH:%OM:%OS (%Z)<PDF>"
#  344|   date_fmt "‫%A %Oe %B %Oy، ساعت /
#  345|-> %OH:%OM:%OS (%Z)‬"
#  346|   week 7;19971130;1
#  347|   first_weekday 7

Error: UNICONTROL_WARNING (CWE-94): [#def448]
glibc-2.41.9000-248-g7b47b3dd21/localedata/locales/fa_IR:387: warning: bidirectional control characters: ['\u202a', '\u202c']
#  385|   
#  386|   LC_TELEPHONE
#  387|-> tel_int_fmt    "‪+%c %a %l‬"
#  388|   tel_dom_fmt    "‪%A‒%l‬"
#  389|   int_select     "00"

Error: UNICONTROL_WARNING (CWE-94): [#def449]
glibc-2.41.9000-248-g7b47b3dd21/localedata/locales/fa_IR:388: warning: bidirectional control characters: ['\u202a', '\u202c']
#  386|   LC_TELEPHONE
#  387|   tel_int_fmt    "‪+%c %a %l‬"
#  388|-> tel_dom_fmt    "‪%A‒%l‬"
#  389|   int_select     "00"
#  390|   int_prefix     "98"

Error: UNICONTROL_WARNING (CWE-94): [#def450]
glibc-2.41.9000-248-g7b47b3dd21/localedata/locales/ps_AF:255: warning: bidirectional control characters: ['\u202b', '\u202c']
#  253|   t_fmt	"%H:%M:%S"
#  254|   am_pm	"غ.م.";"غ.و."
#  255|-> t_fmt_ampm	"‫%I:%M:%S %p‬"
#  256|   week 7;19971130;1
#  257|   first_weekday	7

Error: GCC_ANALYZER_WARNING (CWE-775): [#def451]
glibc-2.41.9000-248-g7b47b3dd21/login/../login/utmp_file.c:361:10: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘__dup2(new_fd,  file_fd)’
glibc-2.41.9000-248-g7b47b3dd21/login/../login/utmp_file.c:346:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/login/../login/utmp_file.c:351:7: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/login/../login/utmp_file.c:351:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/login/../login/utmp_file.c:354:31: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/login/../login/utmp_file.c:358:10: branch_false: following ‘false’ branch (when ‘new_fd != -1’)...
glibc-2.41.9000-248-g7b47b3dd21/login/../login/utmp_file.c:361:11: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/login/../login/utmp_file.c:361:11: acquire_resource: opened here
glibc-2.41.9000-248-g7b47b3dd21/login/../login/utmp_file.c:361:10: danger: ‘__dup2(new_fd,  file_fd)’ leaks here; was opened at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
#  359|   	return NULL;
#  360|   
#  361|->       if (__dup2 (new_fd, file_fd) < 0)
#  362|   	{
#  363|   	  __close_nocancel_nostatus (new_fd);

Error: COMPILER_WARNING (CWE-9001): [#def452]
glibc-2.41.9000-248-g7b47b3dd21/login/../sysdeps/unix/sysv/linux/getlogin_r.c:118:1: warning[-Wattributes]: ‘[artificial](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-artificial-function-attribute)’ attribute ignored
#  116|   libc_hidden_def (__getlogin_r)
#  117|   weak_alias (__getlogin_r, getlogin_r)
#  118|-> libc_hidden_weak (getlogin_r)

Error: GCC_ANALYZER_WARNING (CWE-775): [#def453]
glibc-2.41.9000-248-g7b47b3dd21/login/login_tty.c:67:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘__dup2(fd, 0)’
glibc-2.41.9000-248-g7b47b3dd21/login/login_tty.c:67:16: acquire_resource: opened here
glibc-2.41.9000-248-g7b47b3dd21/login/login_tty.c:67:16: danger: ‘__dup2(fd, 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
#   65|   	}
#   66|   #endif
#   67|-> 	while (__dup2(fd, 0) == -1 && errno == EBUSY)
#   68|   	  ;
#   69|   	while (__dup2(fd, 1) == -1 && errno == EBUSY)

Error: GCC_ANALYZER_WARNING (CWE-775): [#def454]
glibc-2.41.9000-248-g7b47b3dd21/login/login_tty.c:69:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘__dup2(fd, 1)’
glibc-2.41.9000-248-g7b47b3dd21/login/login_tty.c:69:16: acquire_resource: opened here
glibc-2.41.9000-248-g7b47b3dd21/login/login_tty.c:69:16: danger: ‘__dup2(fd, 1)’ leaks here; was opened at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
#   67|   	while (__dup2(fd, 0) == -1 && errno == EBUSY)
#   68|   	  ;
#   69|-> 	while (__dup2(fd, 1) == -1 && errno == EBUSY)
#   70|   	  ;
#   71|   	while (__dup2(fd, 2) == -1 && errno == EBUSY)

Error: GCC_ANALYZER_WARNING (CWE-775): [#def455]
glibc-2.41.9000-248-g7b47b3dd21/login/login_tty.c:71:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘__dup2(fd, 2)’
glibc-2.41.9000-248-g7b47b3dd21/login/login_tty.c:71:16: acquire_resource: opened here
glibc-2.41.9000-248-g7b47b3dd21/login/login_tty.c:71:16: danger: ‘__dup2(fd, 2)’ leaks here; was opened at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
#   69|   	while (__dup2(fd, 1) == -1 && errno == EBUSY)
#   70|   	  ;
#   71|-> 	while (__dup2(fd, 2) == -1 && errno == EBUSY)
#   72|   	  ;
#   73|   	if (fd > 2)

Error: CPPCHECK_WARNING (CWE-758): [#def456]
glibc-2.41.9000-248-g7b47b3dd21/malloc/dynarray_emplace_enlarge.c:55: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#   53|   
#   54|     size_t new_size;
#   55|->   if (INT_MULTIPLY_WRAPV (new_allocated, element_size, &new_size))
#   56|       return false;
#   57|     void *new_array;

Error: CPPCHECK_WARNING (CWE-758): [#def457]
glibc-2.41.9000-248-g7b47b3dd21/malloc/dynarray_resize.c:41: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#   39|   
#   40|     size_t new_size_bytes;
#   41|->   if (INT_MULTIPLY_WRAPV (size, element_size, &new_size_bytes))
#   42|       {
#   43|         /* Overflow.  */

Error: GCC_ANALYZER_WARNING (CWE-457): [#def458]
glibc-2.41.9000-248-g7b47b3dd21/malloc/memusagestat.c:193:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘headent[1].heap’
glibc-2.41.9000-248-g7b47b3dd21/malloc/memusagestat.c:119:1: enter_function: entry to ‘main’
glibc-2.41.9000-248-g7b47b3dd21/malloc/memusagestat.c:152:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/malloc/memusagestat.c:173:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/malloc/memusagestat.c:175:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/malloc/memusagestat.c:175:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/malloc/memusagestat.c:181:8: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/malloc/memusagestat.c:181:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/malloc/memusagestat.c:181:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/malloc/memusagestat.c:181:7: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/malloc/memusagestat.c:189:11: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/malloc/memusagestat.c:192:3: call_function: calling ‘read_all’ from ‘main’
glibc-2.41.9000-248-g7b47b3dd21/malloc/memusagestat.c:192:3: return_function: returning to ‘main’ from ‘read_all’
glibc-2.41.9000-248-g7b47b3dd21/malloc/memusagestat.c:193:3: danger: use of uninitialized value ‘headent[1].heap’ here
#  191|     /* Read the administrative information.  */
#  192|     read_all (fd, headent, sizeof (headent));
#  193|->   maxsize_heap = headent[1].heap;
#  194|     maxsize_stack = headent[1].stack;
#  195|     maxsize_total = headent[0].stack;

Error: COMPILER_WARNING: [#def459] [important]
glibc-2.41.9000-248-g7b47b3dd21/math/../sysdeps/i386/i686/multiarch/s_fma-fma.c:24:3: error[error]: impossible constraint in ‘asm’
#   22|   __fma_fma (double x, double y, double z)
#   23|   {
#   24|->   asm ("vfmadd213sd %3, %2, %0" : "=x" (x) : "0" (x), "x" (y), "xm" (z));
#   25|     return x;
#   26|   }

Error: COMPILER_WARNING: [#def460] [important]
glibc-2.41.9000-248-g7b47b3dd21/math/../sysdeps/i386/i686/multiarch/s_fmaf-fma.c:24:3: error[error]: impossible constraint in ‘asm’
#   22|   __fmaf_fma (float x, float y, float z)
#   23|   {
#   24|->   asm ("vfmadd213ss %3, %2, %0" : "=x" (x) : "0" (x), "x" (y), "xm" (z));
#   25|     return x;
#   26|   }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def461]
glibc-2.41.9000-248-g7b47b3dd21/math/../sysdeps/ieee754/dbl-64/k_rem_pio2.c:205:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘iq[<unknown>]’
glibc-2.41.9000-248-g7b47b3dd21/math/../sysdeps/ieee754/dbl-64/k_rem_pio2.c:190:34: branch_false: following ‘false’ branch (when ‘j <= 0’)...
glibc-2.41.9000-248-g7b47b3dd21/math/../sysdeps/ieee754/dbl-64/k_rem_pio2.c:198:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/../sysdeps/ieee754/dbl-64/k_rem_pio2.c:203:6: branch_true: following ‘true’ branch (when ‘q0 > 0’)...
glibc-2.41.9000-248-g7b47b3dd21/math/../sysdeps/ieee754/dbl-64/k_rem_pio2.c:205:15: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/../sysdeps/ieee754/dbl-64/k_rem_pio2.c:205:12: danger: use of uninitialized value ‘iq[<unknown>]’ here
#  203|     if (q0 > 0)           /* need iq[jz-1] to determine n */
#  204|       {
#  205|->       i = (iq[jz - 1] >> (24 - q0)); n += i;
#  206|         iq[jz - 1] -= i << (24 - q0);
#  207|         ih = iq[jz - 1] >> (23 - q0);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def462]
glibc-2.41.9000-248-g7b47b3dd21/math/../sysdeps/ieee754/ldbl-96/k_tanl.c:144:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘sign’
glibc-2.41.9000-248-g7b47b3dd21/math/../sysdeps/ieee754/ldbl-96/k_tanl.c:110:6: branch_false: following ‘false’ branch (when ‘absx < 6.743316650390625e-1l’)...
glibc-2.41.9000-248-g7b47b3dd21/math/../sysdeps/ieee754/ldbl-96/k_tanl.c:125:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/../sysdeps/ieee754/ldbl-96/k_tanl.c:134:6: branch_true: following ‘true’ branch (when ‘absx >= 6.743316650390625e-1l’)...
glibc-2.41.9000-248-g7b47b3dd21/math/../sysdeps/ieee754/ldbl-96/k_tanl.c:136:7: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/../sysdeps/ieee754/ldbl-96/k_tanl.c:144:10: danger: use of uninitialized value ‘sign’ here
#  142|         DIAG_PUSH_NEEDS_COMMENT;
#  143|         DIAG_IGNORE_NEEDS_COMMENT (4.8, "-Wmaybe-uninitialized");
#  144|->       if (sign < 0)
#  145|   	w = -w;
#  146|         DIAG_POP_NEEDS_COMMENT;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def463]
glibc-2.41.9000-248-g7b47b3dd21/math/./k_casinh_template.c:205:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘<return-value>’
#  203|     __imag__ res = M_COPYSIGN (__imag__ res, (adj ? 1 : __imag__ x));
#  204|   
#  205|->   return res;
#  206|   }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def464]
glibc-2.41.9000-248-g7b47b3dd21/math/./s_cacos_template.c:35:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘res’
#   33|         y = M_SUF (__casin) (x);
#   34|   
#   35|->       __real__ res = M_MLIT (M_PI_2) - __real__ y;
#   36|         if (__real__ res == 0)
#   37|   	__real__ res = 0;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def465]
glibc-2.41.9000-248-g7b47b3dd21/math/./s_catan_template.c:42:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘res’
glibc-2.41.9000-248-g7b47b3dd21/math/./s_catan_template.c:32:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_catan_template.c:34:10: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_catan_template.c:34:10: branch_false: following ‘false’ branch (when ‘rcls != 1’)...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_catan_template.c:39:15: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_catan_template.c:39:15: branch_true: following ‘true’ branch (when ‘icls == 1’)...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_catan_template.c:41:14: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_catan_template.c:41:14: branch_true: following ‘true’ branch (when ‘rcls > 1’)...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_catan_template.c:42:28: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_catan_template.c:42:13: danger: use of uninitialized value ‘res’ here
#   40|   	{
#   41|   	  if (rcls >= FP_ZERO)
#   42|-> 	    __real__ res = M_COPYSIGN (M_MLIT (M_PI_2), __real__ x);
#   43|   	  else
#   44|   	    __real__ res = M_NAN;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def466]
glibc-2.41.9000-248-g7b47b3dd21/math/./s_catan_template.c:44:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘res’
glibc-2.41.9000-248-g7b47b3dd21/math/./s_catan_template.c:32:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_catan_template.c:34:10: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_catan_template.c:34:10: branch_false: following ‘false’ branch (when ‘rcls != 1’)...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_catan_template.c:39:15: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_catan_template.c:39:15: branch_true: following ‘true’ branch (when ‘icls == 1’)...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_catan_template.c:41:14: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_catan_template.c:41:14: branch_false: following ‘false’ branch (when ‘rcls <= 1’)...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_catan_template.c:44:13: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_catan_template.c:44:13: danger: use of uninitialized value ‘res’ here
#   42|   	    __real__ res = M_COPYSIGN (M_MLIT (M_PI_2), __real__ x);
#   43|   	  else
#   44|-> 	    __real__ res = M_NAN;
#   45|   	  __imag__ res = M_COPYSIGN (0, __imag__ x);
#   46|   	}

Error: GCC_ANALYZER_WARNING (CWE-457): [#def467]
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:74:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘result’
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:38:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:46:12: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:46:11: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:52:10: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:72:10: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:74:30: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:74:11: danger: use of uninitialized value ‘result’ here
#   72|         if (absx == 1 && scale == 0)
#   73|   	{
#   74|-> 	  __real__ result = (M_LOG1P (absy * absy)
#   75|   			     * (M_MLIT (M_LOG10E) / 2));
#   76|   	  math_check_force_underflow_nonneg (__real__ result);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def468]
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:83:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘result’
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:38:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:46:12: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:46:11: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:52:10: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:72:10: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:78:15: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:78:15: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:83:11: danger: use of uninitialized value ‘result’ here
#   81|   	  if (absy >= M_EPSILON)
#   82|   	    d2m1 += absy * absy;
#   83|-> 	  __real__ result = M_LOG1P (d2m1) * (M_MLIT (M_LOG10E) / 2);
#   84|   	}
#   85|         else if (absx < 1

Error: GCC_ANALYZER_WARNING (CWE-457): [#def469]
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:91:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘result’
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:38:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:46:12: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:46:11: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:52:10: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:72:10: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:78:15: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:85:15: branch_true: following ‘true’ branch (when ‘absx < 1.0e+0f’)...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:85:16: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:85:16: branch_true: following ‘true’ branch (when ‘absx >= 5.0e-1f’)...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:85:16: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:85:16: branch_true: following ‘true’ branch (when ‘absy < 5.96046448e-8f’)...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:85:16: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:85:16: branch_true: following ‘true’ branch (when ‘scale == 0’)...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:90:24: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:91:11: danger: use of uninitialized value ‘result’ here
#   89|   	{
#   90|   	  FLOAT d2m1 = (absx - 1) * (absx + 1);
#   91|-> 	  __real__ result = M_LOG1P (d2m1) * (M_MLIT (M_LOG10E) / 2);
#   92|   	}
#   93|         else if (absx < 1

Error: GCC_ANALYZER_WARNING (CWE-457): [#def470]
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:99:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘result’
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:38:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:46:12: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:46:11: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:52:10: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:72:10: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:78:15: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:93:15: branch_true: following ‘true’ branch (when ‘absx < 1.0e+0f’)...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:93:16: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:93:16: branch_true: following ‘true’ branch (when ‘absx >= 5.0e-1f’)...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:93:16: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:93:16: branch_true: following ‘true’ branch (when ‘scale == 0’)...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:96:19: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:93:16: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:98:24: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:99:11: danger: use of uninitialized value ‘result’ here
#   97|   	{
#   98|   	  FLOAT d2m1 = M_SUF (__x2y2m1) (absx, absy);
#   99|-> 	  __real__ result = M_LOG1P (d2m1) * (M_MLIT (M_LOG10E) / 2);
#  100|   	}
#  101|         else

Error: GCC_ANALYZER_WARNING (CWE-457): [#def471]
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:104:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘result’
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:38:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:46:12: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:46:11: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:52:10: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:72:10: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:78:15: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog10_template.c:104:11: danger: use of uninitialized value ‘result’ here
#  102|   	{
#  103|   	  FLOAT d = M_HYPOT (absx, absy);
#  104|-> 	  __real__ result = M_SUF (__ieee754_log10) (d) - scale * LOG10_2;
#  105|   	}
#  106|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def472]
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:68:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘result’
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:32:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:40:12: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:40:11: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:46:10: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:66:10: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:68:29: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:68:11: danger: use of uninitialized value ‘result’ here
#   66|         if (absx == 1 && scale == 0)
#   67|   	{
#   68|-> 	  __real__ result = M_LOG1P (absy * absy) / 2;
#   69|   	  math_check_force_underflow_nonneg (__real__ result);
#   70|   	}

Error: GCC_ANALYZER_WARNING (CWE-457): [#def473]
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:76:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘result’
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:32:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:40:12: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:40:11: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:46:10: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:66:10: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:71:15: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:71:15: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:76:11: danger: use of uninitialized value ‘result’ here
#   74|   	  if (absy >= M_EPSILON)
#   75|   	    d2m1 += absy * absy;
#   76|-> 	  __real__ result = M_LOG1P (d2m1) / 2;
#   77|   	}
#   78|         else if (absx < 1

Error: GCC_ANALYZER_WARNING (CWE-457): [#def474]
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:84:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘result’
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:32:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:40:12: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:40:11: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:46:10: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:66:10: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:71:15: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:78:15: branch_true: following ‘true’ branch (when ‘absx < 1.0e+0’)...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:78:16: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:78:16: branch_true: following ‘true’ branch (when ‘absx >= 5.0e-1’)...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:78:16: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:78:16: branch_true: following ‘true’ branch (when ‘absy < 1.1102230246251565e-16’)...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:78:16: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:78:16: branch_true: following ‘true’ branch (when ‘scale == 0’)...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:83:24: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:84:11: danger: use of uninitialized value ‘result’ here
#   82|   	{
#   83|   	  FLOAT d2m1 = (absx - 1) * (absx + 1);
#   84|-> 	  __real__ result = M_LOG1P (d2m1) / 2;
#   85|   	}
#   86|         else if (absx < 1

Error: GCC_ANALYZER_WARNING (CWE-457): [#def475]
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:92:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘result’
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:32:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:40:12: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:40:11: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:46:10: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:66:10: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:71:15: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:86:15: branch_true: following ‘true’ branch (when ‘absx < 1.0e+0’)...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:86:16: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:86:16: branch_true: following ‘true’ branch (when ‘absx >= 5.0e-1’)...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:86:16: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:86:16: branch_true: following ‘true’ branch (when ‘scale == 0’)...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:89:19: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:86:16: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:91:24: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:92:11: danger: use of uninitialized value ‘result’ here
#   90|   	{
#   91|   	  FLOAT d2m1 = M_SUF (__x2y2m1) (absx, absy);
#   92|-> 	  __real__ result = M_LOG1P (d2m1) / 2;
#   93|   	}
#   94|         else

Error: GCC_ANALYZER_WARNING (CWE-457): [#def476]
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:97:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘result’
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:32:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:40:12: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:40:11: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:46:10: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:66:10: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:71:15: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_clog_template.c:97:11: danger: use of uninitialized value ‘result’ here
#   95|   	{
#   96|   	  FLOAT d = M_HYPOT (absx, absy);
#   97|-> 	  __real__ result = M_LOG (d) - scale * M_MLIT (M_LN2);
#   98|   	}
#   99|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def477]
glibc-2.41.9000-248-g7b47b3dd21/math/./s_csin_template.c:152:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘retval’
glibc-2.41.9000-248-g7b47b3dd21/math/./s_csin_template.c:36:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_csin_template.c:111:11: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_csin_template.c:111:11: branch_false: following ‘false’ branch (when ‘icls != 1’)...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_csin_template.c:151:10: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_csin_template.c:151:10: branch_true: following ‘true’ branch (when ‘rcls == 2’)...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_csin_template.c:152:27: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_csin_template.c:152:9: danger: use of uninitialized value ‘retval’ here
#  150|       {
#  151|         if (rcls == FP_ZERO)
#  152|-> 	__real__ retval = M_COPYSIGN (0, negate ? -1 : 1);
#  153|         else
#  154|   	__real__ retval = M_NAN;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def478]
glibc-2.41.9000-248-g7b47b3dd21/math/./s_csin_template.c:154:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘retval’
glibc-2.41.9000-248-g7b47b3dd21/math/./s_csin_template.c:36:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_csin_template.c:111:11: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_csin_template.c:111:11: branch_false: following ‘false’ branch (when ‘icls != 1’)...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_csin_template.c:151:10: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_csin_template.c:151:10: branch_false: following ‘false’ branch (when ‘rcls != 2’)...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_csin_template.c:154:9: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_csin_template.c:154:9: danger: use of uninitialized value ‘retval’ here
#  152|   	__real__ retval = M_COPYSIGN (0, negate ? -1 : 1);
#  153|         else
#  154|-> 	__real__ retval = M_NAN;
#  155|         __imag__ retval = M_NAN;
#  156|       }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def479]
glibc-2.41.9000-248-g7b47b3dd21/math/./s_ctan_template.c:39:15: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘res’
glibc-2.41.9000-248-g7b47b3dd21/math/./s_ctan_template.c:33:11: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_ctan_template.c:35:14: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_ctan_template.c:35:14: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_ctan_template.c:35:15: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_ctan_template.c:35:15: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_ctan_template.c:38:15: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_ctan_template.c:39:15: danger: use of uninitialized value ‘res’ here
#   37|   	      FLOAT sinrx, cosrx;
#   38|   	      M_SINCOS (__real__ x, &sinrx, &cosrx);
#   39|-> 	      __real__ res = M_COPYSIGN (0, sinrx * cosrx);
#   40|   	    }
#   41|   	  else

Error: GCC_ANALYZER_WARNING (CWE-457): [#def480]
glibc-2.41.9000-248-g7b47b3dd21/math/./s_ctan_template.c:42:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘res’
glibc-2.41.9000-248-g7b47b3dd21/math/./s_ctan_template.c:33:11: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_ctan_template.c:35:14: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_ctan_template.c:42:13: danger: use of uninitialized value ‘res’ here
#   40|   	    }
#   41|   	  else
#   42|-> 	    __real__ res = M_COPYSIGN (0, __real__ x);
#   43|   	  __imag__ res = M_COPYSIGN (1, __imag__ x);
#   44|   	}

Error: GCC_ANALYZER_WARNING (CWE-457): [#def481]
glibc-2.41.9000-248-g7b47b3dd21/math/./s_ctanh_template.c:52:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘res’
glibc-2.41.9000-248-g7b47b3dd21/math/./s_ctanh_template.c:33:11: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_ctanh_template.c:45:16: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_ctanh_template.c:45:15: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_ctanh_template.c:51:14: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_ctanh_template.c:51:14: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_ctanh_template.c:52:13: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_ctanh_template.c:52:13: danger: use of uninitialized value ‘res’ here
#   50|   	{
#   51|   	  if (__real__ x == 0)
#   52|-> 	    __real__ res = __real__ x;
#   53|   	  else
#   54|   	    __real__ res = M_NAN;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def482]
glibc-2.41.9000-248-g7b47b3dd21/math/./s_ctanh_template.c:54:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘res’
glibc-2.41.9000-248-g7b47b3dd21/math/./s_ctanh_template.c:33:11: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_ctanh_template.c:45:16: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_ctanh_template.c:45:15: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_ctanh_template.c:51:14: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_ctanh_template.c:51:14: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/math/./s_ctanh_template.c:54:13: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/math/./s_ctanh_template.c:54:13: danger: use of uninitialized value ‘res’ here
#   52|   	    __real__ res = __real__ x;
#   53|   	  else
#   54|-> 	    __real__ res = M_NAN;
#   55|   	  __imag__ res = M_NAN;
#   56|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def483]
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/convert_scm_timestamps.c:106:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/convert_scm_timestamps.c:41:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/convert_scm_timestamps.c:62:15: branch_true: following ‘true’ branch...
 branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/convert_scm_timestamps.c:63:8: branch_true: following ‘true’ branch (when ‘cmsg’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/convert_scm_timestamps.c:68:11: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/convert_scm_timestamps.c:63:8: branch_false: following ‘false’ branch (when ‘cmsg’ is NULL)...
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/convert_scm_timestamps.c:91:6: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/convert_scm_timestamps.c:91:6: branch_false: following ‘false’ branch (when ‘type != 0’)...
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/convert_scm_timestamps.c:94:34: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/convert_scm_timestamps.c:94:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/convert_scm_timestamps.c:102:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/convert_scm_timestamps.c:106:3: danger: dereference of NULL ‘<unknown>’
#  104|     msg->msg_controllen += CMSG_SPACE (sizeof tvts);
#  105|     cmsg = CMSG_NXTHDR (msg, last);
#  106|->   cmsg->cmsg_level = SOL_SOCKET;
#  107|     cmsg->cmsg_type = type;
#  108|     cmsg->cmsg_len = CMSG_LEN (sizeof tvts);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def484]
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/epoll_pwait2.c:39:15: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U55a0>’
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/epoll_pwait2.c:33:1: enter_function: entry to ‘epoll_pwait2’
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/epoll_pwait2.c:37:6: branch_true: following ‘true’ branch (when ‘tmo’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/epoll_pwait2.c:39:15: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘epoll_pwait2’
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/epoll_pwait2.c:39:15: danger: use of uninitialized value ‘ts64.<U55a0>’ here
#   37|     if (tmo != NULL)
#   38|       {
#   39|->       tmo64 = valid_timespec_to_timespec64 (*tmo);
#   40|         ptmo64 = &tmo64;
#   41|       }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def485]
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/epoll_pwait2.c:39:15: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<Uc500>’
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/epoll_pwait2.c:33:1: enter_function: entry to ‘epoll_pwait2’
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/epoll_pwait2.c:37:6: branch_true: following ‘true’ branch (when ‘tmo’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/epoll_pwait2.c:39:15: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘epoll_pwait2’
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/epoll_pwait2.c:39:15: danger: use of uninitialized value ‘ts64.<Uc500>’ here
#   37|     if (tmo != NULL)
#   38|       {
#   39|->       tmo64 = valid_timespec_to_timespec64 (*tmo);
#   40|         ptmo64 = &tmo64;
#   41|       }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def486]
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/futimes.c:31:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U2960>’
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/futimes.c:25:1: enter_function: entry to ‘__futimes64’
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/futimes.c:29:6: branch_true: following ‘true’ branch (when ‘tvp64’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/futimes.c:31:17: call_function: inlined call to ‘timeval64_to_timespec64’ from ‘__futimes64’
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/futimes.c:31:17: danger: use of uninitialized value ‘ts64.<U2960>’ here
#   29|     if (tvp64 != NULL)
#   30|       {
#   31|->       ts64[0] = timeval64_to_timespec64 (tvp64[0]);
#   32|         ts64[1] = timeval64_to_timespec64 (tvp64[1]);
#   33|       }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def487]
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/futimes.c:31:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U4a00>’
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/futimes.c:25:1: enter_function: entry to ‘__futimes64’
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/futimes.c:29:6: branch_true: following ‘true’ branch (when ‘tvp64’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/futimes.c:31:17: call_function: inlined call to ‘timeval64_to_timespec64’ from ‘__futimes64’
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/futimes.c:31:17: danger: use of uninitialized value ‘ts64.<U4a00>’ here
#   29|     if (tvp64 != NULL)
#   30|       {
#   31|->       ts64[0] = timeval64_to_timespec64 (tvp64[0]);
#   32|         ts64[1] = timeval64_to_timespec64 (tvp64[1]);
#   33|       }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def488]
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/futimesat.c:30:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U2a00>’
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/futimesat.c:25:1: enter_function: entry to ‘__futimesat64’
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/futimesat.c:28:6: branch_true: following ‘true’ branch (when ‘tvp64’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/futimesat.c:30:17: call_function: inlined call to ‘timeval64_to_timespec64’ from ‘__futimesat64’
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/futimesat.c:30:17: danger: use of uninitialized value ‘ts64.<U2a00>’ here
#   28|     if (tvp64 != NULL)
#   29|       {
#   30|->       ts64[0] = timeval64_to_timespec64 (tvp64[0]);
#   31|         ts64[1] = timeval64_to_timespec64 (tvp64[1]);
#   32|       }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def489]
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/futimesat.c:30:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U8960>’
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/futimesat.c:25:1: enter_function: entry to ‘__futimesat64’
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/futimesat.c:28:6: branch_true: following ‘true’ branch (when ‘tvp64’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/futimesat.c:30:17: call_function: inlined call to ‘timeval64_to_timespec64’ from ‘__futimesat64’
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/futimesat.c:30:17: danger: use of uninitialized value ‘ts64.<U8960>’ here
#   28|     if (tvp64 != NULL)
#   29|       {
#   30|->       ts64[0] = timeval64_to_timespec64 (tvp64[0]);
#   31|         ts64[1] = timeval64_to_timespec64 (tvp64[1]);
#   32|       }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def490]
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/lutimes.c:30:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U 460>’
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/lutimes.c:25:1: enter_function: entry to ‘__lutimes64’
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/lutimes.c:28:6: branch_true: following ‘true’ branch (when ‘tvp64’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/lutimes.c:30:17: call_function: inlined call to ‘timeval64_to_timespec64’ from ‘__lutimes64’
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/lutimes.c:30:17: danger: use of uninitialized value ‘ts64.<U 460>’ here
#   28|     if (tvp64 != NULL)
#   29|       {
#   30|->       ts64[0] = timeval64_to_timespec64 (tvp64[0]);
#   31|         ts64[1] = timeval64_to_timespec64 (tvp64[1]);
#   32|       }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def491]
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/lutimes.c:30:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U73c0>’
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/lutimes.c:25:1: enter_function: entry to ‘__lutimes64’
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/lutimes.c:28:6: branch_true: following ‘true’ branch (when ‘tvp64’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/lutimes.c:30:17: call_function: inlined call to ‘timeval64_to_timespec64’ from ‘__lutimes64’
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/lutimes.c:30:17: danger: use of uninitialized value ‘ts64.<U73c0>’ here
#   28|     if (tvp64 != NULL)
#   29|       {
#   30|->       ts64[0] = timeval64_to_timespec64 (tvp64[0]);
#   31|         ts64[1] = timeval64_to_timespec64 (tvp64[1]);
#   32|       }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def492]
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/pselect.c:84:14: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U3460>’
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/pselect.c:78:1: enter_function: entry to ‘__pselect’
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/pselect.c:82:6: branch_true: following ‘true’ branch (when ‘timeout’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/pselect.c:84:14: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘__pselect’
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/pselect.c:84:14: danger: use of uninitialized value ‘ts64.<U3460>’ here
#   82|     if (timeout != NULL)
#   83|       {
#   84|->       ts64 = valid_timespec_to_timespec64 (*timeout);
#   85|         pts64 = &ts64;
#   86|       }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def493]
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/pselect.c:84:14: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U8500>’
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/pselect.c:78:1: enter_function: entry to ‘__pselect’
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/pselect.c:82:6: branch_true: following ‘true’ branch (when ‘timeout’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/pselect.c:84:14: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘__pselect’
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/pselect.c:84:14: danger: use of uninitialized value ‘ts64.<U8500>’ here
#   82|     if (timeout != NULL)
#   83|       {
#   84|->       ts64 = valid_timespec_to_timespec64 (*timeout);
#   85|         pts64 = &ts64;
#   86|       }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def494]
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/ptrace.c:49:14: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ret’
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/ptrace.c:45:9: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/ptrace.c:46:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/ptrace.c:46:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/ptrace.c:49:14: danger: use of uninitialized value ‘ret’ here
#   47|       {
#   48|         __set_errno (0);
#   49|->       return ret;
#   50|       }
#   51|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def495]
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/timerfd_gettime.c:42:28: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U6a00>’
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/timerfd_gettime.c:26:1: enter_function: entry to ‘__timerfd_gettime64’
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/timerfd_gettime.c:36:7: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/timerfd_gettime.c:39:16: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/timerfd_gettime.c:39:16: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/timerfd_gettime.c:40:6: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/timerfd_gettime.c:40:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/timerfd_gettime.c:42:28: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘__timerfd_gettime64’
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/timerfd_gettime.c:42:28: danger: use of uninitialized value ‘ts64.<U6a00>’ here
#   40|     if (retval == 0)
#   41|       {
#   42|->       value->it_interval = valid_timespec_to_timespec64 (its32.it_interval);
#   43|         value->it_value = valid_timespec_to_timespec64 (its32.it_value);
#   44|       }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def496]
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/timerfd_gettime.c:42:28: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<Uc960>’
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/timerfd_gettime.c:26:1: enter_function: entry to ‘__timerfd_gettime64’
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/timerfd_gettime.c:36:7: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/timerfd_gettime.c:39:16: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/timerfd_gettime.c:39:16: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/timerfd_gettime.c:40:6: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/timerfd_gettime.c:40:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/timerfd_gettime.c:42:28: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘__timerfd_gettime64’
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/timerfd_gettime.c:42:28: danger: use of uninitialized value ‘ts64.<Uc960>’ here
#   40|     if (retval == 0)
#   41|       {
#   42|->       value->it_interval = valid_timespec_to_timespec64 (its32.it_interval);
#   43|         value->it_value = valid_timespec_to_timespec64 (its32.it_value);
#   44|       }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def497]
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/timerfd_settime.c:55:29: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U7a00>’
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/timerfd_settime.c:26:1: enter_function: entry to ‘__timerfd_settime64’
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/timerfd_settime.c:36:22: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/timerfd_settime.c:51:13: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/timerfd_settime.c:53:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/timerfd_settime.c:53:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/timerfd_settime.c:55:29: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘__timerfd_settime64’
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/timerfd_settime.c:55:29: danger: use of uninitialized value ‘ts64.<U7a00>’ here
#   53|     if (ret == 0 && ovalue != NULL)
#   54|       {
#   55|->       ovalue->it_interval = valid_timespec_to_timespec64 (oits32.it_interval);
#   56|         ovalue->it_value = valid_timespec_to_timespec64 (oits32.it_value);
#   57|       }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def498]
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/timerfd_settime.c:55:29: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U8960>’
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/timerfd_settime.c:26:1: enter_function: entry to ‘__timerfd_settime64’
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/timerfd_settime.c:36:22: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/timerfd_settime.c:51:13: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/timerfd_settime.c:53:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/timerfd_settime.c:53:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/timerfd_settime.c:55:29: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘__timerfd_settime64’
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/timerfd_settime.c:55:29: danger: use of uninitialized value ‘ts64.<U8960>’ here
#   53|     if (ret == 0 && ovalue != NULL)
#   54|       {
#   55|->       ovalue->it_interval = valid_timespec_to_timespec64 (oits32.it_interval);
#   56|         ovalue->it_value = valid_timespec_to_timespec64 (oits32.it_value);
#   57|       }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def499]
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/timerfd_settime.c:72:23: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U7a00>’
#   70|     int retval;
#   71|   
#   72|->   its64.it_interval = valid_timespec_to_timespec64 (value->it_interval);
#   73|     its64.it_value = valid_timespec_to_timespec64 (value->it_value);
#   74|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def500]
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/timerfd_settime.c:72:23: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U8960>’
#   70|     int retval;
#   71|   
#   72|->   its64.it_interval = valid_timespec_to_timespec64 (value->it_interval);
#   73|     its64.it_value = valid_timespec_to_timespec64 (value->it_value);
#   74|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def501]
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/utimes.c:29:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U 640>’
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/utimes.c:23:1: enter_function: entry to ‘__utimes64’
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/utimes.c:27:6: branch_true: following ‘true’ branch (when ‘tvp’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/utimes.c:29:17: call_function: inlined call to ‘timeval64_to_timespec64’ from ‘__utimes64’
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/utimes.c:29:17: danger: use of uninitialized value ‘ts64.<U 640>’ here
#   27|     if (tvp != NULL)
#   28|       {
#   29|->       ts64[0] = timeval64_to_timespec64 (tvp[0]);
#   30|         ts64[1] = timeval64_to_timespec64 (tvp[1]);
#   31|       }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def502]
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/utimes.c:29:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U56e0>’
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/utimes.c:23:1: enter_function: entry to ‘__utimes64’
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/utimes.c:27:6: branch_true: following ‘true’ branch (when ‘tvp’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/utimes.c:29:17: call_function: inlined call to ‘timeval64_to_timespec64’ from ‘__utimes64’
glibc-2.41.9000-248-g7b47b3dd21/misc/../sysdeps/unix/sysv/linux/utimes.c:29:17: danger: use of uninitialized value ‘ts64.<U56e0>’ here
#   27|     if (tvp != NULL)
#   28|       {
#   29|->       ts64[0] = timeval64_to_timespec64 (tvp[0]);
#   30|         ts64[1] = timeval64_to_timespec64 (tvp[1]);
#   31|       }

Error: COMPILER_WARNING (CWE-9001): [#def503]
glibc-2.41.9000-248-g7b47b3dd21/misc/getdomain.c:58:1: warning[-Wattributes]: ‘[artificial](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-artificial-function-attribute)’ attribute ignored
#   56|   #endif
#   57|   
#   58|-> libc_hidden_def (getdomainname)

Error: COMPILER_WARNING (CWE-9001): [#def504]
glibc-2.41.9000-248-g7b47b3dd21/misc/syslog.c:94:1: warning[-Wattributes]: ‘[artificial](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-artificial-function-attribute)’ attribute ignored
#   92|     va_end (ap);
#   93|   }
#   94|-> ldbl_hidden_def (__syslog, syslog)
#   95|   ldbl_strong_alias (__syslog, syslog)
#   96|   

Error: COMPILER_WARNING: [#def505] [important]
glibc-2.41.9000-248-g7b47b3dd21/misc/syslog.c:95:1: error[error]: inlining failed in call to ‘always_inline’ ‘syslog’: function not inlinable
#   93|   }
#   94|   ldbl_hidden_def (__syslog, syslog)
#   95|-> ldbl_strong_alias (__syslog, syslog)
#   96|   
#   97|   void

Error: COMPILER_WARNING: [#def506]
glibc-2.41.9000-248-g7b47b3dd21/misc/syslog.c:138:7: note[note]: called from here
#  136|     if (pri & ~(LOG_PRIMASK | LOG_FACMASK))
#  137|       {
#  138|->       syslog (INTERNALLOG, "syslog: unknown facility/priority: %x", pri);
#  139|         pri &= LOG_PRIMASK | LOG_FACMASK;
#  140|       }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def507]
glibc-2.41.9000-248-g7b47b3dd21/misc/tsearch.c:230:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘gparentp’
glibc-2.41.9000-248-g7b47b3dd21/misc/tsearch.c:290:1: enter_function: entry to ‘__tsearch’
glibc-2.41.9000-248-g7b47b3dd21/misc/tsearch.c:317:10: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/misc/tsearch.c:320:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/misc/tsearch.c:320:7: call_function: calling ‘maybe_split_for_insert’ from ‘__tsearch’
glibc-2.41.9000-248-g7b47b3dd21/misc/tsearch.c:320:7: return_function: returning to ‘__tsearch’ from ‘maybe_split_for_insert’
glibc-2.41.9000-248-g7b47b3dd21/misc/tsearch.c:326:10: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/misc/tsearch.c:337:25: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/misc/tsearch.c:338:6: branch_true: following ‘true’ branch (when ‘q’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/misc/tsearch.c:349:7: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/misc/tsearch.c:355:10: branch_true: following ‘true’ branch (when ‘rootp != nextp’)...
glibc-2.41.9000-248-g7b47b3dd21/misc/tsearch.c:358:9: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/misc/tsearch.c:358:9: call_function: calling ‘maybe_split_for_insert’ from ‘__tsearch’
#  228|         if (parentp != NULL && RED(DEREFNODEPTR(parentp)))
#  229|   	{
#  230|-> 	  node gp = DEREFNODEPTR(gparentp);
#  231|   	  node p = DEREFNODEPTR(parentp);
#  232|   	  /* There are two main cases:

Error: GCC_ANALYZER_WARNING (CWE-401): [#def508]
glibc-2.41.9000-248-g7b47b3dd21/nis/nis_creategroup.c:63:11: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
glibc-2.41.9000-248-g7b47b3dd21/nis/nis_creategroup.c:40:10: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/nis/nis_creategroup.c:49:10: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/nis/nis_creategroup.c:52:47: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nis/nis_creategroup.c:56:24: acquire_memory: allocated here
glibc-2.41.9000-248-g7b47b3dd21/nis/nis_creategroup.c:57:10: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/nis/nis_creategroup.c:60:11: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nis/nis_creategroup.c:63:11: danger: ‘<unknown>’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
#   61|   	  free (obj->zo_owner);
#   62|   	  free (obj->zo_name);
#   63|-> 	  free (obj);
#   64|   	  return NIS_NOMEMORY;
#   65|   	}

Error: GCC_ANALYZER_WARNING (CWE-126): [#def509]
glibc-2.41.9000-248-g7b47b3dd21/nis/nis_print_group_entry.c:126:13: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
glibc-2.41.9000-248-g7b47b3dd21/nis/nis_print_group_entry.c:47:10: branch_false: following ‘false’ branch (when ‘res’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/nis/nis_print_group_entry.c:50:11: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nis/nis_print_group_entry.c:50:10: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/nis/nis_print_group_entry.c:51:14: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nis/nis_print_group_entry.c:50:11: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/nis/nis_print_group_entry.c:52:14: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nis/nis_print_group_entry.c:50:11: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/nis/nis_print_group_entry.c:58:13: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nis/nis_print_group_entry.c:122:10: branch_true: following ‘true’ branch (when ‘mem_exp_cnt != 0’)...
glibc-2.41.9000-248-g7b47b3dd21/nis/nis_print_group_entry.c:124:11: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nis/nis_print_group_entry.c:125:23: branch_true: following ‘true’ branch (when ‘mem_exp_cnt > i’)...
glibc-2.41.9000-248-g7b47b3dd21/nis/nis_print_group_entry.c:126:13: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nis/nis_print_group_entry.c:125:23: branch_true: following ‘true’ branch (when ‘mem_exp_cnt > i’)...
glibc-2.41.9000-248-g7b47b3dd21/nis/nis_print_group_entry.c:126:13: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nis/nis_print_group_entry.c:126:13: danger: out-of-bounds read from byte 4 till byte 7 but region ends at byte 4
#  124|   	  fputs (_("    Explicit members:\n"), stdout);
#  125|   	  for (i = 0; i < mem_exp_cnt; ++i)
#  126|-> 	    printf ("\t%s\n", mem_exp[i]);
#  127|   	}
#  128|         else

Error: GCC_ANALYZER_WARNING (CWE-401): [#def510]
glibc-2.41.9000-248-g7b47b3dd21/nis/nis_table.c:98:11: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
glibc-2.41.9000-248-g7b47b3dd21/nis/nis_table.c:764:1: enter_function: entry to ‘nis_next_entry’
glibc-2.41.9000-248-g7b47b3dd21/nis/nis_table.c:771:6: branch_false: following ‘false’ branch (when ‘res’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/nis/nis_table.c:774:6: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nis/nis_table.c:774:6: branch_false: following ‘false’ branch (when ‘name’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/nis/nis_table.c:780:11: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nis/nis_table.c:780:11: call_function: calling ‘__create_ib_request’ from ‘nis_next_entry’
#   96|         if (__glibc_unlikely (val == NULL))
#   97|   	{
#   98|-> 	  nis_free_request (ibreq);
#   99|   	  return NULL;
#  100|   	}

Error: GCC_ANALYZER_WARNING (CWE-401): [#def511]
glibc-2.41.9000-248-g7b47b3dd21/nis/nis_table.c:98:11: warning[-Wanalyzer-malloc-leak]: leak of ‘search_val’
glibc-2.41.9000-248-g7b47b3dd21/nis/nis_table.c:764:1: enter_function: entry to ‘nis_next_entry’
glibc-2.41.9000-248-g7b47b3dd21/nis/nis_table.c:771:6: branch_false: following ‘false’ branch (when ‘res’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/nis/nis_table.c:774:6: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nis/nis_table.c:774:6: branch_false: following ‘false’ branch (when ‘name’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/nis/nis_table.c:780:11: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nis/nis_table.c:780:11: call_function: calling ‘__create_ib_request’ from ‘nis_next_entry’
#   96|         if (__glibc_unlikely (val == NULL))
#   97|   	{
#   98|-> 	  nis_free_request (ibreq);
#   99|   	  return NULL;
#  100|   	}

Error: GCC_ANALYZER_WARNING (CWE-457): [#def512]
glibc-2.41.9000-248-g7b47b3dd21/nptl/../include/time.h:422:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U 640>’
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_clockjoin.c:43:1: enter_function: entry to ‘___pthread_clockjoin_np’
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_clockjoin.c:46:6: branch_true: following ‘true’ branch (when ‘abstime’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_clockjoin.c:48:34: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘___pthread_clockjoin_np’
#  420|     ts64.tv_nsec = ts.tv_nsec;
#  421|   
#  422|->   return ts64;
#  423|   }
#  424|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def513]
glibc-2.41.9000-248-g7b47b3dd21/nptl/../include/time.h:422:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U 6e0>’
glibc-2.41.9000-248-g7b47b3dd21/nptl/sem_clockwait.c:58:30: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘___sem_clockwait’
#  420|     ts64.tv_nsec = ts.tv_nsec;
#  421|   
#  422|->   return ts64;
#  423|   }
#  424|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def514]
glibc-2.41.9000-248-g7b47b3dd21/nptl/../include/time.h:422:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U1780>’
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_rwlock_clockrdlock.c:41:30: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘___pthread_rwlock_clockrdlock’
#  420|     ts64.tv_nsec = ts.tv_nsec;
#  421|   
#  422|->   return ts64;
#  423|   }
#  424|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def515]
glibc-2.41.9000-248-g7b47b3dd21/nptl/../include/time.h:422:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U2780>’
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_cond_wait.c:491:30: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘___pthread_cond_timedwait’
#  420|     ts64.tv_nsec = ts.tv_nsec;
#  421|   
#  422|->   return ts64;
#  423|   }
#  424|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def516]
glibc-2.41.9000-248-g7b47b3dd21/nptl/../include/time.h:422:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U36e0>’
glibc-2.41.9000-248-g7b47b3dd21/nptl/sem_timedwait.c:53:30: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘___sem_timedwait’
#  420|     ts64.tv_nsec = ts.tv_nsec;
#  421|   
#  422|->   return ts64;
#  423|   }
#  424|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def517]
glibc-2.41.9000-248-g7b47b3dd21/nptl/../include/time.h:422:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U3820>’
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_rwlock_clockrdlock.c:41:30: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘___pthread_rwlock_clockrdlock’
#  420|     ts64.tv_nsec = ts.tv_nsec;
#  421|   
#  422|->   return ts64;
#  423|   }
#  424|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def518]
glibc-2.41.9000-248-g7b47b3dd21/nptl/../include/time.h:422:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U46e0>’
glibc-2.41.9000-248-g7b47b3dd21/nptl/../sysdeps/unix/sysv/linux/cnd_timedwait.c:42:30: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘___cnd_timedwait’
#  420|     ts64.tv_nsec = ts.tv_nsec;
#  421|   
#  422|->   return ts64;
#  423|   }
#  424|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def519]
glibc-2.41.9000-248-g7b47b3dd21/nptl/../include/time.h:422:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U5820>’
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_rwlock_timedrdlock.c:39:30: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘___pthread_rwlock_timedrdlock’
#  420|     ts64.tv_nsec = ts.tv_nsec;
#  421|   
#  422|->   return ts64;
#  423|   }
#  424|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def520]
glibc-2.41.9000-248-g7b47b3dd21/nptl/../include/time.h:422:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U66e0>’
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_clockjoin.c:43:1: enter_function: entry to ‘___pthread_clockjoin_np’
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_clockjoin.c:46:6: branch_true: following ‘true’ branch (when ‘abstime’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_clockjoin.c:48:34: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘___pthread_clockjoin_np’
#  420|     ts64.tv_nsec = ts.tv_nsec;
#  421|   
#  422|->   return ts64;
#  423|   }
#  424|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def521]
glibc-2.41.9000-248-g7b47b3dd21/nptl/../include/time.h:422:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U7780>’
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_rwlock_clockwrlock.c:41:30: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘___pthread_rwlock_clockwrlock’
#  420|     ts64.tv_nsec = ts.tv_nsec;
#  421|   
#  422|->   return ts64;
#  423|   }
#  424|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def522]
glibc-2.41.9000-248-g7b47b3dd21/nptl/../include/time.h:422:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U7a00>’
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_mutex_timedlock.c:622:30: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘___pthread_mutex_timedlock’
#  420|     ts64.tv_nsec = ts.tv_nsec;
#  421|   
#  422|->   return ts64;
#  423|   }
#  424|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def523]
glibc-2.41.9000-248-g7b47b3dd21/nptl/../include/time.h:422:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U8820>’
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_cond_wait.c:491:30: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘___pthread_cond_timedwait’
#  420|     ts64.tv_nsec = ts.tv_nsec;
#  421|   
#  422|->   return ts64;
#  423|   }
#  424|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def524]
glibc-2.41.9000-248-g7b47b3dd21/nptl/../include/time.h:422:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U8aa0>’
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_mutex_timedlock.c:622:30: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘___pthread_mutex_timedlock’
#  420|     ts64.tv_nsec = ts.tv_nsec;
#  421|   
#  422|->   return ts64;
#  423|   }
#  424|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def525]
glibc-2.41.9000-248-g7b47b3dd21/nptl/../include/time.h:422:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U9640>’
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_timedjoin.c:37:3: enter_function: entry to ‘___pthread_timedjoin_np’
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_timedjoin.c:40:6: branch_true: following ‘true’ branch (when ‘abstime’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_timedjoin.c:42:34: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘___pthread_timedjoin_np’
#  420|     ts64.tv_nsec = ts.tv_nsec;
#  421|   
#  422|->   return ts64;
#  423|   }
#  424|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def526]
glibc-2.41.9000-248-g7b47b3dd21/nptl/../include/time.h:422:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U96e0>’
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_timedjoin.c:37:3: enter_function: entry to ‘___pthread_timedjoin_np’
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_timedjoin.c:40:6: branch_true: following ‘true’ branch (when ‘abstime’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_timedjoin.c:42:34: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘___pthread_timedjoin_np’
#  420|     ts64.tv_nsec = ts.tv_nsec;
#  421|   
#  422|->   return ts64;
#  423|   }
#  424|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def527]
glibc-2.41.9000-248-g7b47b3dd21/nptl/../include/time.h:422:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U9820>’
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_rwlock_timedwrlock.c:39:30: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘___pthread_rwlock_timedwrlock’
#  420|     ts64.tv_nsec = ts.tv_nsec;
#  421|   
#  422|->   return ts64;
#  423|   }
#  424|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def528]
glibc-2.41.9000-248-g7b47b3dd21/nptl/../include/time.h:422:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<Ua640>’
glibc-2.41.9000-248-g7b47b3dd21/nptl/sem_timedwait.c:53:30: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘___sem_timedwait’
#  420|     ts64.tv_nsec = ts.tv_nsec;
#  421|   
#  422|->   return ts64;
#  423|   }
#  424|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def529]
glibc-2.41.9000-248-g7b47b3dd21/nptl/../include/time.h:422:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<Ua6e0>’
glibc-2.41.9000-248-g7b47b3dd21/nptl/../sysdeps/unix/sysv/linux/thrd_sleep.c:46:38: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘__thrd_sleep’
#  420|     ts64.tv_nsec = ts.tv_nsec;
#  421|   
#  422|->   return ts64;
#  423|   }
#  424|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def530]
glibc-2.41.9000-248-g7b47b3dd21/nptl/../include/time.h:422:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<Ub640>’
glibc-2.41.9000-248-g7b47b3dd21/nptl/../sysdeps/unix/sysv/linux/cnd_timedwait.c:42:30: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘___cnd_timedwait’
#  420|     ts64.tv_nsec = ts.tv_nsec;
#  421|   
#  422|->   return ts64;
#  423|   }
#  424|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def531]
glibc-2.41.9000-248-g7b47b3dd21/nptl/../include/time.h:422:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<Ub6e0>’
glibc-2.41.9000-248-g7b47b3dd21/nptl/../sysdeps/unix/sysv/linux/mtx_timedlock.c:41:30: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘___mtx_timedlock’
#  420|     ts64.tv_nsec = ts.tv_nsec;
#  421|   
#  422|->   return ts64;
#  423|   }
#  424|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def532]
glibc-2.41.9000-248-g7b47b3dd21/nptl/../include/time.h:422:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<Ue640>’
glibc-2.41.9000-248-g7b47b3dd21/nptl/sem_clockwait.c:58:30: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘___sem_clockwait’
#  420|     ts64.tv_nsec = ts.tv_nsec;
#  421|   
#  422|->   return ts64;
#  423|   }
#  424|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def533]
glibc-2.41.9000-248-g7b47b3dd21/nptl/../include/time.h:422:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<Ue780>’
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_rwlock_timedwrlock.c:39:30: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘___pthread_rwlock_timedwrlock’
#  420|     ts64.tv_nsec = ts.tv_nsec;
#  421|   
#  422|->   return ts64;
#  423|   }
#  424|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def534]
glibc-2.41.9000-248-g7b47b3dd21/nptl/../string/bits/string_fortified.h:29:10: warning[-Wanalyzer-malloc-leak]: leak of ‘newp’
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_attr_setaffinity.c:34:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_attr_setaffinity.c:45:17: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_attr_setaffinity.c:46:10: branch_false: following ‘false’ branch (when ‘ret == 0’)...
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_attr_setaffinity.c:49:11: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_attr_setaffinity.c:49:10: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_attr_setaffinity.c:51:33: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_attr_setaffinity.c:52:14: branch_false: following ‘false’ branch (when ‘newp’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_attr_setaffinity.c:55:11: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_attr_setaffinity.c:59:7: call_function: inlined call to ‘memcpy’ from ‘__pthread_attr_setaffinity_np’
#   27|   	       size_t __len))
#   28|   {
#   29|->   return __builtin___memcpy_chk (__dest, __src, __len,
#   30|   				 __glibc_objsize0 (__dest));
#   31|   }

Error: COMPILER_WARNING: [#def535]
glibc-2.41.9000-248-g7b47b3dd21/nptl/../sysdeps/unix/sysv/linux/x86/elision-lock.c:56:25: note[note]: called from here
#   54|   	   try_xbegin--)
#   55|   	{
#   56|-> 	  if ((status = _xbegin()) == _XBEGIN_STARTED)
#   57|   	    {
#   58|   	      if (*futex == 0)

Error: COMPILER_WARNING: [#def536]
glibc-2.41.9000-248-g7b47b3dd21/nptl/../sysdeps/unix/sysv/linux/x86/elision-lock.c:64:15: note[note]: called from here
#   62|   		 Could also _xend here but xabort with 0xff code
#   63|   		 is more visible in the profiler.  */
#   64|-> 	      _xabort (_ABORT_LOCK_BUSY);
#   65|   	    }
#   66|   

Error: COMPILER_WARNING: [#def537]
glibc-2.41.9000-248-g7b47b3dd21/nptl/../sysdeps/unix/sysv/linux/x86/elision-trylock.c:37:3: note[note]: called from here
#   35|        non transactional and if the lock was already locked
#   36|        return an error.  */
#   37|->   _xabort (_ABORT_NESTED_TRYLOCK);
#   38|   
#   39|     /* Only try a transaction if it's worth it.  See __lll_lock_elision for

Error: COMPILER_WARNING: [#def538]
glibc-2.41.9000-248-g7b47b3dd21/nptl/../sysdeps/unix/sysv/linux/x86/elision-trylock.c:46:21: note[note]: called from here
#   44|         unsigned status;
#   45|   
#   46|->       if ((status = _xbegin()) == _XBEGIN_STARTED)
#   47|   	{
#   48|   	  if (*futex == 0)

Error: COMPILER_WARNING: [#def539]
glibc-2.41.9000-248-g7b47b3dd21/nptl/../sysdeps/unix/sysv/linux/x86/elision-trylock.c:54:11: note[note]: called from here
#   52|   	     Could also _xend here but xabort with 0xff code
#   53|   	     is more visible in the profiler.  */
#   54|-> 	  _xabort (_ABORT_LOCK_BUSY);
#   55|   	}
#   56|   

Error: COMPILER_WARNING: [#def540]
glibc-2.41.9000-248-g7b47b3dd21/nptl/../sysdeps/unix/sysv/linux/x86/elision-unlock.c:29:5: note[note]: called from here
#   27|        When you crash here you unlocked a free lock.  */
#   28|     if (*lock == 0)
#   29|->     _xend();
#   30|     else
#   31|       lll_unlock ((*lock), private);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def541]
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_create.c:688:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_create.c:919:1: enter_function: entry to ‘__pthread_create_2_0’
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_create.c:927:6: branch_true: following ‘true’ branch (when ‘attr’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_create.c:930:19: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_create.c:948:10: call_function: calling ‘__pthread_create_2_1’ from ‘__pthread_create_2_0’
#  686|        we do not start the function directly the stillborn thread will
#  687|        get the information from its thread descriptor.  */
#  688|->   pd->start_routine = start_routine;
#  689|     pd->arg = arg;
#  690|     pd->c11 = c11;

Error: GCC_ANALYZER_WARNING (CWE-835): [#def542]
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_rwlock_common.c:494:23: warning[-Wanalyzer-infinite-loop]: infinite loop
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_rwlock_clockrdlock.c:28:10: call_function: inlined call to ‘__pthread_rwlock_rdlock_full64’ from ‘___pthread_rwlock_clockrdlock64’
 branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_rwlock_clockrdlock.c:28:10: call_function: inlined call to ‘__pthread_rwlock_rdlock_full64’ from ‘___pthread_rwlock_clockrdlock64’
#  492|   		 in this case and thus make the spin-waiting we need
#  493|   		 unnecessarily expensive.  */
#  494|-> 	      while ((atomic_load_relaxed (&rwlock->__data.__wrphase_futex)
#  495|   		      | PTHREAD_RWLOCK_FUTEX_USED)
#  496|   		     == (1 | PTHREAD_RWLOCK_FUTEX_USED))

Error: GCC_ANALYZER_WARNING (CWE-835): [#def543]
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_rwlock_common.c:926:23: warning[-Wanalyzer-infinite-loop]: infinite loop
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_rwlock_clockwrlock.c:28:10: call_function: inlined call to ‘__pthread_rwlock_wrlock_full64’ from ‘___pthread_rwlock_clockwrlock64’
 branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_rwlock_clockwrlock.c:28:10: call_function: inlined call to ‘__pthread_rwlock_wrlock_full64’ from ‘___pthread_rwlock_clockwrlock64’
#  924|   	      /* We still need to wait for explicit hand-over, but we must
#  925|   		 not use futex_wait anymore.  */
#  926|-> 	      while ((atomic_load_relaxed (&rwlock->__data.__wrphase_futex)
#  927|   		      | PTHREAD_RWLOCK_FUTEX_USED)
#  928|   		     == PTHREAD_RWLOCK_FUTEX_USED)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def544]
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_setspecific.c:87:3: warning[-Wanalyzer-malloc-leak]: leak of ‘level2’
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_setspecific.c:36:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_setspecific.c:51:10: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_setspecific.c:51:10: branch_false: following ‘false’ branch (when ‘key <= 1023’)...
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_setspecific.c:52:14: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_setspecific.c:51:11: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_setspecific.c:56:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_setspecific.c:61:10: branch_true: following ‘true’ branch (when ‘__value’ is NULL)...
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_setspecific.c:63:14: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_setspecific.c:63:14: branch_false: following ‘false’ branch (when ‘value’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_setspecific.c:69:43: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_setspecific.c:69:43: acquire_memory: allocated here
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_setspecific.c:71:14: branch_false: following ‘false’ branch (when ‘level2’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_setspecific.c:74:11: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nptl/pthread_setspecific.c:87:3: danger: ‘level2’ leaks here; was allocated at [(11)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/10)
#   85|        stale data.  */
#   86|     level2->seq = seq;
#   87|->   level2->data = (void *) value;
#   88|   
#   89|     return 0;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def545]
glibc-2.41.9000-248-g7b47b3dd21/nptl/tpp.c:94:10: warning[-Wanalyzer-malloc-leak]: leak of ‘tpp’
glibc-2.41.9000-248-g7b47b3dd21/nptl/tpp.c:60:6: branch_true: following ‘true’ branch (when ‘__value’ is NULL)...
glibc-2.41.9000-248-g7b47b3dd21/nptl/tpp.c:66:11: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nptl/tpp.c:76:13: acquire_memory: allocated here
glibc-2.41.9000-248-g7b47b3dd21/nptl/tpp.c:77:10: branch_false: following ‘false’ branch (when ‘tpp’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/nptl/tpp.c:79:22: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nptl/tpp.c:83:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/nptl/tpp.c:86:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nptl/tpp.c:94:10: branch_true: following ‘true’ branch...
 branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nptl/tpp.c:94:10: danger: ‘tpp’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
#   92|     if (new_prio != -1)
#   93|       {
#   94|->       if (tpp->priomap[new_prio - fifo_min_prio] + 1 == 0)
#   95|   	return EAGAIN;
#   96|         ++tpp->priomap[new_prio - fifo_min_prio];

Error: GCC_ANALYZER_WARNING (CWE-401): [#def546]
glibc-2.41.9000-248-g7b47b3dd21/nptl/tpp.c:115:6: warning[-Wanalyzer-malloc-leak]: leak of ‘tpp’
glibc-2.41.9000-248-g7b47b3dd21/nptl/tpp.c:60:6: branch_true: following ‘true’ branch (when ‘__value’ is NULL)...
glibc-2.41.9000-248-g7b47b3dd21/nptl/tpp.c:66:11: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nptl/tpp.c:76:13: acquire_memory: allocated here
glibc-2.41.9000-248-g7b47b3dd21/nptl/tpp.c:77:10: branch_false: following ‘false’ branch (when ‘tpp’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/nptl/tpp.c:79:22: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nptl/tpp.c:86:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/nptl/tpp.c:90:7: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nptl/tpp.c:101:6: branch_true: following ‘true’ branch (when ‘previous_prio != -1’)...
glibc-2.41.9000-248-g7b47b3dd21/nptl/tpp.c:103:26: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nptl/tpp.c:115:6: danger: ‘tpp’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
#  113|       }
#  114|   
#  115|->   if (priomax == newpriomax)
#  116|       return 0;
#  117|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def547]
glibc-2.41.9000-248-g7b47b3dd21/nss/getnameinfo.c:188:9: warning[-Wanalyzer-malloc-leak]: leak of ‘domain’
glibc-2.41.9000-248-g7b47b3dd21/nss/getnameinfo.c:376:1: enter_function: entry to ‘gni_host_inet’
glibc-2.41.9000-248-g7b47b3dd21/nss/getnameinfo.c:380:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/nss/getnameinfo.c:382:20: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nss/getnameinfo.c:382:20: call_function: calling ‘gni_host_inet_name’ from ‘gni_host_inet’
#  186|   
#  187|         if ((r = nrl_domainname_core (&tmpbuf)))
#  188|-> 	atomic_store_release (&not_first, 1);
#  189|   
#  190|         scratch_buffer_free (&tmpbuf);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def548]
glibc-2.41.9000-248-g7b47b3dd21/nss/makedb.c:574:10: warning[-Wanalyzer-malloc-leak]: leak of ‘nentry’
glibc-2.41.9000-248-g7b47b3dd21/nss/makedb.c:420:1: enter_function: entry to ‘process_input’
glibc-2.41.9000-248-g7b47b3dd21/nss/makedb.c:434:10: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/nss/makedb.c:436:19: call_function: inlined call to ‘getline’ from ‘process_input’
glibc-2.41.9000-248-g7b47b3dd21/nss/makedb.c:437:10: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/nss/makedb.c:440:10: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nss/makedb.c:440:10: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/nss/makedb.c:444:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nss/makedb.c:454:10: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/nss/makedb.c:461:19: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nss/makedb.c:469:10: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/nss/makedb.c:473:8: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nss/makedb.c:483:10: branch_true: following ‘true’ branch (when ‘last_database’ is NULL)...
glibc-2.41.9000-248-g7b47b3dd21/nss/makedb.c:485:11: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nss/makedb.c:528:10: branch_false: following ‘false’ branch (when ‘fdata’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/nss/makedb.c:531:11: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nss/makedb.c:531:10: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/nss/makedb.c:538:13: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nss/makedb.c:551:10: branch_false: following ‘false’ branch (when ‘found’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/nss/makedb.c:554:11: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nss/makedb.c:554:10: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/nss/makedb.c:562:9: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nss/makedb.c:574:10: danger: ‘nentry’ leaks here; was allocated at [(15)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/14)
#  572|       }
#  573|   
#  574|->   return status;
#  575|   }
#  576|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def549]
glibc-2.41.9000-248-g7b47b3dd21/nss/makedb.c:574:10: warning[-Wanalyzer-malloc-leak]: leak of ‘newp’
glibc-2.41.9000-248-g7b47b3dd21/nss/makedb.c:420:1: enter_function: entry to ‘process_input’
glibc-2.41.9000-248-g7b47b3dd21/nss/makedb.c:434:10: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/nss/makedb.c:436:19: call_function: inlined call to ‘getline’ from ‘process_input’
glibc-2.41.9000-248-g7b47b3dd21/nss/makedb.c:437:10: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/nss/makedb.c:440:10: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nss/makedb.c:483:10: branch_true: following ‘true’ branch (when ‘last_database’ is NULL)...
glibc-2.41.9000-248-g7b47b3dd21/nss/makedb.c:485:11: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nss/makedb.c:528:10: branch_false: following ‘false’ branch (when ‘fdata’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/nss/makedb.c:531:11: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nss/makedb.c:531:10: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/nss/makedb.c:534:11: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nss/makedb.c:551:10: branch_false: following ‘false’ branch (when ‘found’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/nss/makedb.c:554:11: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nss/makedb.c:574:10: danger: ‘newp’ leaks here; was allocated at [(13)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/12)
#  572|       }
#  573|   
#  574|->   return status;
#  575|   }
#  576|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def550]
glibc-2.41.9000-248-g7b47b3dd21/nss/nss_compat/compat-pwd.c:878:1: warning[-Wanalyzer-malloc-leak]: leak of ‘pwd.pw_dir’
glibc-2.41.9000-248-g7b47b3dd21/nss/nss_compat/compat-pwd.c:1053:1: enter_function: entry to ‘_nss_compat_getpwuid_r’
glibc-2.41.9000-248-g7b47b3dd21/nss/nss_compat/compat-pwd.c:1067:12: call_function: calling ‘internal_setpwent’ from ‘_nss_compat_getpwuid_r’
glibc-2.41.9000-248-g7b47b3dd21/nss/nss_compat/compat-pwd.c:1067:12: return_function: returning to ‘_nss_compat_getpwuid_r’ from ‘internal_setpwent’
glibc-2.41.9000-248-g7b47b3dd21/nss/nss_compat/compat-pwd.c:1069:6: branch_true: following ‘true’ branch (when ‘result == 1’)...
glibc-2.41.9000-248-g7b47b3dd21/nss/nss_compat/compat-pwd.c:1070:14: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nss/nss_compat/compat-pwd.c:1070:14: call_function: calling ‘internal_getpwuid_r’ from ‘_nss_compat_getpwuid_r’
#  876|       }
#  877|     return NSS_STATUS_RETURN;
#  878|-> }
#  879|   
#  880|   /* Searches in /etc/passwd and the NSS subsystem for a special user id */

Error: GCC_ANALYZER_WARNING (CWE-401): [#def551]
glibc-2.41.9000-248-g7b47b3dd21/nss/nss_compat/compat-pwd.c:878:1: warning[-Wanalyzer-malloc-leak]: leak of ‘pwd.pw_gecos’
glibc-2.41.9000-248-g7b47b3dd21/nss/nss_compat/compat-pwd.c:1053:1: enter_function: entry to ‘_nss_compat_getpwuid_r’
glibc-2.41.9000-248-g7b47b3dd21/nss/nss_compat/compat-pwd.c:1067:12: call_function: calling ‘internal_setpwent’ from ‘_nss_compat_getpwuid_r’
glibc-2.41.9000-248-g7b47b3dd21/nss/nss_compat/compat-pwd.c:1067:12: return_function: returning to ‘_nss_compat_getpwuid_r’ from ‘internal_setpwent’
glibc-2.41.9000-248-g7b47b3dd21/nss/nss_compat/compat-pwd.c:1069:6: branch_true: following ‘true’ branch (when ‘result == 1’)...
glibc-2.41.9000-248-g7b47b3dd21/nss/nss_compat/compat-pwd.c:1070:14: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nss/nss_compat/compat-pwd.c:1070:14: call_function: calling ‘internal_getpwuid_r’ from ‘_nss_compat_getpwuid_r’
#  876|       }
#  877|     return NSS_STATUS_RETURN;
#  878|-> }
#  879|   
#  880|   /* Searches in /etc/passwd and the NSS subsystem for a special user id */

Error: GCC_ANALYZER_WARNING (CWE-401): [#def552]
glibc-2.41.9000-248-g7b47b3dd21/nss/nss_compat/compat-pwd.c:878:1: warning[-Wanalyzer-malloc-leak]: leak of ‘pwd.pw_passwd’
glibc-2.41.9000-248-g7b47b3dd21/nss/nss_compat/compat-pwd.c:1053:1: enter_function: entry to ‘_nss_compat_getpwuid_r’
glibc-2.41.9000-248-g7b47b3dd21/nss/nss_compat/compat-pwd.c:1067:12: call_function: calling ‘internal_setpwent’ from ‘_nss_compat_getpwuid_r’
glibc-2.41.9000-248-g7b47b3dd21/nss/nss_compat/compat-pwd.c:1067:12: return_function: returning to ‘_nss_compat_getpwuid_r’ from ‘internal_setpwent’
glibc-2.41.9000-248-g7b47b3dd21/nss/nss_compat/compat-pwd.c:1069:6: branch_true: following ‘true’ branch (when ‘result == 1’)...
glibc-2.41.9000-248-g7b47b3dd21/nss/nss_compat/compat-pwd.c:1070:14: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nss/nss_compat/compat-pwd.c:1070:14: call_function: calling ‘internal_getpwuid_r’ from ‘_nss_compat_getpwuid_r’
#  876|       }
#  877|     return NSS_STATUS_RETURN;
#  878|-> }
#  879|   
#  880|   /* Searches in /etc/passwd and the NSS subsystem for a special user id */

Error: GCC_ANALYZER_WARNING (CWE-401): [#def553]
glibc-2.41.9000-248-g7b47b3dd21/nss/nss_compat/compat-spwd.c:428:1: warning[-Wanalyzer-malloc-leak]: leak of ‘pwd.sp_pwdp’
glibc-2.41.9000-248-g7b47b3dd21/nss/nss_compat/compat-spwd.c:773:1: enter_function: entry to ‘_nss_compat_getspnam_r’
glibc-2.41.9000-248-g7b47b3dd21/nss/nss_compat/compat-spwd.c:780:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/nss/nss_compat/compat-spwd.c:783:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nss/nss_compat/compat-spwd.c:790:12: call_function: calling ‘internal_setspent’ from ‘_nss_compat_getspnam_r’
glibc-2.41.9000-248-g7b47b3dd21/nss/nss_compat/compat-spwd.c:790:12: return_function: returning to ‘_nss_compat_getspnam_r’ from ‘internal_setspent’
glibc-2.41.9000-248-g7b47b3dd21/nss/nss_compat/compat-spwd.c:792:6: branch_true: following ‘true’ branch (when ‘result == 1’)...
glibc-2.41.9000-248-g7b47b3dd21/nss/nss_compat/compat-spwd.c:793:14: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/nss/nss_compat/compat-spwd.c:793:14: call_function: calling ‘internal_getspnam_r’ from ‘_nss_compat_getspnam_r’
#  426|     /* We found the entry.  */
#  427|     return NSS_STATUS_SUCCESS;
#  428|-> }
#  429|   
#  430|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def554]
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/nanosleep.c:41:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U1640>’
#   39|     struct __timespec64 treq64, trem64;
#   40|   
#   41|->   treq64 = valid_timespec_to_timespec64 (*req);
#   42|     int ret = __nanosleep64 (&treq64, rem != NULL ? &trem64 : NULL);
#   43|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def555]
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/nanosleep.c:41:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U76e0>’
#   39|     struct __timespec64 treq64, trem64;
#   40|   
#   41|->   treq64 = valid_timespec_to_timespec64 (*req);
#   42|     int ret = __nanosleep64 (&treq64, rem != NULL ? &trem64 : NULL);
#   43|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def556]
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/sched_rr_gi.c:39:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U5a00>’
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/sched_rr_gi.c:26:1: enter_function: entry to ‘__sched_rr_get_interval64’
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/sched_rr_gi.c:33:7: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/sched_rr_gi.c:37:9: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/sched_rr_gi.c:37:9: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/sched_rr_gi.c:38:6: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/sched_rr_gi.c:38:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/sched_rr_gi.c:39:11: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘__sched_rr_get_interval64’
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/sched_rr_gi.c:39:11: danger: use of uninitialized value ‘ts64.<U5a00>’ here
#   37|     ret = INLINE_SYSCALL_CALL (sched_rr_get_interval, pid, &tp32);
#   38|     if (ret == 0)
#   39|->     *tp = valid_timespec_to_timespec64 (tp32);
#   40|   #endif
#   41|     return ret;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def557]
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/sched_rr_gi.c:39:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U8960>’
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/sched_rr_gi.c:26:1: enter_function: entry to ‘__sched_rr_get_interval64’
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/sched_rr_gi.c:33:7: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/sched_rr_gi.c:37:9: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/sched_rr_gi.c:37:9: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/sched_rr_gi.c:38:6: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/sched_rr_gi.c:38:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/sched_rr_gi.c:39:11: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘__sched_rr_get_interval64’
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/sched_rr_gi.c:39:11: danger: use of uninitialized value ‘ts64.<U8960>’ here
#   37|     ret = INLINE_SYSCALL_CALL (sched_rr_get_interval, pid, &tp32);
#   38|     if (ret == 0)
#   39|->     *tp = valid_timespec_to_timespec64 (tp32);
#   40|   #endif
#   41|     return ret;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def558]
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/spawni.c:227:28: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘__dup2(__open_nocancel(*action.action.open_action.path, *action.action.open_action.oflag | 32768, *action.action.open_action.mode), *action.action.open_action.fd)’
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/spawni.c:119:21: branch_true: following ‘true’ branch (when ‘sig != 65’)...
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/spawni.c:121:12: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/spawni.c:149:10: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/spawni.c:159:8: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/spawni.c:175:6: branch_true: following ‘true’ branch (when ‘file_actions’ is non-NULL)...
 branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/spawni.c:181:21: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/spawni.c:183:44: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/spawni.c:218:20: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/spawni.c:224:28: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/spawni.c:224:20: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/spawni.c:226:25: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/spawni.c:226:25: acquire_resource: opened here
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/spawni.c:227:28: danger: ‘__dup2(__open_nocancel(*action.action.open_action.path, *action.action.open_action.oflag | 32768, *action.action.open_action.mode), *action.action.open_action.fd)’ leaks here; was opened at [(15)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/14)
#  225|   		  {
#  226|   		    if (__dup2 (new_fd, action->action.open_action.fd)
#  227|-> 			!= action->action.open_action.fd)
#  228|   		      goto fail;
#  229|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def559]
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/spawni.c:227:28: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘__dup2(__open_nocancel(*action.action.open_action.path, *action.action.open_action.oflag, *action.action.open_action.mode), *action.action.open_action.fd)’
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/spawni.c:119:21: branch_true: following ‘true’ branch (when ‘sig != 65’)...
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/spawni.c:121:12: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/spawni.c:149:10: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/spawni.c:159:8: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/spawni.c:175:6: branch_true: following ‘true’ branch (when ‘file_actions’ is non-NULL)...
 branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/spawni.c:181:21: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/spawni.c:183:44: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/spawni.c:218:20: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/spawni.c:224:28: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/spawni.c:224:20: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/spawni.c:226:25: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/spawni.c:226:25: acquire_resource: opened here
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/spawni.c:227:28: danger: ‘__dup2(__open_nocancel(*action.action.open_action.path, *action.action.open_action.oflag, *action.action.open_action.mode), *action.action.open_action.fd)’ leaks here; was opened at [(15)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/14)
#  225|   		  {
#  226|   		    if (__dup2 (new_fd, action->action.open_action.fd)
#  227|-> 			!= action->action.open_action.fd)
#  228|   		      goto fail;
#  229|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def560]
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/spawni.c:251:27: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘__dup2(*action.action.dup2_action.fd, *action.action.dup2_action.newfd)’
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/spawni.c:119:21: branch_true: following ‘true’ branch (when ‘sig != 65’)...
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/spawni.c:121:12: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/spawni.c:149:10: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/spawni.c:159:8: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/spawni.c:175:6: branch_true: following ‘true’ branch (when ‘file_actions’ is non-NULL)...
 branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/spawni.c:181:21: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/spawni.c:183:44: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/spawni.c:239:18: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/spawni.c:249:24: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/spawni.c:249:24: acquire_resource: opened here
glibc-2.41.9000-248-g7b47b3dd21/posix/../sysdeps/unix/sysv/linux/spawni.c:251:27: danger: ‘__dup2(*action.action.dup2_action.fd, *action.action.dup2_action.newfd)’ leaks here; was opened at [(13)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/12)
#  249|   	      else if (__dup2 (action->action.dup2_action.fd,
#  250|   			       action->action.dup2_action.newfd)
#  251|-> 		       != action->action.dup2_action.newfd)
#  252|   		goto fail;
#  253|   	      break;

Error: COMPILER_WARNING (CWE-9001): [#def561]
glibc-2.41.9000-248-g7b47b3dd21/posix/confstr.c:293:1: warning[-Wattributes]: ‘[artificial](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-artificial-function-attribute)’ attribute ignored
#  291|   }
#  292|   libc_hidden_def (__confstr)
#  293|-> libc_hidden_def (confstr)
#  294|   weak_alias (__confstr, confstr)

Error: CPPCHECK_WARNING (CWE-476): [#def562]
glibc-2.41.9000-248-g7b47b3dd21/posix/glob.c:1434: warning[nullPointer]: Possible null pointer dereference: newnames
# 1432|                                  == NULL)
# 1433|                           goto memory_error;
# 1434|->                       newnames->count = count;
# 1435|                         newnames->next = names;
# 1436|                         names = newnames;

Error: CPPCHECK_WARNING (CWE-476): [#def563]
glibc-2.41.9000-248-g7b47b3dd21/posix/glob.c:1435: warning[nullPointer]: Possible null pointer dereference: newnames
# 1433|                           goto memory_error;
# 1434|                         newnames->count = count;
# 1435|->                       newnames->next = names;
# 1436|                         names = newnames;
# 1437|                         cur = 0;

Error: CPPCHECK_WARNING (CWE-476): [#def564]
glibc-2.41.9000-248-g7b47b3dd21/posix/glob.c:1439: warning[nullPointer]: Possible null pointer dereference: names
# 1437|                         cur = 0;
# 1438|                       }
# 1439|->                   names->name[cur] = strdup (d.name);
# 1440|                     if (names->name[cur] == NULL)
# 1441|                       goto memory_error;

Error: CPPCHECK_WARNING (CWE-476): [#def565]
glibc-2.41.9000-248-g7b47b3dd21/posix/glob.c:1440: warning[nullPointer]: Possible null pointer dereference: names
# 1438|                       }
# 1439|                     names->name[cur] = strdup (d.name);
# 1440|->                   if (names->name[cur] == NULL)
# 1441|                       goto memory_error;
# 1442|                     ++cur;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def566]
glibc-2.41.9000-248-g7b47b3dd21/posix/regex_internal.c:986:3: warning[-Wanalyzer-malloc-leak]: leak of ‘*set.elems’
glibc-2.41.9000-248-g7b47b3dd21/posix/regexec.c:3128:1: enter_function: entry to ‘check_arrival_expand_ecl_sub’
glibc-2.41.9000-248-g7b47b3dd21/posix/regexec.c:3132:27: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/posix/regexec.c:3136:11: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/posix/regexec.c:3147:12: call_function: calling ‘re_node_set_insert’ from ‘check_arrival_expand_ecl_sub’
glibc-2.41.9000-248-g7b47b3dd21/posix/regexec.c:3147:12: return_function: returning to ‘check_arrival_expand_ecl_sub’ from ‘re_node_set_insert’
glibc-2.41.9000-248-g7b47b3dd21/posix/regexec.c:3148:10: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/posix/regexec.c:3150:11: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/posix/regexec.c:3150:10: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/posix/regexec.c:3152:10: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/posix/regexec.c:3152:10: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/posix/regexec.c:3161:18: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/posix/regexec.c:3132:28: call_function: calling ‘re_node_set_contains’ from ‘check_arrival_expand_ecl_sub’
glibc-2.41.9000-248-g7b47b3dd21/posix/regexec.c:3132:28: return_function: returning to ‘check_arrival_expand_ecl_sub’ from ‘re_node_set_contains’
glibc-2.41.9000-248-g7b47b3dd21/posix/regexec.c:3132:27: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/posix/regexec.c:3136:11: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/posix/regexec.c:3147:12: call_function: calling ‘re_node_set_insert’ from ‘check_arrival_expand_ecl_sub’
#  984|     set->alloc = 1;
#  985|     set->nelem = 1;
#  986|->   set->elems = re_malloc (Idx, 1);
#  987|     if (__glibc_unlikely (set->elems == NULL))
#  988|       {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def567]
glibc-2.41.9000-248-g7b47b3dd21/posix/regex_internal.c:986:3: warning[-Wanalyzer-malloc-leak]: leak of ‘new_nodes.elems’
glibc-2.41.9000-248-g7b47b3dd21/posix/regexec.c:3077:1: enter_function: entry to ‘check_arrival_expand_ecl’
glibc-2.41.9000-248-g7b47b3dd21/posix/regexec.c:3083:3: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/posix/regexec.c:3084:9: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/posix/regexec.c:3084:9: call_function: calling ‘re_node_set_alloc’ from ‘check_arrival_expand_ecl’
glibc-2.41.9000-248-g7b47b3dd21/posix/regexec.c:3084:9: return_function: returning to ‘check_arrival_expand_ecl’ from ‘re_node_set_alloc’
glibc-2.41.9000-248-g7b47b3dd21/posix/regexec.c:3085:6: branch_false: following ‘false’ branch...
 branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/posix/regexec.c:3090:17: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/posix/regexec.c:3092:22: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/posix/regexec.c:3095:10: branch_false: following ‘false’ branch (when ‘outside_node != -1’)...
glibc-2.41.9000-248-g7b47b3dd21/posix/regexec.c:3108:17: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/posix/regexec.c:3108:17: call_function: calling ‘check_arrival_expand_ecl_sub’ from ‘check_arrival_expand_ecl’
#  984|     set->alloc = 1;
#  985|     set->nelem = 1;
#  986|->   set->elems = re_malloc (Idx, 1);
#  987|     if (__glibc_unlikely (set->elems == NULL))
#  988|       {

Error: GCC_ANALYZER_WARNING (CWE-415): [#def568]
glibc-2.41.9000-248-g7b47b3dd21/posix/wordexp.c:88:9: warning[-Wanalyzer-double-free]: double-‘free’ of ‘buffer’
glibc-2.41.9000-248-g7b47b3dd21/posix/wordexp.c:2204:1: enter_function: entry to ‘wordexp’
glibc-2.41.9000-248-g7b47b3dd21/posix/wordexp.c:2209:9: release_memory: first ‘free’ here
glibc-2.41.9000-248-g7b47b3dd21/posix/wordexp.c:2215:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/posix/wordexp.c:2222:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/posix/wordexp.c:2222:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/posix/wordexp.c:2251:9: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/posix/wordexp.c:2281:27: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/posix/wordexp.c:2282:5: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/posix/wordexp.c:2294:17: call_function: calling ‘parse_dollars’ from ‘wordexp’
#   86|   
#   87|         if (buffer == NULL)
#   88|-> 	free (old_buffer);
#   89|       }
#   90|   

Error: GCC_ANALYZER_WARNING (CWE-415): [#def569]
glibc-2.41.9000-248-g7b47b3dd21/posix/wordexp.c:114:9: warning[-Wanalyzer-double-free]: double-‘free’ of ‘buffer’
glibc-2.41.9000-248-g7b47b3dd21/posix/wordexp.c:2204:1: enter_function: entry to ‘wordexp’
glibc-2.41.9000-248-g7b47b3dd21/posix/wordexp.c:2209:9: release_memory: first ‘free’ here
glibc-2.41.9000-248-g7b47b3dd21/posix/wordexp.c:2215:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/posix/wordexp.c:2222:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/posix/wordexp.c:2222:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/posix/wordexp.c:2251:9: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/posix/wordexp.c:2281:27: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/posix/wordexp.c:2282:5: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/posix/wordexp.c:2294:17: call_function: calling ‘parse_dollars’ from ‘wordexp’
#  112|   
#  113|         if (buffer == NULL)
#  114|-> 	free (old_buffer);
#  115|       }
#  116|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def570]
glibc-2.41.9000-248-g7b47b3dd21/resolv/gai_suspend.c:180:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U25a0>’
glibc-2.41.9000-248-g7b47b3dd21/resolv/gai_suspend.c:174:1: enter_function: entry to ‘___gai_suspend’
glibc-2.41.9000-248-g7b47b3dd21/resolv/gai_suspend.c:179:6: branch_true: following ‘true’ branch (when ‘timeout’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/resolv/gai_suspend.c:180:12: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘___gai_suspend’
glibc-2.41.9000-248-g7b47b3dd21/resolv/gai_suspend.c:180:12: danger: use of uninitialized value ‘ts64.<U25a0>’ here
#  178|   
#  179|     if (timeout != NULL)
#  180|->     ts64 = valid_timespec_to_timespec64 (*timeout);
#  181|   
#  182|     return __gai_suspend_time64 (list, ent, timeout != NULL ? &ts64 : NULL);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def571]
glibc-2.41.9000-248-g7b47b3dd21/resolv/gai_suspend.c:180:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U7640>’
glibc-2.41.9000-248-g7b47b3dd21/resolv/gai_suspend.c:174:1: enter_function: entry to ‘___gai_suspend’
glibc-2.41.9000-248-g7b47b3dd21/resolv/gai_suspend.c:179:6: branch_true: following ‘true’ branch (when ‘timeout’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/resolv/gai_suspend.c:180:12: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘___gai_suspend’
glibc-2.41.9000-248-g7b47b3dd21/resolv/gai_suspend.c:180:12: danger: use of uninitialized value ‘ts64.<U7640>’ here
#  178|   
#  179|     if (timeout != NULL)
#  180|->     ts64 = valid_timespec_to_timespec64 (*timeout);
#  181|   
#  182|     return __gai_suspend_time64 (list, ent, timeout != NULL ? &ts64 : NULL);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def572]
glibc-2.41.9000-248-g7b47b3dd21/resolv/getaddrinfo_a.c:178:3: warning[-Wanalyzer-malloc-leak]: leak of ‘waitlist’
glibc-2.41.9000-248-g7b47b3dd21/resolv/getaddrinfo_a.c:46:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/resolv/getaddrinfo_a.c:52:6: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/resolv/getaddrinfo_a.c:79:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/resolv/getaddrinfo_a.c:95:11: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/resolv/getaddrinfo_a.c:95:11: branch_false: following ‘false’ branch (when ‘mode != 0’)...
glibc-2.41.9000-248-g7b47b3dd21/resolv/getaddrinfo_a.c:149:19: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/resolv/getaddrinfo_a.c:148:9: acquire_memory: allocated here
glibc-2.41.9000-248-g7b47b3dd21/resolv/getaddrinfo_a.c:151:10: branch_false: following ‘false’ branch (when ‘waitlist’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/resolv/getaddrinfo_a.c:155:30: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/resolv/getaddrinfo_a.c:178:3: danger: ‘waitlist’ leaks here; was allocated at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
#  176|   
#  177|     /* Release the mutex.  */
#  178|->   __pthread_mutex_unlock (&__gai_requests_mutex);
#  179|   
#  180|     return result;

Error: COMPILER_WARNING (CWE-9001): [#def573]
glibc-2.41.9000-248-g7b47b3dd21/resolv/inet_pton.c:47:1: warning[-Wattributes]: ‘[artificial](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-artificial-function-attribute)’ attribute ignored
#   45|   libc_hidden_def (__inet_pton)
#   46|   weak_alias (__inet_pton, inet_pton)
#   47|-> libc_hidden_weak (inet_pton)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def574]
glibc-2.41.9000-248-g7b47b3dd21/resolv/res_hconf.c:438:11: warning[-Wanalyzer-malloc-leak]: leak of ‘ifaddrs’
glibc-2.41.9000-248-g7b47b3dd21/resolv/res_hconf.c:360:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/resolv/res_hconf.c:364:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/resolv/res_hconf.c:364:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/resolv/res_hconf.c:369:19: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/resolv/res_hconf.c:370:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/resolv/res_hconf.c:375:11: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/resolv/res_hconf.c:381:10: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/resolv/res_hconf.c:385:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/resolv/res_hconf.c:392:10: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/resolv/res_hconf.c:403:11: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/resolv/res_hconf.c:404:14: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/resolv/res_hconf.c:407:21: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/resolv/res_hconf.c:407:21: acquire_memory: allocated here
glibc-2.41.9000-248-g7b47b3dd21/resolv/res_hconf.c:408:14: branch_false: following ‘false’ branch...
 branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/resolv/res_hconf.c:438:11: danger: ‘ifaddrs’ leaks here; was allocated at [(13)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/12)
#  436|   	    }
#  437|   	  /* Just keep enough memory to hold all the interfaces we want.  */
#  438|-> 	  ifaddrs = realloc (ifaddrs, new_num_ifs * sizeof (ifaddrs[0]));
#  439|   	  assert (ifaddrs != NULL);
#  440|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def575]
glibc-2.41.9000-248-g7b47b3dd21/resolv/res_send.c:856:21: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘slen’
glibc-2.41.9000-248-g7b47b3dd21/resolv/res_send.c:802:12: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/resolv/res_send.c:803:41: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/resolv/res_send.c:814:27: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/resolv/res_send.c:820:21: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/resolv/res_send.c:820:20: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/resolv/res_send.c:827:40: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/resolv/res_send.c:827:20: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/resolv/res_send.c:856:21: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/resolv/res_send.c:856:21: danger: use of uninitialized value ‘slen’ here
#  854|   		DIAG_PUSH_NEEDS_COMMENT;
#  855|   		DIAG_IGNORE_Os_NEEDS_COMMENT (5, "-Wmaybe-uninitialized");
#  856|-> 		if (__connect (EXT (statp).nssocks[ns], nsap, slen) < 0) {
#  857|   		DIAG_POP_NEEDS_COMMENT;
#  858|   			__res_iclose(statp, false);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def576]
glibc-2.41.9000-248-g7b47b3dd21/resolv/resolv_conf.c:265:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
glibc-2.41.9000-248-g7b47b3dd21/resolv/resolv_conf.c:581:1: enter_function: entry to ‘__resolv_conf_attach’
glibc-2.41.9000-248-g7b47b3dd21/resolv/resolv_conf.c:583:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/resolv/resolv_conf.c:585:44: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/resolv/resolv_conf.c:586:6: branch_false: following ‘false’ branch (when ‘global_copy’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/resolv/resolv_conf.c:592:9: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/resolv/resolv_conf.c:608:12: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/resolv/resolv_conf.c:620:5: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/resolv/resolv_conf.c:621:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/resolv/resolv_conf.c:622:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/resolv/resolv_conf.c:622:3: call_function: calling ‘put_locked_global’ from ‘__resolv_conf_attach’
glibc-2.41.9000-248-g7b47b3dd21/resolv/resolv_conf.c:622:3: return_function: returning to ‘__resolv_conf_attach’ from ‘put_locked_global’
glibc-2.41.9000-248-g7b47b3dd21/resolv/resolv_conf.c:624:8: call_function: calling ‘update_from_conf’ from ‘__resolv_conf_attach’
#  263|           if (resp->nsaddr_list[i].sin_family == 0)
#  264|             {
#  265|->             if (resp->_u._ext.nsaddrs[i]->sin6_family != AF_INET6)
#  266|                 return false;
#  267|               if (!same_address ((struct sockaddr *) resp->_u._ext.nsaddrs[i],

Error: GCC_ANALYZER_WARNING (CWE-401): [#def577]
glibc-2.41.9000-248-g7b47b3dd21/rt/../rt/lio_listio-common.c:228:10: warning[-Wanalyzer-malloc-leak]: leak of ‘waitlist’
glibc-2.41.9000-248-g7b47b3dd21/rt/../rt/lio_listio-common.c:255:1: enter_function: entry to ‘__lio_listio_24’
glibc-2.41.9000-248-g7b47b3dd21/rt/../rt/lio_listio-common.c:259:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/rt/../rt/lio_listio-common.c:265:10: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/rt/../rt/lio_listio-common.c:265:10: call_function: calling ‘lio_listio_internal’ from ‘__lio_listio_24’
#  226|     __pthread_mutex_unlock (&__aio_requests_mutex);
#  227|   
#  228|->   return result;
#  229|   }
#  230|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def578]
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/mq_timedreceive.c:84:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U4dc0>’
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/mq_timedreceive.c:78:1: enter_function: entry to ‘___mq_timedreceive’
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/mq_timedreceive.c:83:6: branch_true: following ‘true’ branch (when ‘abs_timeout’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/mq_timedreceive.c:84:12: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘___mq_timedreceive’
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/mq_timedreceive.c:84:12: danger: use of uninitialized value ‘ts64.<U4dc0>’ here
#   82|     struct __timespec64 ts64;
#   83|     if (abs_timeout != NULL)
#   84|->     ts64 = valid_timespec_to_timespec64 (*abs_timeout);
#   85|   
#   86|     return __mq_timedreceive_time64 (mqdes, msg_ptr, msg_len, msg_prio,

Error: GCC_ANALYZER_WARNING (CWE-457): [#def579]
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/mq_timedreceive.c:84:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<Uae60>’
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/mq_timedreceive.c:78:1: enter_function: entry to ‘___mq_timedreceive’
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/mq_timedreceive.c:83:6: branch_true: following ‘true’ branch (when ‘abs_timeout’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/mq_timedreceive.c:84:12: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘___mq_timedreceive’
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/mq_timedreceive.c:84:12: danger: use of uninitialized value ‘ts64.<Uae60>’ here
#   82|     struct __timespec64 ts64;
#   83|     if (abs_timeout != NULL)
#   84|->     ts64 = valid_timespec_to_timespec64 (*abs_timeout);
#   85|   
#   86|     return __mq_timedreceive_time64 (mqdes, msg_ptr, msg_len, msg_prio,

Error: GCC_ANALYZER_WARNING (CWE-457): [#def580]
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/mq_timedsend.c:83:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U3dc0>’
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/mq_timedsend.c:78:1: enter_function: entry to ‘___mq_timedsend’
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/mq_timedsend.c:82:6: branch_true: following ‘true’ branch (when ‘abs_timeout’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/mq_timedsend.c:83:12: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘___mq_timedsend’
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/mq_timedsend.c:83:12: danger: use of uninitialized value ‘ts64.<U3dc0>’ here
#   81|     struct __timespec64 ts64;
#   82|     if (abs_timeout != NULL)
#   83|->     ts64 = valid_timespec_to_timespec64 (*abs_timeout);
#   84|   
#   85|     return __mq_timedsend_time64 (mqdes, msg_ptr, msg_len, msg_prio,

Error: GCC_ANALYZER_WARNING (CWE-457): [#def581]
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/mq_timedsend.c:83:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U4e60>’
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/mq_timedsend.c:78:1: enter_function: entry to ‘___mq_timedsend’
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/mq_timedsend.c:82:6: branch_true: following ‘true’ branch (when ‘abs_timeout’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/mq_timedsend.c:83:12: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘___mq_timedsend’
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/mq_timedsend.c:83:12: danger: use of uninitialized value ‘ts64.<U4e60>’ here
#   81|     struct __timespec64 ts64;
#   82|     if (abs_timeout != NULL)
#   83|->     ts64 = valid_timespec_to_timespec64 (*abs_timeout);
#   84|   
#   85|     return __mq_timedsend_time64 (mqdes, msg_ptr, msg_len, msg_prio,

Error: GCC_ANALYZER_WARNING (CWE-457): [#def582]
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_create.c:65:20: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ktimerid’
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_create.c:43:8: branch_false: following ‘false’ branch (when ‘evp’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_create.c:44:30: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_create.c:43:9: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_create.c:61:13: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_create.c:61:13: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_create.c:65:20: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_create.c:65:20: danger: use of uninitialized value ‘ktimerid’ here
#   63|   	  return -1;
#   64|   
#   65|-> 	*timerid = kernel_timer_to_timerid (ktimerid);
#   66|         }
#   67|       else

Error: GCC_ANALYZER_WARNING (CWE-457): [#def583]
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_gettime.c:44:28: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U6960>’
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_gettime.c:28:1: enter_function: entry to ‘___timer_gettime64’
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_gettime.c:37:7: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_gettime.c:41:9: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_gettime.c:41:9: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_gettime.c:42:6: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_gettime.c:42:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_gettime.c:44:28: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘___timer_gettime64’
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_gettime.c:44:28: danger: use of uninitialized value ‘ts64.<U6960>’ here
#   42|     if (ret == 0)
#   43|       {
#   44|->       value->it_interval = valid_timespec_to_timespec64 (its32.it_interval);
#   45|         value->it_value = valid_timespec_to_timespec64 (its32.it_value);
#   46|       }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def584]
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_gettime.c:44:28: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<Ufa00>’
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_gettime.c:28:1: enter_function: entry to ‘___timer_gettime64’
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_gettime.c:37:7: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_gettime.c:41:9: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_gettime.c:41:9: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_gettime.c:42:6: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_gettime.c:42:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_gettime.c:44:28: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘___timer_gettime64’
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_gettime.c:44:28: danger: use of uninitialized value ‘ts64.<Ufa00>’ here
#   42|     if (ret == 0)
#   43|       {
#   44|->       value->it_interval = valid_timespec_to_timespec64 (its32.it_interval);
#   45|         value->it_value = valid_timespec_to_timespec64 (its32.it_value);
#   46|       }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def585]
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_settime.c:63:29: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<Ue960>’
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_settime.c:28:1: enter_function: entry to ‘___timer_settime64’
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_settime.c:44:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_settime.c:49:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_settime.c:50:30: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_settime.c:49:7: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_settime.c:56:23: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_settime.c:59:16: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_settime.c:61:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_settime.c:61:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_settime.c:63:29: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘___timer_settime64’
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_settime.c:63:29: danger: use of uninitialized value ‘ts64.<Ue960>’ here
#   61|     if (retval == 0 && ovalue)
#   62|       {
#   63|->       ovalue->it_interval = valid_timespec_to_timespec64 (oits32.it_interval);
#   64|         ovalue->it_value = valid_timespec_to_timespec64 (oits32.it_value);
#   65|       }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def586]
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_settime.c:63:29: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<Uea00>’
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_settime.c:28:1: enter_function: entry to ‘___timer_settime64’
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_settime.c:44:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_settime.c:49:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_settime.c:50:30: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_settime.c:49:7: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_settime.c:56:23: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_settime.c:59:16: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_settime.c:61:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_settime.c:61:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_settime.c:63:29: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘___timer_settime64’
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_settime.c:63:29: danger: use of uninitialized value ‘ts64.<Uea00>’ here
#   61|     if (retval == 0 && ovalue)
#   62|       {
#   63|->       ovalue->it_interval = valid_timespec_to_timespec64 (oits32.it_interval);
#   64|         ovalue->it_value = valid_timespec_to_timespec64 (oits32.it_value);
#   65|       }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def587]
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_settime.c:88:23: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<Ue960>’
#   86|     int retval;
#   87|   
#   88|->   its64.it_interval = valid_timespec_to_timespec64 (value->it_interval);
#   89|     its64.it_value = valid_timespec_to_timespec64 (value->it_value);
#   90|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def588]
glibc-2.41.9000-248-g7b47b3dd21/rt/../sysdeps/unix/sysv/linux/timer_settime.c:88:23: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<Uea00>’
#   86|     int retval;
#   87|   
#   88|->   its64.it_interval = valid_timespec_to_timespec64 (value->it_interval);
#   89|     its64.it_value = valid_timespec_to_timespec64 (value->it_value);
#   90|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def589]
glibc-2.41.9000-248-g7b47b3dd21/rt/aio_suspend.c:276:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U5dc0>’
glibc-2.41.9000-248-g7b47b3dd21/rt/aio_suspend.c:270:1: enter_function: entry to ‘__aio_suspend’
glibc-2.41.9000-248-g7b47b3dd21/rt/aio_suspend.c:275:6: branch_true: following ‘true’ branch (when ‘timeout’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/rt/aio_suspend.c:276:12: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘__aio_suspend’
glibc-2.41.9000-248-g7b47b3dd21/rt/aio_suspend.c:276:12: danger: use of uninitialized value ‘ts64.<U5dc0>’ here
#  274|   
#  275|     if (timeout != NULL)
#  276|->     ts64 = valid_timespec_to_timespec64 (*timeout);
#  277|   
#  278|     return __aio_suspend_time64 (list, nent, timeout != NULL ? &ts64 : NULL);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def590]
glibc-2.41.9000-248-g7b47b3dd21/rt/aio_suspend.c:276:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<Uce60>’
glibc-2.41.9000-248-g7b47b3dd21/rt/aio_suspend.c:270:1: enter_function: entry to ‘__aio_suspend’
glibc-2.41.9000-248-g7b47b3dd21/rt/aio_suspend.c:275:6: branch_true: following ‘true’ branch (when ‘timeout’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/rt/aio_suspend.c:276:12: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘__aio_suspend’
glibc-2.41.9000-248-g7b47b3dd21/rt/aio_suspend.c:276:12: danger: use of uninitialized value ‘ts64.<Uce60>’ here
#  274|   
#  275|     if (timeout != NULL)
#  276|->     ts64 = valid_timespec_to_timespec64 (*timeout);
#  277|   
#  278|     return __aio_suspend_time64 (list, nent, timeout != NULL ? &ts64 : NULL);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def591]
glibc-2.41.9000-248-g7b47b3dd21/signal/../sysdeps/unix/sysv/linux/libc_sigaction.c:65:26: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘koact.k_sa_handler’
glibc-2.41.9000-248-g7b47b3dd21/signal/../sysdeps/unix/sysv/linux/libc_sigaction.c:58:12: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/signal/../sysdeps/unix/sysv/linux/libc_sigaction.c:58:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/signal/../sysdeps/unix/sysv/linux/libc_sigaction.c:63:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/signal/../sysdeps/unix/sysv/linux/libc_sigaction.c:65:26: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/signal/../sysdeps/unix/sysv/linux/libc_sigaction.c:65:26: danger: use of uninitialized value ‘koact.k_sa_handler’ here
#   63|     if (oact && result >= 0)
#   64|       {
#   65|->       oact->sa_handler = koact.k_sa_handler;
#   66|         memcpy (&oact->sa_mask, &koact.sa_mask, sizeof (sigset_t));
#   67|         oact->sa_flags = koact.sa_flags;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def592]
glibc-2.41.9000-248-g7b47b3dd21/signal/../sysdeps/unix/sysv/linux/sigtimedwait.c:76:14: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U5140>’
glibc-2.41.9000-248-g7b47b3dd21/signal/../sysdeps/unix/sysv/linux/sigtimedwait.c:70:1: enter_function: entry to ‘__sigtimedwait’
glibc-2.41.9000-248-g7b47b3dd21/signal/../sysdeps/unix/sysv/linux/sigtimedwait.c:74:6: branch_true: following ‘true’ branch (when ‘timeout’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/signal/../sysdeps/unix/sysv/linux/sigtimedwait.c:76:14: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘__sigtimedwait’
glibc-2.41.9000-248-g7b47b3dd21/signal/../sysdeps/unix/sysv/linux/sigtimedwait.c:76:14: danger: use of uninitialized value ‘ts64.<U5140>’ here
#   74|     if (timeout != NULL)
#   75|       {
#   76|->       ts64 = valid_timespec_to_timespec64 (*timeout);
#   77|         pts64 = &ts64;
#   78|       }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def593]
glibc-2.41.9000-248-g7b47b3dd21/signal/../sysdeps/unix/sysv/linux/sigtimedwait.c:76:14: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<Uc0a0>’
glibc-2.41.9000-248-g7b47b3dd21/signal/../sysdeps/unix/sysv/linux/sigtimedwait.c:70:1: enter_function: entry to ‘__sigtimedwait’
glibc-2.41.9000-248-g7b47b3dd21/signal/../sysdeps/unix/sysv/linux/sigtimedwait.c:74:6: branch_true: following ‘true’ branch (when ‘timeout’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/signal/../sysdeps/unix/sysv/linux/sigtimedwait.c:76:14: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘__sigtimedwait’
glibc-2.41.9000-248-g7b47b3dd21/signal/../sysdeps/unix/sysv/linux/sigtimedwait.c:76:14: danger: use of uninitialized value ‘ts64.<Uc0a0>’ here
#   74|     if (timeout != NULL)
#   75|       {
#   76|->       ts64 = valid_timespec_to_timespec64 (*timeout);
#   77|         pts64 = &ts64;
#   78|       }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def594]
glibc-2.41.9000-248-g7b47b3dd21/socket/../sysdeps/unix/sysv/linux/recvmmsg.c:55:20: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U50a0>’
glibc-2.41.9000-248-g7b47b3dd21/socket/../sysdeps/unix/sysv/linux/recvmmsg.c:23:1: enter_function: entry to ‘recvmmsg_syscall’
glibc-2.41.9000-248-g7b47b3dd21/socket/../sysdeps/unix/sysv/linux/recvmmsg.c:32:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/socket/../sysdeps/unix/sysv/linux/recvmmsg.c:36:6: branch_true: following ‘true’ branch (when ‘timeout’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/socket/../sysdeps/unix/sysv/linux/recvmmsg.c:38:13: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/socket/../sysdeps/unix/sysv/linux/recvmmsg.c:38:10: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/socket/../sysdeps/unix/sysv/linux/recvmmsg.c:43:14: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/socket/../sysdeps/unix/sysv/linux/recvmmsg.c:52:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/socket/../sysdeps/unix/sysv/linux/recvmmsg.c:54:10: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/socket/../sysdeps/unix/sysv/linux/recvmmsg.c:54:10: branch_true: following ‘true’ branch (when ‘timeout’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/socket/../sysdeps/unix/sysv/linux/recvmmsg.c:55:20: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘recvmmsg_syscall’
glibc-2.41.9000-248-g7b47b3dd21/socket/../sysdeps/unix/sysv/linux/recvmmsg.c:55:20: danger: use of uninitialized value ‘ts64.<U50a0>’ here
#   53|       {
#   54|         if (timeout != NULL)
#   55|->         *timeout = valid_timespec_to_timespec64 (ts32);
#   56|       }
#   57|   #endif

Error: GCC_ANALYZER_WARNING (CWE-457): [#def595]
glibc-2.41.9000-248-g7b47b3dd21/socket/../sysdeps/unix/sysv/linux/recvmmsg.c:55:20: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U8000>’
glibc-2.41.9000-248-g7b47b3dd21/socket/../sysdeps/unix/sysv/linux/recvmmsg.c:23:1: enter_function: entry to ‘recvmmsg_syscall’
glibc-2.41.9000-248-g7b47b3dd21/socket/../sysdeps/unix/sysv/linux/recvmmsg.c:32:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/socket/../sysdeps/unix/sysv/linux/recvmmsg.c:36:6: branch_true: following ‘true’ branch (when ‘timeout’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/socket/../sysdeps/unix/sysv/linux/recvmmsg.c:38:13: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/socket/../sysdeps/unix/sysv/linux/recvmmsg.c:38:10: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/socket/../sysdeps/unix/sysv/linux/recvmmsg.c:43:14: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/socket/../sysdeps/unix/sysv/linux/recvmmsg.c:52:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/socket/../sysdeps/unix/sysv/linux/recvmmsg.c:54:10: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/socket/../sysdeps/unix/sysv/linux/recvmmsg.c:54:10: branch_true: following ‘true’ branch (when ‘timeout’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/socket/../sysdeps/unix/sysv/linux/recvmmsg.c:55:20: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘recvmmsg_syscall’
glibc-2.41.9000-248-g7b47b3dd21/socket/../sysdeps/unix/sysv/linux/recvmmsg.c:55:20: danger: use of uninitialized value ‘ts64.<U8000>’ here
#   53|       {
#   54|         if (timeout != NULL)
#   55|->         *timeout = valid_timespec_to_timespec64 (ts32);
#   56|       }
#   57|   #endif

Error: GCC_ANALYZER_WARNING (CWE-457): [#def596]
glibc-2.41.9000-248-g7b47b3dd21/socket/../sysdeps/unix/sysv/linux/recvmmsg.c:93:14: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U50a0>’
glibc-2.41.9000-248-g7b47b3dd21/socket/../sysdeps/unix/sysv/linux/recvmmsg.c:87:1: enter_function: entry to ‘__recvmmsg’
glibc-2.41.9000-248-g7b47b3dd21/socket/../sysdeps/unix/sysv/linux/recvmmsg.c:91:6: branch_true: following ‘true’ branch (when ‘timeout’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/socket/../sysdeps/unix/sysv/linux/recvmmsg.c:93:14: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘__recvmmsg’
glibc-2.41.9000-248-g7b47b3dd21/socket/../sysdeps/unix/sysv/linux/recvmmsg.c:93:14: danger: use of uninitialized value ‘ts64.<U50a0>’ here
#   91|     if (timeout != NULL)
#   92|       {
#   93|->       ts64 = valid_timespec_to_timespec64 (*timeout);
#   94|         pts64 = &ts64;
#   95|       }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def597]
glibc-2.41.9000-248-g7b47b3dd21/socket/../sysdeps/unix/sysv/linux/recvmmsg.c:93:14: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U8000>’
glibc-2.41.9000-248-g7b47b3dd21/socket/../sysdeps/unix/sysv/linux/recvmmsg.c:87:1: enter_function: entry to ‘__recvmmsg’
glibc-2.41.9000-248-g7b47b3dd21/socket/../sysdeps/unix/sysv/linux/recvmmsg.c:91:6: branch_true: following ‘true’ branch (when ‘timeout’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/socket/../sysdeps/unix/sysv/linux/recvmmsg.c:93:14: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘__recvmmsg’
glibc-2.41.9000-248-g7b47b3dd21/socket/../sysdeps/unix/sysv/linux/recvmmsg.c:93:14: danger: use of uninitialized value ‘ts64.<U8000>’ here
#   91|     if (timeout != NULL)
#   92|       {
#   93|->       ts64 = valid_timespec_to_timespec64 (*timeout);
#   94|         pts64 = &ts64;
#   95|       }

Error: COMPILER_WARNING: [#def598]
glibc-2.41.9000-248-g7b47b3dd21/stdio-common/../include/features.h:435:4: warning[-Wcpp]: #warning _FORTIFY_SOURCE requires compiling with optimization (-O)
#  433|   #if defined _FORTIFY_SOURCE && _FORTIFY_SOURCE > 0
#  434|   # if !defined __OPTIMIZE__ || __OPTIMIZE__ <= 0
#  435|-> #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
#  436|   # elif !__GNUC_PREREQ (4, 1)
#  437|   #  warning _FORTIFY_SOURCE requires GCC 4.1 or later

Error: COMPILER_WARNING (CWE-9001): [#def599]
glibc-2.41.9000-248-g7b47b3dd21/stdio-common/asprintf.c:36:1: warning[-Wattributes]: ‘[artificial](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-artificial-function-attribute)’ attribute ignored
#   34|     return done;
#   35|   }
#   36|-> ldbl_hidden_def (___asprintf, __asprintf)
#   37|   
#   38|   ldbl_strong_alias (___asprintf, __asprintf)

Error: COMPILER_WARNING (CWE-9001): [#def600]
glibc-2.41.9000-248-g7b47b3dd21/stdio-common/dprintf.c:36:1: warning[-Wattributes]: ‘[artificial](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-artificial-function-attribute)’ attribute ignored
#   34|   }
#   35|   libc_hidden_def (__dprintf)
#   36|-> ldbl_hidden_def (__dprintf, dprintf)
#   37|   ldbl_weak_alias (__dprintf, dprintf)

Error: COMPILER_WARNING (CWE-9001): [#def601]
glibc-2.41.9000-248-g7b47b3dd21/stdio-common/fprintf.c:37:1: warning[-Wattributes]: ‘[artificial](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-artificial-function-attribute)’ attribute ignored
#   35|     return done;
#   36|   }
#   37|-> ldbl_hidden_def (__fprintf, fprintf)
#   38|   ldbl_strong_alias (__fprintf, fprintf)
#   39|   

Error: COMPILER_WARNING (CWE-9001): [#def602]
glibc-2.41.9000-248-g7b47b3dd21/stdio-common/sprintf.c:35:1: warning[-Wattributes]: ‘[artificial](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-artificial-function-attribute)’ attribute ignored
#   33|     return done;
#   34|   }
#   35|-> ldbl_hidden_def (__sprintf, sprintf)
#   36|   ldbl_strong_alias (__sprintf, sprintf)
#   37|   ldbl_strong_alias (__sprintf, _IO_sprintf)

Error: COMPILER_WARNING (CWE-9001): [#def603]
glibc-2.41.9000-248-g7b47b3dd21/stdio-common/vfprintf.c:27:1: warning[-Wattributes]: ‘[artificial](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-artificial-function-attribute)’ attribute ignored
#   25|   ldbl_strong_alias (__vfprintf, _IO_vfprintf);
#   26|   ldbl_strong_alias (__vfprintf, vfprintf);
#   27|-> ldbl_hidden_def (__vfprintf, vfprintf)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def604]
glibc-2.41.9000-248-g7b47b3dd21/stdlib/setenv.c:188:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ep’
glibc-2.41.9000-248-g7b47b3dd21/stdlib/setenv.c:156:6: branch_false: following ‘false’ branch (when ‘combined’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/stdlib/setenv.c:159:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/stdlib/setenv.c:170:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/stdlib/setenv.c:175:6: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/stdlib/setenv.c:175:6: branch_true: following ‘true’ branch (when ‘ep’ is NULL)...
glibc-2.41.9000-248-g7b47b3dd21/stdlib/setenv.c:182:34: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/stdlib/setenv.c:183:10: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/stdlib/setenv.c:184:51: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/stdlib/setenv.c:183:11: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/stdlib/setenv.c:188:9: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/stdlib/setenv.c:188:9: danger: dereference of NULL ‘ep’
#  186|   	   can use ep as-is.  Add a null terminator in case current
#  187|   	   usage is less than previous usage.  */
#  188|-> 	ep[1] = NULL;
#  189|         else
#  190|   	{

Error: COMPILER_WARNING (CWE-9001): [#def605]
glibc-2.41.9000-248-g7b47b3dd21/stdlib/wctomb.c:57:1: warning[-Wattributes]: ‘[artificial](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-artificial-function-attribute)’ attribute ignored
#   55|     return __wcrtomb (s, wchar, &__wctomb_state);
#   56|   }
#   57|-> libc_hidden_def (wctomb)

Error: COMPILER_WARNING (CWE-9001): [#def606]
glibc-2.41.9000-248-g7b47b3dd21/string/../sysdeps/x86_64/multiarch/memcpy.c:34:3: warning[-Wattributes]: ‘[artificial](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-artificial-function-attribute)’ attribute ignored
#   32|   # ifdef SHARED
#   33|   __hidden_ver1 (__new_memcpy, __GI_memcpy, __redirect_memcpy)
#   34|->   __attribute__ ((visibility ("hidden")));
#   35|   # endif
#   36|   

Error: COMPILER_WARNING (CWE-9001): [#def607]
glibc-2.41.9000-248-g7b47b3dd21/string/../sysdeps/x86_64/multiarch/memmove.c:35:3: warning[-Wattributes]: ‘[artificial](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-artificial-function-attribute)’ attribute ignored
#   33|   # ifdef SHARED
#   34|   __hidden_ver1 (__libc_memmove, __GI_memmove, __redirect_memmove)
#   35|->   __attribute__ ((visibility ("hidden")));
#   36|   # endif
#   37|   #endif

Error: COMPILER_WARNING (CWE-9001): [#def608]
glibc-2.41.9000-248-g7b47b3dd21/string/../sysdeps/x86_64/multiarch/mempcpy.c:40:3: warning[-Wattributes]: ‘[artificial](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-artificial-function-attribute)’ attribute ignored
#   38|     __attribute__ ((visibility ("hidden"))) __attribute_copy__ (mempcpy);
#   39|   __hidden_ver1 (mempcpy, __GI_mempcpy, __redirect_mempcpy)
#   40|->   __attribute__ ((visibility ("hidden"))) __attribute_copy__ (mempcpy);
#   41|   # endif
#   42|   #endif

Error: COMPILER_WARNING (CWE-9001): [#def609]
glibc-2.41.9000-248-g7b47b3dd21/string/../sysdeps/x86_64/multiarch/memset.c:33:3: warning[-Wattributes]: ‘[artificial](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-artificial-function-attribute)’ attribute ignored
#   31|   # ifdef SHARED
#   32|   __hidden_ver1 (memset, __GI_memset, __redirect_memset)
#   33|->   __attribute__ ((visibility ("hidden"))) __attribute_copy__ (memset);
#   34|   # endif
#   35|   #endif

Error: COMPILER_WARNING (CWE-9001): [#def610]
glibc-2.41.9000-248-g7b47b3dd21/string/../sysdeps/x86_64/multiarch/stpcpy.c:40:3: warning[-Wattributes]: ‘[artificial](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-artificial-function-attribute)’ attribute ignored
#   38|     __attribute__ ((visibility ("hidden"))) __attribute_copy__ (stpcpy);
#   39|   __hidden_ver1 (stpcpy, __GI_stpcpy, __redirect_stpcpy)
#   40|->   __attribute__ ((visibility ("hidden"))) __attribute_copy__ (stpcpy);
#   41|   # endif
#   42|   #endif

Error: COMPILER_WARNING (CWE-9001): [#def611]
glibc-2.41.9000-248-g7b47b3dd21/string/../sysdeps/x86_64/multiarch/strcat.c:33:3: warning[-Wattributes]: ‘[artificial](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-artificial-function-attribute)’ attribute ignored
#   31|   # ifdef SHARED
#   32|   __hidden_ver1 (strcat, __GI_strcat, __redirect_strcat)
#   33|->   __attribute__ ((visibility ("hidden"))) __attribute_copy__ (strcat);
#   34|   # endif
#   35|   #endif

Error: COMPILER_WARNING (CWE-9001): [#def612]
glibc-2.41.9000-248-g7b47b3dd21/string/../sysdeps/x86_64/multiarch/strcpy.c:33:3: warning[-Wattributes]: ‘[artificial](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-artificial-function-attribute)’ attribute ignored
#   31|   # ifdef SHARED
#   32|   __hidden_ver1 (strcpy, __GI_strcpy, __redirect_strcpy)
#   33|->   __attribute__ ((visibility ("hidden"))) __attribute_copy__ (strcpy);
#   34|   # endif
#   35|   #endif

Error: COMPILER_WARNING (CWE-9001): [#def613]
glibc-2.41.9000-248-g7b47b3dd21/string/../sysdeps/x86_64/multiarch/strncat.c:33:3: warning[-Wattributes]: ‘[artificial](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-artificial-function-attribute)’ attribute ignored
#   31|   # ifdef SHARED
#   32|   __hidden_ver1 (strncat, __GI___strncat, __redirect_strncat)
#   33|->   __attribute__((visibility ("hidden"))) __attribute_copy__ (strncat);
#   34|   # endif
#   35|   #endif

Error: COMPILER_WARNING (CWE-9001): [#def614]
glibc-2.41.9000-248-g7b47b3dd21/string/../sysdeps/x86_64/multiarch/strncpy.c:33:3: warning[-Wattributes]: ‘[artificial](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-artificial-function-attribute)’ attribute ignored
#   31|   # ifdef SHARED
#   32|   __hidden_ver1 (strncpy, __GI_strncpy, __redirect_strncpy)
#   33|->   __attribute__ ((visibility ("hidden"))) __attribute_copy__ (strncpy);
#   34|   # endif
#   35|   #endif

Error: COMPILER_WARNING: [#def615]
glibc-2.41.9000-248-g7b47b3dd21/string/../sysdeps/x86_64/multiarch/varshift.h:27:1: warning[-Wpsabi]: SSE vector return without SSE enabled changes the ABI
#   25|   static __inline__ __m128i
#   26|   __m128i_shift_right (__m128i value, unsigned long int offset)
#   27|-> {
#   28|     return _mm_shuffle_epi8 (value,
#   29|   			   _mm_loadu_si128 ((__m128i *) (___m128i_shift_right

Error: COMPILER_WARNING: [#def616]
glibc-2.41.9000-248-g7b47b3dd21/string/../sysdeps/x86_64/multiarch/varshift.h:28:10: note[note]: called from here
#   26|   __m128i_shift_right (__m128i value, unsigned long int offset)
#   27|   {
#   28|->   return _mm_shuffle_epi8 (value,
#   29|   			   _mm_loadu_si128 ((__m128i *) (___m128i_shift_right
#   30|   							 + offset)));

Error: GCC_ANALYZER_WARNING (CWE-457): [#def617]
glibc-2.41.9000-248-g7b47b3dd21/string/strcoll_l.c:184:21: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘idx’
glibc-2.41.9000-248-g7b47b3dd21/string/strcoll_l.c:257:1: enter_function: entry to ‘__strcoll_l’
glibc-2.41.9000-248-g7b47b3dd21/string/strcoll_l.c:269:6: branch_false: following ‘false’ branch (when ‘nrules != 0’)...
glibc-2.41.9000-248-g7b47b3dd21/string/strcoll_l.c:273:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/string/strcoll_l.c:273:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/string/strcoll_l.c:287:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/string/strcoll_l.c:290:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/string/strcoll_l.c:290:3: branch_true: following ‘true’ branch...
 branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/string/strcoll_l.c:311:22: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/string/strcoll_l.c:331:31: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/string/strcoll_l.c:335:11: call_function: inlined call to ‘get_next_seq’ from ‘__strcoll_l’
 branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/string/strcoll_l.c:335:11: call_function: inlined call to ‘get_next_seq’ from ‘__strcoll_l’
 branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/string/strcoll_l.c:335:11: call_function: inlined call to ‘get_next_seq’ from ‘__strcoll_l’
 branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/string/strcoll_l.c:335:11: call_function: inlined call to ‘get_next_seq’ from ‘__strcoll_l’
#  182|         DIAG_PUSH_NEEDS_COMMENT;
#  183|         DIAG_IGNORE_Os_NEEDS_COMMENT (5, "-Wmaybe-uninitialized");
#  184|->       len = weights[idx++];
#  185|         DIAG_POP_NEEDS_COMMENT;
#  186|         /* Skip over indices of previous levels.  */

Error: GCC_ANALYZER_WARNING (CWE-457): [#def618]
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/auth_des.c:205:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*ad.ad_fullname’
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/auth_des.c:139:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/auth_des.c:142:7: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/auth_des.c:203:6: branch_true: following ‘true’ branch (when ‘ad’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/auth_des.c:205:11: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/auth_des.c:205:11: danger: use of uninitialized value ‘*ad.ad_fullname’ here
#  203|     if (ad != NULL)
#  204|       {
#  205|->       if (ad->ad_fullname != NULL)
#  206|   	FREE (ad->ad_fullname, ad->ad_fullnamelen + 1);
#  207|         if (ad->ad_servername != NULL)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def619]
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/clnt_simp.c:73:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*crp.oldhost’
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/clnt_simp.c:63:6: branch_false: following ‘false’ branch (when ‘crp’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/clnt_simp.c:70:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/clnt_simp.c:70:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/clnt_simp.c:72:22: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/clnt_simp.c:72:22: acquire_memory: this call could return NULL
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/clnt_simp.c:73:7: danger: ‘malloc(256)’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
#   71|       {
#   72|         crp->oldhost = malloc (256);
#   73|->       crp->oldhost[0] = 0;
#   74|         crp->socket = RPC_ANYSOCK;
#   75|       }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def620]
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/clnt_simp.c:73:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘malloc(256)’
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/clnt_simp.c:63:6: branch_true: following ‘true’ branch (when ‘crp’ is NULL)...
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/clnt_simp.c:65:42: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/clnt_simp.c:66:10: branch_false: following ‘false’ branch (when ‘crp’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/clnt_simp.c:68:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/clnt_simp.c:70:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/clnt_simp.c:72:22: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/clnt_simp.c:72:22: acquire_memory: this call could return NULL
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/clnt_simp.c:73:7: danger: ‘malloc(256)’ could be NULL: unchecked value from [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6)
#   71|       {
#   72|         crp->oldhost = malloc (256);
#   73|->       crp->oldhost[0] = 0;
#   74|         crp->socket = RPC_ANYSOCK;
#   75|       }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def621]
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/clnt_simp.c:118:10: warning[-Wanalyzer-malloc-leak]: leak of ‘crp’
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/clnt_simp.c:63:6: branch_true: following ‘true’ branch (when ‘crp’ is NULL)...
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/clnt_simp.c:65:42: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/clnt_simp.c:65:42: acquire_memory: allocated here
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/clnt_simp.c:66:10: branch_false: following ‘false’ branch (when ‘crp’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/clnt_simp.c:68:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/clnt_simp.c:70:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/clnt_simp.c:76:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/clnt_simp.c:76:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/clnt_simp.c:76:7: branch_true: following ‘true’ branch (when the strings are equal)...
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/clnt_simp.c:109:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/clnt_simp.c:116:6: branch_false: following ‘false’ branch (when ‘clnt_stat == 0’)...
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/clnt_simp.c:118:10: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/clnt_simp.c:118:10: danger: ‘crp’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
#  116|     if (clnt_stat != RPC_SUCCESS)
#  117|       crp->valid = 0;
#  118|->   return (int) clnt_stat;
#  119|   }
#  120|   libc_hidden_nolink_sunrpc (callrpc, GLIBC_2_0)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def622]
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/svc_simple.c:107:3: warning[-Wanalyzer-malloc-leak]: leak of ‘pl’
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/svc_simple.c:69:6: branch_false: following ‘false’ branch (when ‘procnum != 0’)...
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/svc_simple.c:77:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/svc_simple.c:87:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/svc_simple.c:95:28: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/svc_simple.c:95:28: acquire_memory: allocated here
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/svc_simple.c:96:6: branch_false: following ‘false’ branch (when ‘pl’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/svc_simple.c:101:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/svc_simple.c:107:3: danger: ‘pl’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
#  105|     pl->p_outproc = outproc;
#  106|     pl->p_nxt = proglst;
#  107|->   proglst = pl;
#  108|     return 0;
#  109|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def623]
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/svcauth_des.c:401:6: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1792, 1)’
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/svcauth_des.c:400:5: acquire_memory: allocated here
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/svcauth_des.c:401:6: danger: ‘calloc(1792, 1)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
#  399|     authdes_cache = (struct cache_entry *)
#  400|       calloc (sizeof (struct cache_entry) * AUTHDES_CACHESZ, 1);
#  401|->   if (authdes_cache == NULL)
#  402|       return;
#  403|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def624]
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/svcauth_des.c:401:6: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(2560, 1)’
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/svcauth_des.c:400:5: acquire_memory: allocated here
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/svcauth_des.c:401:6: danger: ‘calloc(2560, 1)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
#  399|     authdes_cache = (struct cache_entry *)
#  400|       calloc (sizeof (struct cache_entry) * AUTHDES_CACHESZ, 1);
#  401|->   if (authdes_cache == NULL)
#  402|       return;
#  403|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def625]
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/svcauth_des.c:409:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘malloc(256)’
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/svcauth_des.c:401:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/svcauth_des.c:404:25: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/svcauth_des.c:404:25: acquire_memory: this call could return NULL
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/svcauth_des.c:408:15: branch_true: following ‘true’ branch (when ‘i != 64’)...
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/svcauth_des.c:409:16: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/svcauth_des.c:409:5: danger: ‘malloc(256) + (long unsigned int)i * 4’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
#  407|      */
#  408|     for (i = 0; i < AUTHDES_CACHESZ; ++i)
#  409|->     authdes_lru[i] = i;
#  410|   }
#  411|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def626]
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/xcrypt.c:179:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘binnum’
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/xcrypt.c:139:1: enter_function: entry to ‘xdecrypt’
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/xcrypt.c:148:9: acquire_memory: this call could return NULL
glibc-2.41.9000-248-g7b47b3dd21/sunrpc/xcrypt.c:150:3: call_function: calling ‘hex2bin’ from ‘xdecrypt’
#  177|   
#  178|     for (i = 0; i < len; i++)
#  179|->     *binnum++ = 16 * hexval (hexnum[2 * i]) + hexval (hexnum[2 * i + 1]);
#  180|   }
#  181|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def627]
glibc-2.41.9000-248-g7b47b3dd21/support/../string/bits/string_fortified.h:81:10: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘bufs[n]’ where non-null expected
glibc-2.41.9000-248-g7b47b3dd21/support/test-container.c:728:1: enter_function: entry to ‘main’
glibc-2.41.9000-248-g7b47b3dd21/support/test-container.c:774:6: branch_false: following ‘false’ branch (when ‘argc > 1’)...
glibc-2.41.9000-248-g7b47b3dd21/support/test-container.c:780:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/support/test-container.c:821:33: call_function: calling ‘concat’ from ‘main’
glibc-2.41.9000-248-g7b47b3dd21/support/test-container.c:821:33: return_function: returning to ‘main’ from ‘concat’
glibc-2.41.9000-248-g7b47b3dd21/support/test-container.c:823:28: call_function: calling ‘concat’ from ‘main’
#argument 1 of ‘__builtin___strcpy_chk’ must be non-null
#   79|        __fortify_clang_warn_if_src_too_large (__dest, __src)
#   80|   {
#   81|->   return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest));
#   82|   }
#   83|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def628]
glibc-2.41.9000-248-g7b47b3dd21/support/resolv_test.c:62:23: warning[-Wanalyzer-malloc-leak]: leak of ‘allocate_compressed_name(name, (unsigned int)*b.offset)’
glibc-2.41.9000-248-g7b47b3dd21/support/resolv_test.c:267:1: enter_function: entry to ‘resolv_response_add_name’
glibc-2.41.9000-248-g7b47b3dd21/support/resolv_test.c:271:6: branch_false: following ‘false’ branch...
 branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/support/resolv_test.c:278:10: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/support/resolv_test.c:297:45: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/support/resolv_test.c:297:13: call_function: calling ‘allocate_compressed_name’ from ‘resolv_response_add_name’
glibc-2.41.9000-248-g7b47b3dd21/support/resolv_test.c:297:13: return_function: returning to ‘resolv_response_add_name’ from ‘allocate_compressed_name’
glibc-2.41.9000-248-g7b47b3dd21/support/resolv_test.c:299:12: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/support/resolv_test.c:303:26: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/support/resolv_test.c:62:23: danger: ‘allocate_compressed_name(name, (unsigned int)*b.offset)’ leaks here; was allocated at [(12)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/11)
#   60|     {
#   61|       const unsigned char *p;
#   62|->     for (p = encoded; *p != '\0';)
#   63|         {
#   64|           /* No compression references are allowed.  */

Error: GCC_ANALYZER_WARNING (CWE-401): [#def629]
glibc-2.41.9000-248-g7b47b3dd21/support/resolv_test.c:1169:7: warning[-Wanalyzer-malloc-leak]: leak of ‘xmalloc(288)’
glibc-2.41.9000-248-g7b47b3dd21/support/resolv_test.c:1169:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/support/resolv_test.c:1172:6: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/support/resolv_test.c:1172:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/support/resolv_test.c:1178:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/support/resolv_test.c:1169:7: danger: ‘xmalloc(288)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
# 1167|                                                     server_thread_tcp);
# 1168|       }
# 1169|->   if (config.single_thread_udp)
# 1170|       start_server_thread_udp_single (obj);
# 1171|   

Error: GCC_ANALYZER_WARNING (CWE-835): [#def630]
glibc-2.41.9000-248-g7b47b3dd21/support/support-open-dev-null-range.c:115:7: warning[-Wanalyzer-infinite-loop]: infinite loop
glibc-2.41.9000-248-g7b47b3dd21/support/support-open-dev-null-range.c:103:1: enter_function: entry to ‘support_open_dev_null_range’
glibc-2.41.9000-248-g7b47b3dd21/support/support-open-dev-null-range.c:115:7: danger: infinite loop here
glibc-2.41.9000-248-g7b47b3dd21/support/support-open-dev-null-range.c:115:14: branch_false: when ‘i >= num’: always following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/support/support-open-dev-null-range.c:127:10: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/support/support-open-dev-null-range.c:127:10: branch_false: when ‘num != i’: always following ‘false’ branch...
 branch_false: ...to here
#  113|       {
#  114|         int i = 1;
#  115|->       for (; i < num; i++)
#  116|   	{
#  117|   	  int fd = open_dev_null (flags, mode);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def631]
glibc-2.41.9000-248-g7b47b3dd21/support/support_capture_subprocess.c:127:6: warning[-Wanalyzer-malloc-leak]: leak of ‘xasprintf("%s/bin", xasprintf("%s/tst-tunables-setuid.%jd", test_dir, (long int)getpid()))’
glibc-2.41.9000-248-g7b47b3dd21/support/support_capture_subprocess.c:113:1: enter_function: entry to ‘copy_and_spawn_sgid’
glibc-2.41.9000-248-g7b47b3dd21/support/support_capture_subprocess.c:123:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/support/support_capture_subprocess.c:126:10: call_function: inlined call to ‘open’ from ‘copy_and_spawn_sgid’
glibc-2.41.9000-248-g7b47b3dd21/support/support_capture_subprocess.c:127:6: danger: ‘xasprintf("%s/bin", xasprintf("%s/tst-tunables-setuid.%jd", test_dir, (long int)getpid()))’ leaks here; was allocated at [(2)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/1)
#  125|   
#  126|     infd = open ("/proc/self/exe", O_RDONLY);
#  127|->   if (infd < 0)
#  128|       FAIL_UNSUPPORTED ("unsupported: Cannot read binary from procfs\n");
#  129|   

Error: GCC_ANALYZER_WARNING (CWE-1341): [#def632]
glibc-2.41.9000-248-g7b47b3dd21/support/support_capture_subprocess.c:191:5: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘__open_alias(xasprintf("%s/bin", xasprintf("%s/tst-tunables-setuid.%jd", test_dir, (long int)getpid())), 193, 448)’
glibc-2.41.9000-248-g7b47b3dd21/support/support_capture_subprocess.c:113:1: enter_function: entry to ‘copy_and_spawn_sgid’
glibc-2.41.9000-248-g7b47b3dd21/support/support_capture_subprocess.c:123:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/support/support_capture_subprocess.c:126:10: call_function: inlined call to ‘open’ from ‘copy_and_spawn_sgid’
glibc-2.41.9000-248-g7b47b3dd21/support/support_capture_subprocess.c:127:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/support/support_capture_subprocess.c:130:11: call_function: inlined call to ‘open’ from ‘copy_and_spawn_sgid’
glibc-2.41.9000-248-g7b47b3dd21/support/support_capture_subprocess.c:132:6: branch_false: following ‘false’ branch...
 branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/support/support_capture_subprocess.c:140:10: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/support/support_capture_subprocess.c:142:10: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/support/support_capture_subprocess.c:161:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/support/support_capture_subprocess.c:163:11: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/support/support_capture_subprocess.c:163:11: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/support/support_capture_subprocess.c:169:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/support/support_capture_subprocess.c:170:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/support/support_capture_subprocess.c:172:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/support/support_capture_subprocess.c:172:3: release_resource: first ‘close’ here
glibc-2.41.9000-248-g7b47b3dd21/support/support_capture_subprocess.c:173:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/support/support_capture_subprocess.c:174:5: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/support/support_capture_subprocess.c:190:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/support/support_capture_subprocess.c:191:5: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/support/support_capture_subprocess.c:191:5: danger: second ‘close’ here; first ‘close’ was at [(18)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/17)
#  189|   err:
#  190|     if (outfd >= 0)
#  191|->     close (outfd);
#  192|     if (infd >= 0)
#  193|       close (infd);

Error: GCC_ANALYZER_WARNING (CWE-1341): [#def633]
glibc-2.41.9000-248-g7b47b3dd21/support/support_capture_subprocess.c:193:5: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘infd’
glibc-2.41.9000-248-g7b47b3dd21/support/support_capture_subprocess.c:113:1: enter_function: entry to ‘copy_and_spawn_sgid’
glibc-2.41.9000-248-g7b47b3dd21/support/support_capture_subprocess.c:123:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/support/support_capture_subprocess.c:126:10: call_function: inlined call to ‘open’ from ‘copy_and_spawn_sgid’
glibc-2.41.9000-248-g7b47b3dd21/support/support_capture_subprocess.c:127:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/support/support_capture_subprocess.c:130:11: call_function: inlined call to ‘open’ from ‘copy_and_spawn_sgid’
glibc-2.41.9000-248-g7b47b3dd21/support/support_capture_subprocess.c:132:6: branch_false: following ‘false’ branch...
 branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/support/support_capture_subprocess.c:140:10: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/support/support_capture_subprocess.c:142:10: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/support/support_capture_subprocess.c:161:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/support/support_capture_subprocess.c:163:11: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/support/support_capture_subprocess.c:163:11: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/support/support_capture_subprocess.c:169:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/support/support_capture_subprocess.c:170:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/support/support_capture_subprocess.c:172:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/support/support_capture_subprocess.c:173:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/support/support_capture_subprocess.c:175:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/support/support_capture_subprocess.c:175:3: release_resource: first ‘close’ here
glibc-2.41.9000-248-g7b47b3dd21/support/support_capture_subprocess.c:176:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/support/support_capture_subprocess.c:177:5: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/support/support_capture_subprocess.c:192:6: branch_true: following ‘true’ branch (when ‘infd != -1’)...
glibc-2.41.9000-248-g7b47b3dd21/support/support_capture_subprocess.c:193:5: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/support/support_capture_subprocess.c:193:5: danger: second ‘close’ here; first ‘close’ was at [(20)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/19)
#  191|       close (outfd);
#  192|     if (infd >= 0)
#  193|->     close (infd);
#  194|     if (execname != NULL)
#  195|       {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def634]
glibc-2.41.9000-248-g7b47b3dd21/support/support_descriptors.c:67:6: warning[-Wanalyzer-malloc-leak]: leak of ‘xmalloc(24)’
glibc-2.41.9000-248-g7b47b3dd21/support/support_descriptors.c:194:1: enter_function: entry to ‘support_descriptors_check’
glibc-2.41.9000-248-g7b47b3dd21/support/support_descriptors.c:196:41: call_function: calling ‘support_descriptors_list’ from ‘support_descriptors_check’
#   65|   
#   66|     DIR *fds = opendir ("/proc/self/fd");
#   67|->   if (fds == NULL)
#   68|       FAIL_EXIT1 ("opendir (\"/proc/self/fd\"): %m");
#   69|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def635]
glibc-2.41.9000-248-g7b47b3dd21/support/support_descriptors.c:76:15: warning[-Wanalyzer-malloc-leak]: leak of ‘xmalloc(24)’
glibc-2.41.9000-248-g7b47b3dd21/support/support_descriptors.c:194:1: enter_function: entry to ‘support_descriptors_check’
glibc-2.41.9000-248-g7b47b3dd21/support/support_descriptors.c:196:41: call_function: calling ‘support_descriptors_list’ from ‘support_descriptors_check’
#   74|         if (e == NULL)
#   75|           {
#   76|->           if (errno != 0)
#   77|               FAIL_EXIT1 ("readdir: %m");
#   78|             break;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def636]
glibc-2.41.9000-248-g7b47b3dd21/support/support_descriptors.c:81:11: warning[-Wanalyzer-malloc-leak]: leak of ‘xmalloc(24)’
glibc-2.41.9000-248-g7b47b3dd21/support/support_descriptors.c:194:1: enter_function: entry to ‘support_descriptors_check’
glibc-2.41.9000-248-g7b47b3dd21/support/support_descriptors.c:196:41: call_function: calling ‘support_descriptors_list’ from ‘support_descriptors_check’
#   79|           }
#   80|   
#   81|->       if (e->d_name[0] == '.')
#   82|           continue;
#   83|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def637]
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:399:14: warning[-Wanalyzer-malloc-leak]: leak of ‘support_fuse_opcode(*f_15(D)->inh.opcode)’
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:574:1: enter_function: entry to ‘support_fuse_reply_error_1’
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:576:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:577:26: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:584:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:587:12: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:587:10: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:588:9: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:588:9: acquire_memory: allocated here
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:588:9: call_function: calling ‘support_fuse_opcode’ from ‘support_fuse_reply_error_1’
#  397|   #undef X
#  398|       default:
#  399|->       return xasprintf ("FUSE_unknown_%u", op);
#  400|       }
#  401|     return xstrdup (result);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def638]
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:399:14: warning[-Wanalyzer-malloc-leak]: leak of ‘support_fuse_opcode(*f_20(D)->inh.opcode)’
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:536:1: enter_function: entry to ‘support_fuse_reply’
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:539:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:540:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:552:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:554:12: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:554:10: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:556:9: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:556:9: acquire_memory: allocated here
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:556:9: call_function: calling ‘support_fuse_opcode’ from ‘support_fuse_reply’
#  397|   #undef X
#  398|       default:
#  399|->       return xasprintf ("FUSE_unknown_%u", op);
#  400|       }
#  401|     return xstrdup (result);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def639]
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:399:14: warning[-Wanalyzer-malloc-leak]: leak of ‘support_fuse_opcode(*p.opcode)’
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:143:1: enter_function: entry to ‘support_fuse_cast_internal’
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:148:25: call_function: calling ‘support_fuse_opcode’ from ‘support_fuse_cast_internal’
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:148:25: return_function: returning to ‘support_fuse_cast_internal’ from ‘support_fuse_opcode’
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:149:22: acquire_memory: allocated here
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:149:22: call_function: calling ‘support_fuse_opcode’ from ‘support_fuse_cast_internal’
#  397|   #undef X
#  398|       default:
#  399|->       return xasprintf ("FUSE_unknown_%u", op);
#  400|       }
#  401|     return xstrdup (result);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def640]
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:399:14: warning[-Wanalyzer-malloc-leak]: leak of ‘support_fuse_opcode(expected)’
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:143:1: enter_function: entry to ‘support_fuse_cast_internal’
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:148:25: acquire_memory: allocated here
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:148:25: call_function: calling ‘support_fuse_opcode’ from ‘support_fuse_cast_internal’
#  397|   #undef X
#  398|       default:
#  399|->       return xasprintf ("FUSE_unknown_%u", op);
#  400|       }
#  401|     return xstrdup (result);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def641]
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:401:10: warning[-Wanalyzer-malloc-leak]: leak of ‘support_fuse_opcode(*f_15(D)->inh.opcode)’
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:574:1: enter_function: entry to ‘support_fuse_reply_error_1’
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:576:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:577:26: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:584:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:591:11: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:591:11: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:592:5: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:592:5: acquire_memory: allocated here
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:592:5: call_function: calling ‘support_fuse_opcode’ from ‘support_fuse_reply_error_1’
#  399|         return xasprintf ("FUSE_unknown_%u", op);
#  400|       }
#  401|->   return xstrdup (result);
#  402|   }
#  403|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def642]
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:401:10: warning[-Wanalyzer-malloc-leak]: leak of ‘support_fuse_opcode(*f_20(D)->inh.opcode)’
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:536:1: enter_function: entry to ‘support_fuse_reply’
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:539:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:540:3: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:552:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:554:12: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:554:10: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:556:9: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:556:9: acquire_memory: allocated here
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:556:9: call_function: calling ‘support_fuse_opcode’ from ‘support_fuse_reply’
#  399|         return xasprintf ("FUSE_unknown_%u", op);
#  400|       }
#  401|->   return xstrdup (result);
#  402|   }
#  403|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def643]
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:401:10: warning[-Wanalyzer-malloc-leak]: leak of ‘support_fuse_opcode(*p.opcode)’
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:143:1: enter_function: entry to ‘support_fuse_cast_internal’
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:148:25: call_function: calling ‘support_fuse_opcode’ from ‘support_fuse_cast_internal’
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:148:25: return_function: returning to ‘support_fuse_cast_internal’ from ‘support_fuse_opcode’
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:149:22: acquire_memory: allocated here
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:149:22: call_function: calling ‘support_fuse_opcode’ from ‘support_fuse_cast_internal’
#  399|         return xasprintf ("FUSE_unknown_%u", op);
#  400|       }
#  401|->   return xstrdup (result);
#  402|   }
#  403|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def644]
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:401:10: warning[-Wanalyzer-malloc-leak]: leak of ‘support_fuse_opcode(expected)’
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:143:1: enter_function: entry to ‘support_fuse_cast_internal’
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:148:25: acquire_memory: allocated here
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:148:25: call_function: calling ‘support_fuse_opcode’ from ‘support_fuse_cast_internal’
#  399|         return xasprintf ("FUSE_unknown_%u", op);
#  400|       }
#  401|->   return xstrdup (result);
#  402|   }
#  403|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def645]
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:515:9: warning[-Wanalyzer-malloc-leak]: leak of ‘*f.buffer_start’
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:620:1: enter_function: entry to ‘support_fuse_thread_wrapper’
glibc-2.41.9000-248-g7b47b3dd21/support/support_fuse.c:626:32: call_function: calling ‘support_fuse_next’ from ‘support_fuse_thread_wrapper’
#  513|           FAIL_EXIT (1, "unexpected EOF on FUSE device");
#  514|         if (ret < 0 && errno == EINVAL)
#  515|->         {
#  516|             /* Increase buffer size.  */
#  517|             size_t new_size = 2 * (size_t) (f->buffer_end - f->buffer_start);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def646]
glibc-2.41.9000-248-g7b47b3dd21/support/support_run_diff.c:36:3: warning[-Wanalyzer-malloc-leak]: leak of ‘xasprintf("run_diff-%s", prefix)’
#   34|     char *name = NULL;
#   35|     int fd = create_temp_file (template, &name);
#   36|->   TEST_VERIFY_EXIT (fd >= 0);
#   37|     free (template);
#   38|     xwrite (fd, str, strlen (str));

Error: GCC_ANALYZER_WARNING (CWE-479): [#def647]
glibc-2.41.9000-248-g7b47b3dd21/support/support_test_main.c:149:7: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘exit’ from within signal handler
glibc-2.41.9000-248-g7b47b3dd21/support/support_test_main.c:268:1: enter_function: entry to ‘support_test_main’
glibc-2.41.9000-248-g7b47b3dd21/support/support_test_main.c:270:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/support/support_test_main.c:275:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/support/support_test_main.c:344:10: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/support/support_test_main.c:356:6: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/support/support_test_main.c:356:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/support/support_test_main.c:357:5: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/support/support_test_main.c:368:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/support/support_test_main.c:369:7: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/support/support_test_main.c:412:6: branch_false: following ‘false’ branch (when ‘direct == 0’)...
glibc-2.41.9000-248-g7b47b3dd21/support/support_test_main.c:420:14: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/support/support_test_main.c:421:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/support/support_test_main.c:443:11: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/support/support_test_main.c:443:11: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/support/support_test_main.c:450:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/support/support_test_main.c:111:1: enter_function: entry to ‘signal_handler’
glibc-2.41.9000-248-g7b47b3dd21/support/support_test_main.c:123:3: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/support/support_test_main.c:125:9: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/support/support_test_main.c:131:15: branch_true: following ‘true’ branch (when ‘i != 5’)...
glibc-2.41.9000-248-g7b47b3dd21/support/support_test_main.c:133:16: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/support/support_test_main.c:146:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/support/support_test_main.c:149:7: danger: call to ‘exit’ from within signal handler
#  147|       {
#  148|         printf ("Failed to kill test process: %m\n");
#  149|->       exit (1);
#  150|       }
#  151|   

Error: CPPCHECK_WARNING (CWE-190): [#def648]
glibc-2.41.9000-248-g7b47b3dd21/support/timespec-add.c:40: error[integerOverflow]: Signed integer underflow for expression '(-2147483647-1)-1'.
#   38|         rns = nsd;
#   39|         time_t bs1;
#   40|->       if (!INT_ADD_WRAPV (bs, 1, &bs1))
#   41|           bs = bs1;
#   42|         else if (rs < 0)

Error: CPPCHECK_WARNING (CWE-190): [#def649]
glibc-2.41.9000-248-g7b47b3dd21/support/timespec-sub.c:40: error[integerOverflow]: Signed integer underflow for expression '(-2147483647-1)-1'.
#   38|         rns = ns + TIMESPEC_HZ;
#   39|         time_t bs1;
#   40|->       if (!INT_ADD_WRAPV (bs, 1, &bs1))
#   41|           bs = bs1;
#   42|         else if (- TYPE_SIGNED (time_t) < rs)

Error: CPPCHECK_WARNING (CWE-190): [#def650]
glibc-2.41.9000-248-g7b47b3dd21/support/timespec.c:69: error[integerOverflow]: Signed integer overflow for expression '-(TIMESPEC_HZ)'.
#   67|   {
#   68|     time_t time_ns;
#   69|->   if (INT_MULTIPLY_WRAPV(time.tv_sec, TIMESPEC_HZ, &time_ns))
#   70|       return time.tv_sec < 0 ? TYPE_MINIMUM(time_t) : TYPE_MAXIMUM(time_t);
#   71|     if (INT_ADD_WRAPV(time_ns, time.tv_nsec, &time_ns))

Error: CPPCHECK_WARNING (CWE-758): [#def651]
glibc-2.41.9000-248-g7b47b3dd21/support/timespec.c:69: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#   67|   {
#   68|     time_t time_ns;
#   69|->   if (INT_MULTIPLY_WRAPV(time.tv_sec, TIMESPEC_HZ, &time_ns))
#   70|       return time.tv_sec < 0 ? TYPE_MINIMUM(time_t) : TYPE_MAXIMUM(time_t);
#   71|     if (INT_ADD_WRAPV(time_ns, time.tv_nsec, &time_ns))

Error: GCC_ANALYZER_WARNING (CWE-775): [#def652]
glibc-2.41.9000-248-g7b47b3dd21/support/xdup2.c:26:6: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(from,  to)’
glibc-2.41.9000-248-g7b47b3dd21/support/xdup2.c:26:7: acquire_resource: opened here
glibc-2.41.9000-248-g7b47b3dd21/support/xdup2.c:26:6: danger: ‘dup2(from,  to)’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
#   24|   xdup2 (int from, int to)
#   25|   {
#   26|->   if (dup2 (from, to) < 0)
#   27|       FAIL_EXIT1 ("dup2 (%d, %d): %m", from, to);
#   28|   }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def653]
glibc-2.41.9000-248-g7b47b3dd21/support/xsigstack.c:55:5: warning[-Wanalyzer-malloc-leak]: leak of ‘xmalloc(72)’
glibc-2.41.9000-248-g7b47b3dd21/support/xsigstack.c:54:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/support/xsigstack.c:55:5: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/support/xsigstack.c:55:5: danger: ‘xmalloc(72)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
#   53|   
#   54|     if (sigaltstack (&desc->alt_stack, &desc->old_stack))
#   55|->     FAIL_EXIT1 ("sigaltstack (new stack: sp=%p, size=%zu, flags=%u): %m\n",
#   56|                   desc->alt_stack.ss_sp, desc->alt_stack.ss_size,
#   57|                   desc->alt_stack.ss_flags);

Error: CPPCHECK_WARNING (CWE-457): [#def654]
glibc-2.41.9000-248-g7b47b3dd21/sysdeps/unix/sysv/linux/libc_sigaction.c:65: error[uninitvar]: Uninitialized variable: koact.k_sa_handler
#   63|     if (oact && result >= 0)
#   64|       {
#   65|->       oact->sa_handler = koact.k_sa_handler;
#   66|         memcpy (&oact->sa_mask, &koact.sa_mask, sizeof (sigset_t));
#   67|         oact->sa_flags = koact.sa_flags;

Error: CPPCHECK_WARNING (CWE-457): [#def655]
glibc-2.41.9000-248-g7b47b3dd21/sysdeps/unix/sysv/linux/ptrace.c:49: error[uninitvar]: Uninitialized variable: ret
#   47|       {
#   48|         __set_errno (0);
#   49|->       return ret;
#   50|       }
#   51|   

Error: CPPCHECK_WARNING (CWE-457): [#def656]
glibc-2.41.9000-248-g7b47b3dd21/sysdeps/unix/sysv/linux/shmat.c:40: error[uninitvar]: Uninitialized variable: raddr
#   38|       return (void *) INLINE_SYSCALL_ERROR_RETURN_VALUE (INTERNAL_SYSCALL_ERRNO (resultvar));
#   39|   
#   40|->   return raddr;
#   41|   #endif
#   42|   }

Error: CPPCHECK_WARNING (CWE-457): [#def657]
glibc-2.41.9000-248-g7b47b3dd21/sysdeps/unix/sysv/linux/sigstack.c:54: error[uninitvar]: Uninitialized variable: osas.ss_sp
#   52|     if (result == 0 && oss != NULL)
#   53|       {
#   54|->       oss->ss_sp = osas.ss_sp;
#   55|         oss->ss_onstack = (osas.ss_flags & SS_ONSTACK) != 0;
#   56|       }

Error: CPPCHECK_WARNING (CWE-190): [#def658]
glibc-2.41.9000-248-g7b47b3dd21/sysdeps/x86/dl-diagnostics-cpu.c:312: error[integerOverflow]: Signed integer overflow for expression 'cpuid_extended_leaf_offset+cpuid_main_leaf_limit'.
#  310|     if (limit
#  311|         && maximum_leaf - cpuid_extended_leaf_offset >= cpuid_main_leaf_limit)
#  312|->     maximum_leaf = cpuid_extended_leaf_offset + cpuid_main_leaf_limit - 1;
#  313|     for (unsigned int eax = cpuid_extended_leaf_offset + 1;
#  314|          eax <= maximum_leaf; ++eax)

Error: CPPCHECK_WARNING (CWE-190): [#def659]
glibc-2.41.9000-248-g7b47b3dd21/sysdeps/x86/dl-diagnostics-cpu.c:312: error[integerOverflow]: Signed integer overflow for expression 'cpuid_extended_leaf_offset+cpuid_main_leaf_limit-1'.
#  310|     if (limit
#  311|         && maximum_leaf - cpuid_extended_leaf_offset >= cpuid_main_leaf_limit)
#  312|->     maximum_leaf = cpuid_extended_leaf_offset + cpuid_main_leaf_limit - 1;
#  313|     for (unsigned int eax = cpuid_extended_leaf_offset + 1;
#  314|          eax <= maximum_leaf; ++eax)

Error: CPPCHECK_WARNING (CWE-190): [#def660]
glibc-2.41.9000-248-g7b47b3dd21/sysdeps/x86/dl-diagnostics-cpu.c:313: error[integerOverflow]: Signed integer overflow for expression 'cpuid_extended_leaf_offset+1'.
#  311|         && maximum_leaf - cpuid_extended_leaf_offset >= cpuid_main_leaf_limit)
#  312|       maximum_leaf = cpuid_extended_leaf_offset + cpuid_main_leaf_limit - 1;
#  313|->   for (unsigned int eax = cpuid_extended_leaf_offset + 1;
#  314|          eax <= maximum_leaf; ++eax)
#  315|       {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def661]
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/msgctl.c:57:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘kmsqid’
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/msgctl.c:86:1: enter_function: entry to ‘__msgctl64’
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/msgctl.c:113:10: branch_false: following ‘false’ branch (when ‘buf’ is NULL)...
 branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/msgctl.c:139:13: call_function: inlined call to ‘msgctl_syscall’ from ‘__msgctl64’
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/msgctl.c:140:6: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/msgctl.c:140:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/msgctl.c:143:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/msgctl.c:158:7: call_function: calling ‘kmsqid64_to_msqid64’ from ‘__msgctl64’
#   55|   		     struct __msqid64_ds *msqid64)
#   56|   {
#   57|->   msqid64->msg_perm   = kmsqid->msg_perm;
#   58|     msqid64->msg_stime  = kmsqid->msg_stime
#   59|   		        | ((__time64_t) kmsqid->msg_stime_high << 32);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def662]
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/msgctl.c:57:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘msqid64’
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/msgctl.c:206:1: enter_function: entry to ‘__msgctl’
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/msgctl.c:209:6: branch_false: following ‘false’ branch (when ‘buf’ is NULL)...
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/msgctl.c:222:13: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/msgctl.c:222:13: call_function: calling ‘__msgctl64’ from ‘__msgctl’
#   55|   		     struct __msqid64_ds *msqid64)
#   56|   {
#   57|->   msqid64->msg_perm   = kmsqid->msg_perm;
#   58|     msqid64->msg_stime  = kmsqid->msg_stime
#   59|   		        | ((__time64_t) kmsqid->msg_stime_high << 32);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def663]
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/msgctl.c:191:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘mq64’
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/msgctl.c:206:1: enter_function: entry to ‘__msgctl’
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/msgctl.c:209:6: branch_false: following ‘false’ branch (when ‘buf’ is NULL)...
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/msgctl.c:222:13: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/msgctl.c:222:13: call_function: calling ‘__msgctl64’ from ‘__msgctl’
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/msgctl.c:222:13: return_function: returning to ‘__msgctl’ from ‘__msgctl64’
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/msgctl.c:223:6: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/msgctl.c:226:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/msgctl.c:231:7: call_function: calling ‘msqid64_to_msqid’ from ‘__msgctl’
#  189|   msqid64_to_msqid (struct msqid_ds *mq, const struct __msqid64_ds *mq64)
#  190|   {
#  191|->   mq->msg_perm         = mq64->msg_perm;
#  192|     mq->msg_stime        = mq64->msg_stime;
#  193|     mq->__msg_stime_high = 0;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def664]
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/msgctl.c:191:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘mq’
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/msgctl.c:206:1: enter_function: entry to ‘__msgctl’
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/msgctl.c:209:6: branch_false: following ‘false’ branch (when ‘buf’ is NULL)...
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/msgctl.c:222:13: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/msgctl.c:222:13: call_function: calling ‘__msgctl64’ from ‘__msgctl’
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/msgctl.c:222:13: return_function: returning to ‘__msgctl’ from ‘__msgctl64’
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/msgctl.c:223:6: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/msgctl.c:226:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/msgctl.c:231:7: call_function: calling ‘msqid64_to_msqid’ from ‘__msgctl’
#  189|   msqid64_to_msqid (struct msqid_ds *mq, const struct __msqid64_ds *mq64)
#  190|   {
#  191|->   mq->msg_perm         = mq64->msg_perm;
#  192|     mq->msg_stime        = mq64->msg_stime;
#  193|     mq->__msg_stime_high = 0;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def665]
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/semctl.c:68:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘semid64’
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/semctl.c:272:1: enter_function: entry to ‘__semctl’
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/semctl.c:298:25: call_function: calling ‘semun_to_semun64’ from ‘__semctl’
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/semctl.c:298:25: return_function: returning to ‘__semctl’ from ‘semun_to_semun64’
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/semctl.c:300:13: call_function: calling ‘__semctl64’ from ‘__semctl’
#   66|   		     struct kernel_semid64_ds *ksemid)
#   67|   {
#   68|->   ksemid->sem_perm       = semid64->sem_perm;
#   69|     ksemid->sem_otime      = semid64->sem_otime;
#   70|     ksemid->sem_otime_high = semid64->sem_otime >> 32;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def666]
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/semctl.c:80:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ksemid’
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/semctl.c:272:1: enter_function: entry to ‘__semctl’
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/semctl.c:298:25: call_function: calling ‘semun_to_semun64’ from ‘__semctl’
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/semctl.c:298:25: return_function: returning to ‘__semctl’ from ‘semun_to_semun64’
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/semctl.c:300:13: call_function: calling ‘__semctl64’ from ‘__semctl’
#   78|   		     struct __semid64_ds *semid64)
#   79|   {
#   80|->   semid64->sem_perm  = ksemid->sem_perm;
#   81|     semid64->sem_otime = ksemid->sem_otime
#   82|   		       | ((__time64_t) ksemid->sem_otime_high << 32);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def667]
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/semctl.c:80:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘semid64’
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/semctl.c:272:1: enter_function: entry to ‘__semctl’
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/semctl.c:298:25: call_function: calling ‘semun_to_semun64’ from ‘__semctl’
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/semctl.c:298:25: return_function: returning to ‘__semctl’ from ‘semun_to_semun64’
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/semctl.c:300:13: call_function: calling ‘__semctl64’ from ‘__semctl’
#   78|   		     struct __semid64_ds *semid64)
#   79|   {
#   80|->   semid64->sem_perm  = ksemid->sem_perm;
#   81|     semid64->sem_otime = ksemid->sem_otime
#   82|   		       | ((__time64_t) ksemid->sem_otime_high << 32);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def668]
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/semtimedop.c:79:14: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U8640>’
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/semtimedop.c:73:1: enter_function: entry to ‘__semtimedop’
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/semtimedop.c:77:6: branch_true: following ‘true’ branch (when ‘timeout’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/semtimedop.c:79:14: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘__semtimedop’
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/semtimedop.c:79:14: danger: use of uninitialized value ‘ts64.<U8640>’ here
#   77|     if (timeout != NULL)
#   78|       {
#   79|->       ts64 = valid_timespec_to_timespec64 (*timeout);
#   80|         pts64 = &ts64;
#   81|       }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def669]
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/semtimedop.c:79:14: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<Ub5a0>’
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/semtimedop.c:73:1: enter_function: entry to ‘__semtimedop’
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/semtimedop.c:77:6: branch_true: following ‘true’ branch (when ‘timeout’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/semtimedop.c:79:14: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘__semtimedop’
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/semtimedop.c:79:14: danger: use of uninitialized value ‘ts64.<Ub5a0>’ here
#   77|     if (timeout != NULL)
#   78|       {
#   79|->       ts64 = valid_timespec_to_timespec64 (*timeout);
#   80|         pts64 = &ts64;
#   81|       }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def670]
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/shmctl.c:57:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘kshmid’
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/shmctl.c:86:1: enter_function: entry to ‘__shmctl64’
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/shmctl.c:115:10: branch_false: following ‘false’ branch (when ‘buf’ is NULL)...
 branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/shmctl.c:142:13: call_function: inlined call to ‘shmctl_syscall’ from ‘__shmctl64’
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/shmctl.c:143:6: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/shmctl.c:143:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/shmctl.c:146:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/shmctl.c:161:7: call_function: calling ‘kshmid64_to_shmid64’ from ‘__shmctl64’
#   55|   		     struct __shmid64_ds *shmid64)
#   56|   {
#   57|->   shmid64->shm_perm   = kshmid->shm_perm;
#   58|     shmid64->shm_segsz  = kshmid->shm_segsz;
#   59|     shmid64->shm_atime  = kshmid->shm_atime

Error: GCC_ANALYZER_WARNING (CWE-476): [#def671]
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/shmctl.c:57:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘shmid64’
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/shmctl.c:207:1: enter_function: entry to ‘__shmctl’
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/shmctl.c:210:6: branch_false: following ‘false’ branch (when ‘buf’ is NULL)...
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/shmctl.c:223:13: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/shmctl.c:223:13: call_function: calling ‘__shmctl64’ from ‘__shmctl’
#   55|   		     struct __shmid64_ds *shmid64)
#   56|   {
#   57|->   shmid64->shm_perm   = kshmid->shm_perm;
#   58|     shmid64->shm_segsz  = kshmid->shm_segsz;
#   59|     shmid64->shm_atime  = kshmid->shm_atime

Error: GCC_ANALYZER_WARNING (CWE-476): [#def672]
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/shmctl.c:193:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘shm64’
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/shmctl.c:207:1: enter_function: entry to ‘__shmctl’
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/shmctl.c:210:6: branch_false: following ‘false’ branch (when ‘buf’ is NULL)...
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/shmctl.c:223:13: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/shmctl.c:223:13: call_function: calling ‘__shmctl64’ from ‘__shmctl’
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/shmctl.c:223:13: return_function: returning to ‘__shmctl’ from ‘__shmctl64’
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/shmctl.c:224:6: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/shmctl.c:227:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/shmctl.c:232:9: call_function: calling ‘shmid64_to_shmid’ from ‘__shmctl’
#  191|   shmid64_to_shmid (struct shmid_ds *shm, const struct __shmid64_ds *shm64)
#  192|   {
#  193|->   shm->shm_perm         = shm64->shm_perm;
#  194|     shm->shm_segsz        = shm64->shm_segsz;
#  195|     shm->shm_atime        = shm64->shm_atime;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def673]
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/shmctl.c:193:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘shm’
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/shmctl.c:207:1: enter_function: entry to ‘__shmctl’
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/shmctl.c:210:6: branch_false: following ‘false’ branch (when ‘buf’ is NULL)...
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/shmctl.c:223:13: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/shmctl.c:223:13: call_function: calling ‘__shmctl64’ from ‘__shmctl’
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/shmctl.c:223:13: return_function: returning to ‘__shmctl’ from ‘__shmctl64’
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/shmctl.c:224:6: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/shmctl.c:227:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/sysvipc/../sysdeps/unix/sysv/linux/shmctl.c:232:9: call_function: calling ‘shmid64_to_shmid’ from ‘__shmctl’
#  191|   shmid64_to_shmid (struct shmid_ds *shm, const struct __shmid64_ds *shm64)
#  192|   {
#  193|->   shm->shm_perm         = shm64->shm_perm;
#  194|     shm->shm_segsz        = shm64->shm_segsz;
#  195|     shm->shm_atime        = shm64->shm_atime;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def674]
glibc-2.41.9000-248-g7b47b3dd21/termios/../sysdeps/unix/sysv/linux/tcgetattr.c:42:28: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘k_termios.c_iflag’
glibc-2.41.9000-248-g7b47b3dd21/termios/../sysdeps/unix/sysv/linux/tcgetattr.c:38:12: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/termios/../sysdeps/unix/sysv/linux/tcgetattr.c:38:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/termios/../sysdeps/unix/sysv/linux/tcgetattr.c:40:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/termios/../sysdeps/unix/sysv/linux/tcgetattr.c:42:28: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/termios/../sysdeps/unix/sysv/linux/tcgetattr.c:42:28: danger: use of uninitialized value ‘k_termios.c_iflag’ here
#   40|     if (__glibc_likely (retval == 0))
#   41|       {
#   42|->       termios_p->c_iflag = k_termios.c_iflag;
#   43|         termios_p->c_oflag = k_termios.c_oflag;
#   44|         termios_p->c_cflag = k_termios.c_cflag;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def675]
glibc-2.41.9000-248-g7b47b3dd21/time/../include/time.h:410:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U2a00>’
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/settimeofday.c:26:1: enter_function: entry to ‘__settimeofday64’
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/settimeofday.c:29:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/settimeofday.c:39:28: call_function: inlined call to ‘timeval64_to_timespec64’ from ‘__settimeofday64’
#  408|     ts64.tv_nsec = tv64.tv_usec * 1000;
#  409|   
#  410|->   return ts64;
#  411|   }
#  412|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def676]
glibc-2.41.9000-248-g7b47b3dd21/time/../include/time.h:410:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U3960>’
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/settimeofday.c:26:1: enter_function: entry to ‘__settimeofday64’
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/settimeofday.c:29:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/settimeofday.c:39:28: call_function: inlined call to ‘timeval64_to_timespec64’ from ‘__settimeofday64’
#  408|     ts64.tv_nsec = tv64.tv_usec * 1000;
#  409|   
#  410|->   return ts64;
#  411|   }
#  412|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def677]
glibc-2.41.9000-248-g7b47b3dd21/time/../include/time.h:422:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U4780>’
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_settime.c:63:30: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘__clock_settime’
#  420|     ts64.tv_nsec = ts.tv_nsec;
#  421|   
#  422|->   return ts64;
#  423|   }
#  424|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def678]
glibc-2.41.9000-248-g7b47b3dd21/time/../include/time.h:422:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U4820>’
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_settime.c:63:30: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘__clock_settime’
#  420|     ts64.tv_nsec = ts.tv_nsec;
#  421|   
#  422|->   return ts64;
#  423|   }
#  424|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def679]
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_getres.c:54:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U5780>’
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_getres.c:29:1: enter_function: entry to ‘__clock_getres64’
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_getres.c:42:7: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_getres.c:49:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_getres.c:49:7: branch_false: following ‘false’ branch (when ‘resultvar <= 4294963200’)...
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_getres.c:49:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_getres.c:53:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_getres.c:54:12: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘__clock_getres64’
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_getres.c:54:12: danger: use of uninitialized value ‘ts64.<U5780>’ here
#   52|   # endif
#   53|     if (r == 0 && res != NULL)
#   54|->     *res = valid_timespec_to_timespec64 (ts32);
#   55|   #endif
#   56|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def680]
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_getres.c:54:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<Ua820>’
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_getres.c:29:1: enter_function: entry to ‘__clock_getres64’
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_getres.c:42:7: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_getres.c:49:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_getres.c:49:7: branch_false: following ‘false’ branch (when ‘resultvar <= 4294963200’)...
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_getres.c:49:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_getres.c:53:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_getres.c:54:12: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘__clock_getres64’
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_getres.c:54:12: danger: use of uninitialized value ‘ts64.<Ua820>’ here
#   52|   # endif
#   53|     if (r == 0 && res != NULL)
#   54|->     *res = valid_timespec_to_timespec64 (ts32);
#   55|   #endif
#   56|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def681]
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_gettime.c:58:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U3780>’
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_gettime.c:29:1: enter_function: entry to ‘__clock_gettime64’
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_gettime.c:40:6: branch_false: following ‘false’ branch (when ‘vdso_time64’ is NULL)...
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_gettime.c:50:9: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_gettime.c:52:6: branch_true: following ‘true’ branch (when ‘vdso_time’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_gettime.c:55:11: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_gettime.c:56:10: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_gettime.c:58:17: danger: use of uninitialized value ‘ts64.<U3780>’ here
#   56|         if (r == 0 && tp32.tv_sec >= 0)
#   57|   	{
#   58|-> 	  *tp = valid_timespec_to_timespec64 (tp32);
#   59|   	  return 0;
#   60|   	}

Error: GCC_ANALYZER_WARNING (CWE-457): [#def682]
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_gettime.c:58:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<Ud820>’
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_gettime.c:29:1: enter_function: entry to ‘__clock_gettime64’
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_gettime.c:40:6: branch_false: following ‘false’ branch (when ‘vdso_time64’ is NULL)...
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_gettime.c:50:9: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_gettime.c:52:6: branch_true: following ‘true’ branch (when ‘vdso_time’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_gettime.c:55:11: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_gettime.c:56:10: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_gettime.c:58:17: danger: use of uninitialized value ‘ts64.<Ud820>’ here
#   56|         if (r == 0 && tp32.tv_sec >= 0)
#   57|   	{
#   58|-> 	  *tp = valid_timespec_to_timespec64 (tp32);
#   59|   	  return 0;
#   60|   	}

Error: GCC_ANALYZER_WARNING (CWE-457): [#def683]
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_gettime.c:80:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U3780>’
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_gettime.c:29:1: enter_function: entry to ‘__clock_gettime64’
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_gettime.c:40:6: branch_false: following ‘false’ branch (when ‘vdso_time64’ is NULL)...
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_gettime.c:50:9: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_gettime.c:69:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_gettime.c:71:6: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_gettime.c:71:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_gettime.c:77:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_gettime.c:78:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_gettime.c:80:13: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘__clock_gettime64’
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_gettime.c:80:13: danger: use of uninitialized value ‘ts64.<U3780>’ here
#   78|     if (r == 0)
#   79|       {
#   80|->       *tp = valid_timespec_to_timespec64 (tp32);
#   81|         return 0;
#   82|       }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def684]
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_gettime.c:80:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<Ud820>’
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_gettime.c:29:1: enter_function: entry to ‘__clock_gettime64’
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_gettime.c:40:6: branch_false: following ‘false’ branch (when ‘vdso_time64’ is NULL)...
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_gettime.c:50:9: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_gettime.c:69:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_gettime.c:71:6: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_gettime.c:71:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_gettime.c:77:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_gettime.c:78:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_gettime.c:80:13: call_function: inlined call to ‘valid_timespec_to_timespec64’ from ‘__clock_gettime64’
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_gettime.c:80:13: danger: use of uninitialized value ‘ts64.<Ud820>’ here
#   78|     if (r == 0)
#   79|       {
#   80|->       *tp = valid_timespec_to_timespec64 (tp32);
#   81|         return 0;
#   82|       }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def685]
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_nanosleep.c:67:20: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U66e0>’
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_nanosleep.c:30:1: enter_function: entry to ‘__clock_nanosleep_time64’
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_nanosleep.c:34:6: branch_false: following ‘false’ branch (when ‘clock_id != 3’)...
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_nanosleep.c:36:6: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_nanosleep.c:51:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_nanosleep.c:61:30: call_function: inlined call to ‘valid_timespec64_to_timespec’ from ‘__clock_nanosleep_time64’
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_nanosleep.c:64:10: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_nanosleep.c:66:15: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_nanosleep.c:66:14: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_nanosleep.c:67:20: danger: use of uninitialized value ‘ts64.<U66e0>’ here
#   65|   	{
#   66|   	  if (r == -EINTR && rem != NULL && (flags & TIMER_ABSTIME) == 0)
#   67|-> 	    *rem = valid_timespec_to_timespec64 (tr32);
#   68|   	}
#   69|       }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def686]
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_nanosleep.c:67:20: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<Uc640>’
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_nanosleep.c:30:1: enter_function: entry to ‘__clock_nanosleep_time64’
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_nanosleep.c:34:6: branch_false: following ‘false’ branch (when ‘clock_id != 3’)...
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_nanosleep.c:36:6: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_nanosleep.c:51:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_nanosleep.c:61:30: call_function: inlined call to ‘valid_timespec64_to_timespec’ from ‘__clock_nanosleep_time64’
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_nanosleep.c:64:10: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_nanosleep.c:66:15: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_nanosleep.c:66:14: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_nanosleep.c:67:20: danger: use of uninitialized value ‘ts64.<Uc640>’ here
#   65|   	{
#   66|   	  if (r == -EINTR && rem != NULL && (flags & TIMER_ABSTIME) == 0)
#   67|-> 	    *rem = valid_timespec_to_timespec64 (tr32);
#   68|   	}
#   69|       }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def687]
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_nanosleep.c:84:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U66e0>’
#   82|     struct __timespec64 treq64, trem64;
#   83|   
#   84|->   treq64 = valid_timespec_to_timespec64 (*req);
#   85|     r = __clock_nanosleep_time64 (clock_id, flags, &treq64,
#   86|                                   rem != NULL ? &trem64 : NULL);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def688]
glibc-2.41.9000-248-g7b47b3dd21/time/../sysdeps/unix/sysv/linux/clock_nanosleep.c:84:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<Uc640>’
#   82|     struct __timespec64 treq64, trem64;
#   83|   
#   84|->   treq64 = valid_timespec_to_timespec64 (*req);
#   85|     r = __clock_nanosleep_time64 (clock_id, flags, &treq64,
#   86|                                   rem != NULL ? &trem64 : NULL);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def689]
glibc-2.41.9000-248-g7b47b3dd21/time/era.c:141:3: warning[-Wanalyzer-malloc-leak]: leak of ‘new_eras’
glibc-2.41.9000-248-g7b47b3dd21/time/era.c:55:6: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/time/era.c:63:9: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/time/era.c:63:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/time/era.c:65:29: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/time/era.c:66:10: branch_false: following ‘false’ branch (when ‘new_num_eras != 0’)...
glibc-2.41.9000-248-g7b47b3dd21/time/era.c:76:29: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/time/era.c:78:14: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/time/era.c:81:45: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/time/era.c:83:14: branch_false: following ‘false’ branch (when ‘new_eras’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/time/era.c:91:27: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/time/era.c:95:29: branch_false: following ‘false’ branch (when ‘new_num_eras <= cnt’)...
glibc-2.41.9000-248-g7b47b3dd21/time/era.c:137:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/time/era.c:141:3: danger: ‘new_eras’ leaks here; was allocated at [(9)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/8)
#  139|   
#  140|    out:
#  141|->   __libc_rwlock_unlock (__libc_setlocale_lock);
#  142|     return data;
#  143|   }

Error: GCC_ANALYZER_WARNING (CWE-131): [#def690]
glibc-2.41.9000-248-g7b47b3dd21/time/tzfile.c:281:5: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
glibc-2.41.9000-248-g7b47b3dd21/time/tzfile.c:106:1: enter_function: entry to ‘__tzfile_read’
glibc-2.41.9000-248-g7b47b3dd21/time/tzfile.c:169:6: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/time/tzfile.c:173:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/time/tzfile.c:173:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/time/tzfile.c:176:3: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/time/tzfile.c:188:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/time/tzfile.c:190:10: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/time/tzfile.c:188:7: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/time/tzfile.c:193:30: call_function: inlined call to ‘decode’ from ‘__tzfile_read’
glibc-2.41.9000-248-g7b47b3dd21/time/tzfile.c:200:6: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/time/tzfile.c:203:6: branch_true: following ‘true’ branch (when ‘trans_width == 4’)...
glibc-2.41.9000-248-g7b47b3dd21/time/tzfile.c:203:27: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/time/tzfile.c:224:6: branch_false: following ‘false’ branch (when ‘trans_width != 8’)...
glibc-2.41.9000-248-g7b47b3dd21/time/tzfile.c:275:26: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/time/tzfile.c:281:5: danger: assigned to ‘time_t *’ {{aka ‘long int *’}} here; ‘sizeof (time_t {{aka long int}})’ is ‘8’
#  279|   			 + chars /* zone_names */
#  280|   			 + tzspec_len + extra);
#  281|->     transitions = malloc (total_size);
#  282|       if (transitions == NULL)
#  283|         goto lose;

Error: CPPCHECK_WARNING (CWE-457): [#def691]
glibc-2.41.9000-248-g7b47b3dd21/timezone/zdump.c:541: error[uninitvar]: Uninitialized variable: hi
#  539|   				       loend + 1 != hiend && !*hiend)) {
#  540|   				cutloyear = lo;
#  541|-> 				cuthiyear = hi;
#  542|   			} else {
#  543|   				fprintf(stderr, _("%s: wild -c argument %s\n"),

Error: CPPCHECK_WARNING (CWE-457): [#def692]
glibc-2.41.9000-248-g7b47b3dd21/timezone/zic.c:2001: warning[uninitvar]: Uninitialized variables: z.z_isdst, z.z_save, z.z_rules, z.z_nrules
# 1999|   	}
# 2000|   	zones = growalloc(zones, sizeof *zones, nzones, &nzones_alloc);
# 2001|-> 	zones[nzones++] = z;
# 2002|   	/*
# 2003|   	** If there was an UNTIL field on this line,

Error: CPPCHECK_WARNING (CWE-686): [#def693]
glibc-2.41.9000-248-g7b47b3dd21/timezone/zic.c:2773: error[invalidFunctionArgBool]: Invalid putc() argument nr 1. A non-boolean value is required.
# 2771|   		  for (i = old0; i < typecnt; i++)
# 2772|   			if (!omittype[i])
# 2773|-> 				putc(ttisstds[i], fp);
# 2774|   		if (utcnt != 0)
# 2775|   		  for (i = old0; i < typecnt; i++)

Error: CPPCHECK_WARNING (CWE-686): [#def694]
glibc-2.41.9000-248-g7b47b3dd21/timezone/zic.c:2777: error[invalidFunctionArgBool]: Invalid putc() argument nr 1. A non-boolean value is required.
# 2775|   		  for (i = old0; i < typecnt; i++)
# 2776|   			if (!omittype[i])
# 2777|-> 				putc(ttisuts[i], fp);
# 2778|   	}
# 2779|   	fprintf(fp, "\n%s\n", string);

Error: COMPILER_WARNING (CWE-9001): [#def695]
glibc-2.41.9000-248-g7b47b3dd21/wcsmbs/../sysdeps/x86_64/multiarch/wcpcpy.c:35:3: warning[-Wattributes]: ‘[artificial](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-artificial-function-attribute)’ attribute ignored
#   33|   # ifdef SHARED
#   34|   __hidden_ver1 (__wcpcpy, __GI___wcpcpy, __redirect_wcpcpy)
#   35|->   __attribute__((visibility ("hidden"))) __attribute_copy__ (wcpcpy);
#   36|   # endif
#   37|   #endif

Error: COMPILER_WARNING (CWE-9001): [#def696]
glibc-2.41.9000-248-g7b47b3dd21/wcsmbs/../sysdeps/x86_64/multiarch/wcpncpy.c:35:3: warning[-Wattributes]: ‘[artificial](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-artificial-function-attribute)’ attribute ignored
#   33|   # ifdef SHARED
#   34|   __hidden_ver1 (__wcpncpy, __GI___wcpncpy, __redirect_wcpncpy)
#   35|->   __attribute__((visibility ("hidden"))) __attribute_copy__ (wcpncpy);
#   36|   # endif
#   37|   #endif

Error: COMPILER_WARNING (CWE-9001): [#def697]
glibc-2.41.9000-248-g7b47b3dd21/wcsmbs/../sysdeps/x86_64/multiarch/wcscat.c:35:3: warning[-Wattributes]: ‘[artificial](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-artificial-function-attribute)’ attribute ignored
#   33|   # ifdef SHARED
#   34|   __hidden_ver1 (__wcscat, __GI___wcscat, __redirect_wcscat)
#   35|->   __attribute__((visibility ("hidden"))) __attribute_copy__ (wcscat);
#   36|   # endif
#   37|   #endif

Error: COMPILER_WARNING (CWE-9001): [#def698]
glibc-2.41.9000-248-g7b47b3dd21/wcsmbs/../sysdeps/x86_64/multiarch/wcscpy.c:64:3: warning[-Wattributes]: ‘[artificial](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-artificial-function-attribute)’ attribute ignored
#   62|   # ifdef SHARED
#   63|   __hidden_ver1 (__wcscpy, __GI___wcscpy, __redirect_wcscpy)
#   64|->   __attribute__((visibility ("hidden"))) __attribute_copy__ (wcscpy);
#   65|   # endif
#   66|   #endif

Error: COMPILER_WARNING (CWE-9001): [#def699]
glibc-2.41.9000-248-g7b47b3dd21/wcsmbs/../sysdeps/x86_64/multiarch/wcsncat.c:32:3: warning[-Wattributes]: ‘[artificial](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-artificial-function-attribute)’ attribute ignored
#   30|   # ifdef SHARED
#   31|   __hidden_ver1 (wcsncat, __GI_wcsncat, __redirect_wcsncat)
#   32|->   __attribute__((visibility ("hidden"))) __attribute_copy__ (wcsncat);
#   33|   # endif
#   34|   #endif

Error: COMPILER_WARNING (CWE-9001): [#def700]
glibc-2.41.9000-248-g7b47b3dd21/wcsmbs/../sysdeps/x86_64/multiarch/wcsncpy.c:35:3: warning[-Wattributes]: ‘[artificial](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-artificial-function-attribute)’ attribute ignored
#   33|   # ifdef SHARED
#   34|   __hidden_ver1 (__wcsncpy, __GI___wcsncpy, __redirect_wcsncpy)
#   35|->   __attribute__((visibility ("hidden"))) __attribute_copy__ (wcsncpy);
#   36|   # endif
#   37|   #endif

Error: COMPILER_WARNING (CWE-9001): [#def701]
glibc-2.41.9000-248-g7b47b3dd21/wcsmbs/../sysdeps/x86_64/multiarch/wmemset.c:38:3: warning[-Wattributes]: ‘[artificial](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-artificial-function-attribute)’ attribute ignored
#   36|     __attribute__ ((visibility ("hidden")));
#   37|   __hidden_ver1 (wmemset, __GI_wmemset, __redirect_wmemset)
#   38|->   __attribute__ ((visibility ("hidden")));
#   39|   # endif
#   40|   #endif

Error: COMPILER_WARNING (CWE-9001): [#def702]
glibc-2.41.9000-248-g7b47b3dd21/wcsmbs/wcrtomb.c:127:1: warning[-Wattributes]: ‘[artificial](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-artificial-function-attribute)’ attribute ignored
#  125|   }
#  126|   weak_alias (__wcrtomb, wcrtomb)
#  127|-> libc_hidden_weak (wcrtomb)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def703]
glibc-2.41.9000-248-g7b47b3dd21/wcsmbs/wcsmbsload.c:211:1: warning[-Wanalyzer-malloc-leak]: leak of ‘new_fcts’
glibc-2.41.9000-248-g7b47b3dd21/wcsmbs/wcsmbsload.c:160:6: branch_true: following ‘true’ branch...
glibc-2.41.9000-248-g7b47b3dd21/wcsmbs/wcsmbsload.c:169:18: branch_true: ...to here
glibc-2.41.9000-248-g7b47b3dd21/wcsmbs/wcsmbsload.c:169:18: acquire_memory: allocated here
glibc-2.41.9000-248-g7b47b3dd21/wcsmbs/wcsmbsload.c:170:10: branch_false: following ‘false’ branch (when ‘new_fcts’ is non-NULL)...
glibc-2.41.9000-248-g7b47b3dd21/wcsmbs/wcsmbsload.c:174:7: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/wcsmbs/wcsmbsload.c:189:10: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/wcsmbs/wcsmbsload.c:196:11: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/wcsmbs/wcsmbsload.c:196:10: branch_false: following ‘false’ branch...
glibc-2.41.9000-248-g7b47b3dd21/wcsmbs/wcsmbsload.c:207:9: branch_false: ...to here
glibc-2.41.9000-248-g7b47b3dd21/wcsmbs/wcsmbsload.c:211:1: danger: ‘new_fcts’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
#  209|   
#  210|     __libc_rwlock_unlock (__libc_setlocale_lock);
#  211|-> }
#  212|   
#  213|   

Error: COMPILER_WARNING (CWE-9001): [#def704]
glibc-2.41.9000-248-g7b47b3dd21/wcsmbs/wmemset.c:56:1: warning[-Wattributes]: ‘[artificial](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-artificial-function-attribute)’ attribute ignored
#   54|   libc_hidden_def (__wmemset)
#   55|   weak_alias (__wmemset, wmemset)
#   56|-> libc_hidden_weak (wmemset)

Scan Properties

analyzer-version-clippy1.86.0
analyzer-version-cppcheck2.17.1
analyzer-version-gcc15.0.1
analyzer-version-gcc-analyzer15.0.1
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-134.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-nameglibc-2.41.9000-10.fc43
store-results-to/tmp/tmp17r31xs3/glibc-2.41.9000-10.fc43.tar.xz
time-created2025-04-25 14:02:28
time-finished2025-04-25 15:31:21
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmp17r31xs3/glibc-2.41.9000-10.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp17r31xs3/glibc-2.41.9000-10.fc43.src.rpm'
tool-versioncsmock-3.8.1.20250422.172604.g26bc3d6-1.el9