Flawfinder version 2.0.10, (C) 2001-2019 David A. Wheeler.
Number of rules (primarily dangerous function names) in C/C++ ruleset: 223
Examining data/coreutils-8.32/gnulib-tests/test-sleep.c
Examining data/coreutils-8.32/gnulib-tests/test-float.c
Examining data/coreutils-8.32/gnulib-tests/getrusage.c
Examining data/coreutils-8.32/gnulib-tests/wctob.c
Examining data/coreutils-8.32/gnulib-tests/test-ftello.c
Examining data/coreutils-8.32/gnulib-tests/wctomb.c
Examining data/coreutils-8.32/gnulib-tests/test-argv-iter.c
Examining data/coreutils-8.32/gnulib-tests/test-intprops.c
Examining data/coreutils-8.32/gnulib-tests/test-fputc.c
Examining data/coreutils-8.32/gnulib-tests/test-getrusage.c
Examining data/coreutils-8.32/gnulib-tests/tmpdir.h
Examining data/coreutils-8.32/gnulib-tests/strerror_r.c
Examining data/coreutils-8.32/gnulib-tests/test-lchown.c
Examining data/coreutils-8.32/gnulib-tests/test-limits-h.c
Examining data/coreutils-8.32/gnulib-tests/test-lutimens.h
Examining data/coreutils-8.32/gnulib-tests/test-freadptr2.c
Examining data/coreutils-8.32/gnulib-tests/test-memcoll.c
Examining data/coreutils-8.32/gnulib-tests/test-canonicalize.c
Examining data/coreutils-8.32/gnulib-tests/test-argmatch.c
Examining data/coreutils-8.32/gnulib-tests/test-chown.c
Examining data/coreutils-8.32/gnulib-tests/test-getgroups.c
Examining data/coreutils-8.32/gnulib-tests/test-mbsrtowcs.c
Examining data/coreutils-8.32/gnulib-tests/warn-on-use.h
Examining data/coreutils-8.32/gnulib-tests/test-write.c
Examining data/coreutils-8.32/gnulib-tests/randoml.c
Examining data/coreutils-8.32/gnulib-tests/test-readlinkat.c
Examining data/coreutils-8.32/gnulib-tests/test-verify-try.c
Examining data/coreutils-8.32/gnulib-tests/test-freopen.c
Examining data/coreutils-8.32/gnulib-tests/test-sys_resource.c
Examining data/coreutils-8.32/gnulib-tests/test-strnlen.c
Examining data/coreutils-8.32/gnulib-tests/test-lock.c
Examining data/coreutils-8.32/gnulib-tests/nap.h
Examining data/coreutils-8.32/gnulib-tests/test-fflush.c
Examining data/coreutils-8.32/gnulib-tests/test-stat.h
Examining data/coreutils-8.32/gnulib-tests/bench-digest.h
Examining data/coreutils-8.32/gnulib-tests/test-strtod.c
Examining data/coreutils-8.32/gnulib-tests/test-isnand.h
Examining data/coreutils-8.32/gnulib-tests/_Noreturn.h
Examining data/coreutils-8.32/gnulib-tests/test-connect.c
Examining data/coreutils-8.32/gnulib-tests/localename.h
Examining data/coreutils-8.32/gnulib-tests/test-usleep.c
Examining data/coreutils-8.32/gnulib-tests/test-inet_ntop.c
Examining data/coreutils-8.32/gnulib-tests/test-version-etc.c
Examining data/coreutils-8.32/gnulib-tests/test-open.c
Examining data/coreutils-8.32/gnulib-tests/test-fcntl.c
Examining data/coreutils-8.32/gnulib-tests/test-dirname.c
Examining data/coreutils-8.32/gnulib-tests/test-ignore-value.c
Examining data/coreutils-8.32/gnulib-tests/test-freopen-safer.c
Examining data/coreutils-8.32/gnulib-tests/test-utimens.h
Examining data/coreutils-8.32/gnulib-tests/test-getcwd-lgpl.c
Examining data/coreutils-8.32/gnulib-tests/test-di-set.c
Examining data/coreutils-8.32/gnulib-tests/test-errno.c
Examining data/coreutils-8.32/gnulib-tests/test-getdtablesize.c
Examining data/coreutils-8.32/gnulib-tests/test-setlocale_null-mt-all.c
Examining data/coreutils-8.32/gnulib-tests/test-fchmodat.c
Examining data/coreutils-8.32/gnulib-tests/test-freadseek.c
Examining data/coreutils-8.32/gnulib-tests/test-mbsstr3.c
Examining data/coreutils-8.32/gnulib-tests/test-stdint.c
Examining data/coreutils-8.32/gnulib-tests/test-getlogin.c
Examining data/coreutils-8.32/gnulib-tests/test-faccessat.c
Examining data/coreutils-8.32/gnulib-tests/bench-md5.c
Examining data/coreutils-8.32/gnulib-tests/test-signal-h.c
Examining data/coreutils-8.32/gnulib-tests/test-base32.c
Examining data/coreutils-8.32/gnulib-tests/test-wchar.c
Examining data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c
Examining data/coreutils-8.32/gnulib-tests/test-locale.c
Examining data/coreutils-8.32/gnulib-tests/test-isatty.c
Examining data/coreutils-8.32/gnulib-tests/test-xstrtoumax.c
Examining data/coreutils-8.32/gnulib-tests/test-i-ring.c
Examining data/coreutils-8.32/gnulib-tests/test-copy-acl.c
Examining data/coreutils-8.32/gnulib-tests/test-fgetc.c
Examining data/coreutils-8.32/gnulib-tests/bench-sha384.c
Examining data/coreutils-8.32/gnulib-tests/test-symlinkat.c
Examining data/coreutils-8.32/gnulib-tests/setlocale.c
Examining data/coreutils-8.32/gnulib-tests/w32sock.h
Examining data/coreutils-8.32/gnulib-tests/test-math.c
Examining data/coreutils-8.32/gnulib-tests/test-inttostr.c
Examining data/coreutils-8.32/gnulib-tests/test-ioctl.c
Examining data/coreutils-8.32/gnulib-tests/test-iswdigit.c
Examining data/coreutils-8.32/gnulib-tests/test-wcrtomb-w32.c
Examining data/coreutils-8.32/gnulib-tests/test-bitrotate.c
Examining data/coreutils-8.32/gnulib-tests/test-chdir.c
Examining data/coreutils-8.32/gnulib-tests/test-exclude.c
Examining data/coreutils-8.32/gnulib-tests/test-strtoimax.c
Examining data/coreutils-8.32/gnulib-tests/test-setlocale_null.c
Examining data/coreutils-8.32/gnulib-tests/test-mbrtowc-w32.c
Examining data/coreutils-8.32/gnulib-tests/test-getcwd.c
Examining data/coreutils-8.32/gnulib-tests/test-parse-datetime.c
Examining data/coreutils-8.32/gnulib-tests/test-mknod.c
Examining data/coreutils-8.32/gnulib-tests/test-futimens.c
Examining data/coreutils-8.32/gnulib-tests/test-ino-map.c
Examining data/coreutils-8.32/gnulib-tests/test-fopen.c
Examining data/coreutils-8.32/gnulib-tests/test-getdelim.c
Examining data/coreutils-8.32/gnulib-tests/test-hard-locale.c
Examining data/coreutils-8.32/gnulib-tests/test-read.c
Examining data/coreutils-8.32/gnulib-tests/test-mbsalign.c
Examining data/coreutils-8.32/gnulib-tests/test-select.h
Examining data/coreutils-8.32/gnulib-tests/test-getaddrinfo.c
Examining data/coreutils-8.32/gnulib-tests/test-xprintf-posix.c
Examining data/coreutils-8.32/gnulib-tests/test-getlogin.h
Examining data/coreutils-8.32/gnulib-tests/test-once.c
Examining data/coreutils-8.32/gnulib-tests/test-memcasecmp.c
Examining data/coreutils-8.32/gnulib-tests/test-freadahead.c
Examining data/coreutils-8.32/gnulib-tests/test-pipe2.c
Examining data/coreutils-8.32/gnulib-tests/test-nanosleep.c
Examining data/coreutils-8.32/gnulib-tests/test-c-strcasecmp.c
Examining data/coreutils-8.32/gnulib-tests/test-unlink.c
Examining data/coreutils-8.32/gnulib-tests/test-renameat.c
Examining data/coreutils-8.32/gnulib-tests/test-openat.c
Examining data/coreutils-8.32/gnulib-tests/test-inet_pton.c
Examining data/coreutils-8.32/gnulib-tests/test-pthread_sigmask2.c
Examining data/coreutils-8.32/gnulib-tests/test-bind.c
Examining data/coreutils-8.32/gnulib-tests/test-realloc-gnu.c
Examining data/coreutils-8.32/gnulib-tests/test-mkdir.h
Examining data/coreutils-8.32/gnulib-tests/test-areadlinkat.c
Examining data/coreutils-8.32/gnulib-tests/test-utime-h.c
Examining data/coreutils-8.32/gnulib-tests/test-digest.h
Examining data/coreutils-8.32/gnulib-tests/localename.c
Examining data/coreutils-8.32/gnulib-tests/test-fclose.c
Examining data/coreutils-8.32/gnulib-tests/test-readlink.h
Examining data/coreutils-8.32/gnulib-tests/test-lchmod.c
Examining data/coreutils-8.32/gnulib-tests/test-ftell.c
Examining data/coreutils-8.32/gnulib-tests/test-malloc-gnu.c
Examining data/coreutils-8.32/gnulib-tests/localename-table.c
Examining data/coreutils-8.32/gnulib-tests/sleep.c
Examining data/coreutils-8.32/gnulib-tests/localename-table.h
Examining data/coreutils-8.32/gnulib-tests/tmpfile.c
Examining data/coreutils-8.32/gnulib-tests/setsockopt.c
Examining data/coreutils-8.32/gnulib-tests/wctomb-impl.h
Examining data/coreutils-8.32/gnulib-tests/test-tls.c
Examining data/coreutils-8.32/gnulib-tests/test-printf-frexp.c
Examining data/coreutils-8.32/gnulib-tests/test-setlocale1.c
Examining data/coreutils-8.32/gnulib-tests/test-quotearg-simple.c
Examining data/coreutils-8.32/gnulib-tests/test-memchr2.c
Examining data/coreutils-8.32/gnulib-tests/test-stdalign.c
Examining data/coreutils-8.32/gnulib-tests/test-iswxdigit.c
Examining data/coreutils-8.32/gnulib-tests/test-setlocale_null-mt-one.c
Examining data/coreutils-8.32/gnulib-tests/null-ptr.h
Examining data/coreutils-8.32/gnulib-tests/test-btowc.c
Examining data/coreutils-8.32/gnulib-tests/test-isnanf-nolibm.c
Examining data/coreutils-8.32/gnulib-tests/macros.h
Examining data/coreutils-8.32/gnulib-tests/timespec-sub.c
Examining data/coreutils-8.32/gnulib-tests/test-ftell3.c
Examining data/coreutils-8.32/gnulib-tests/test-fflush2.c
Examining data/coreutils-8.32/gnulib-tests/test-sys_types.c
Examining data/coreutils-8.32/gnulib-tests/test-fchdir.c
Examining data/coreutils-8.32/gnulib-tests/test-pthread_sigmask1.c
Examining data/coreutils-8.32/gnulib-tests/test-stat-time.c
Examining data/coreutils-8.32/gnulib-tests/test-iconv.c
Examining data/coreutils-8.32/gnulib-tests/test-set-mode-acl.c
Examining data/coreutils-8.32/gnulib-tests/test-xstrtoimax.c
Examining data/coreutils-8.32/gnulib-tests/test-linkat.c
Examining data/coreutils-8.32/gnulib-tests/ioctl.c
Examining data/coreutils-8.32/gnulib-tests/test-raise.c
Examining data/coreutils-8.32/gnulib-tests/test-gethostname.c
Examining data/coreutils-8.32/gnulib-tests/test-closein.c
Examining data/coreutils-8.32/gnulib-tests/test-fopen-safer.c
Examining data/coreutils-8.32/gnulib-tests/test-printf-posix.h
Examining data/coreutils-8.32/gnulib-tests/test-localename.c
Examining data/coreutils-8.32/gnulib-tests/test-strerror_r.c
Examining data/coreutils-8.32/gnulib-tests/test-sha512.c
Examining data/coreutils-8.32/gnulib-tests/test-readlink.c
Examining data/coreutils-8.32/gnulib-tests/test-filevercmp.c
Examining data/coreutils-8.32/gnulib-tests/test-wctype-h.c
Examining data/coreutils-8.32/gnulib-tests/test-base64.c
Examining data/coreutils-8.32/gnulib-tests/test-freading.c
Examining data/coreutils-8.32/gnulib-tests/test-fpurge.c
Examining data/coreutils-8.32/gnulib-tests/test-xstrtol.c
Examining data/coreutils-8.32/gnulib-tests/test-xvasprintf.c
Examining data/coreutils-8.32/gnulib-tests/test-stdlib.c
Examining data/coreutils-8.32/gnulib-tests/test-userspec.c
Examining data/coreutils-8.32/gnulib-tests/test-strtold1.c
Examining data/coreutils-8.32/gnulib-tests/test-localeconv.c
Examining data/coreutils-8.32/gnulib-tests/test-rwlock1.c
Examining data/coreutils-8.32/gnulib-tests/test-priv-set.c
Examining data/coreutils-8.32/gnulib-tests/test-areadlink.c
Examining data/coreutils-8.32/gnulib-tests/bench-sha256.c
Examining data/coreutils-8.32/gnulib-tests/test-nstrftime.c
Examining data/coreutils-8.32/gnulib-tests/bench-sha512.c
Examining data/coreutils-8.32/gnulib-tests/test-count-leading-zeros.c
Examining data/coreutils-8.32/gnulib-tests/connect.c
Examining data/coreutils-8.32/gnulib-tests/test-mbsstr2.c
Examining data/coreutils-8.32/gnulib-tests/test-setlocale2.c
Examining data/coreutils-8.32/gnulib-tests/accept.c
Examining data/coreutils-8.32/gnulib-tests/test-timespec.c
Examining data/coreutils-8.32/gnulib-tests/test-memrchr.c
Examining data/coreutils-8.32/gnulib-tests/test-thread_self.c
Examining data/coreutils-8.32/gnulib-tests/test-openat-safer.c
Examining data/coreutils-8.32/gnulib-tests/perror.c
Examining data/coreutils-8.32/gnulib-tests/test-perror2.c
Examining data/coreutils-8.32/gnulib-tests/test-pathmax.c
Examining data/coreutils-8.32/gnulib-tests/test-select.c
Examining data/coreutils-8.32/gnulib-tests/test-strtod1.c
Examining data/coreutils-8.32/gnulib-tests/test-frexpl.c
Examining data/coreutils-8.32/gnulib-tests/test-environ.c
Examining data/coreutils-8.32/gnulib-tests/test-binary-io.c
Examining data/coreutils-8.32/gnulib-tests/test-getopt-gnu.c
Examining data/coreutils-8.32/gnulib-tests/test-getndelim2.c
Examining data/coreutils-8.32/gnulib-tests/zerosize-ptr.h
Examining data/coreutils-8.32/gnulib-tests/test-alloca-opt.c
Examining data/coreutils-8.32/gnulib-tests/test-localcharset.c
Examining data/coreutils-8.32/gnulib-tests/test-md5.c
Examining data/coreutils-8.32/gnulib-tests/test-freadptr.c
Examining data/coreutils-8.32/gnulib-tests/arg-nonnull.h
Examining data/coreutils-8.32/gnulib-tests/test-fdatasync.c
Examining data/coreutils-8.32/gnulib-tests/test-fseek.c
Examining data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c
Examining data/coreutils-8.32/gnulib-tests/test-striconv.c
Examining data/coreutils-8.32/gnulib-tests/test-pthread.c
Examining data/coreutils-8.32/gnulib-tests/test-utime.c
Examining data/coreutils-8.32/gnulib-tests/test-string.c
Examining data/coreutils-8.32/gnulib-tests/test-close.c
Examining data/coreutils-8.32/gnulib-tests/uniwidth/test-uc_width.c
Examining data/coreutils-8.32/gnulib-tests/uniwidth/test-uc_width2.c
Examining data/coreutils-8.32/gnulib-tests/test-getloadavg.c
Examining data/coreutils-8.32/gnulib-tests/usleep.c
Examining data/coreutils-8.32/gnulib-tests/test-listen.c
Examining data/coreutils-8.32/gnulib-tests/test-dup.c
Examining data/coreutils-8.32/gnulib-tests/test-fprintf-posix.h
Examining data/coreutils-8.32/gnulib-tests/test-iconv-h.c
Examining data/coreutils-8.32/gnulib-tests/test-getline.c
Examining data/coreutils-8.32/gnulib-tests/test-getopt-posix.c
Examining data/coreutils-8.32/gnulib-tests/test-fwrite.c
Examining data/coreutils-8.32/gnulib-tests/test-nl_langinfo-mt.c
Examining data/coreutils-8.32/gnulib-tests/test-lstat.c
Examining data/coreutils-8.32/gnulib-tests/test-fcntl-h.c
Examining data/coreutils-8.32/gnulib-tests/test-strtold.c
Examining data/coreutils-8.32/gnulib-tests/sched_yield.c
Examining data/coreutils-8.32/gnulib-tests/test-inttypes.c
Examining data/coreutils-8.32/gnulib-tests/test-perror.c
Examining data/coreutils-8.32/gnulib-tests/test-getopt.h
Examining data/coreutils-8.32/gnulib-tests/minus-zero.h
Examining data/coreutils-8.32/gnulib-tests/test-rmdir.c
Examining data/coreutils-8.32/gnulib-tests/socket.c
Examining data/coreutils-8.32/gnulib-tests/test-pthread-cond.c
Examining data/coreutils-8.32/gnulib-tests/test-ftello4.c
Examining data/coreutils-8.32/gnulib-tests/test-rmdir.h
Examining data/coreutils-8.32/gnulib-tests/test-utimens.c
Examining data/coreutils-8.32/gnulib-tests/unistr/test-u8-mbtoucr.c
Examining data/coreutils-8.32/gnulib-tests/unistr/test-u8-uctomb.c
Examining data/coreutils-8.32/gnulib-tests/unistr/test-strncat.h
Examining data/coreutils-8.32/gnulib-tests/test-stddef.c
Examining data/coreutils-8.32/gnulib-tests/signature.h
Examining data/coreutils-8.32/gnulib-tests/test-fdutimensat.c
Examining data/coreutils-8.32/gnulib-tests/test-sys_uio.c
Examining data/coreutils-8.32/gnulib-tests/test-sys_stat.c
Examining data/coreutils-8.32/gnulib-tests/test-getopt-main.h
Examining data/coreutils-8.32/gnulib-tests/test-sys_socket.c
Examining data/coreutils-8.32/gnulib-tests/test-vprintf-posix.c
Examining data/coreutils-8.32/gnulib-tests/test-rename.c
Examining data/coreutils-8.32/gnulib-tests/test-symlink.c
Examining data/coreutils-8.32/gnulib-tests/test-sys_wait.h
Examining data/coreutils-8.32/gnulib-tests/test-dup-safer.c
Examining data/coreutils-8.32/gnulib-tests/test-mbrtowc.c
Examining data/coreutils-8.32/gnulib-tests/test-lchown.h
Examining data/coreutils-8.32/gnulib-tests/test-rename.h
Examining data/coreutils-8.32/gnulib-tests/test-frexp.c
Examining data/coreutils-8.32/gnulib-tests/test-mkfifo.c
Examining data/coreutils-8.32/gnulib-tests/test-xfprintf-posix.c
Examining data/coreutils-8.32/gnulib-tests/test-pipe.c
Examining data/coreutils-8.32/gnulib-tests/test-isblank.c
Examining data/coreutils-8.32/gnulib-tests/tmpdir.c
Examining data/coreutils-8.32/gnulib-tests/test-select-stdin.c
Examining data/coreutils-8.32/gnulib-tests/test-uname.c
Examining data/coreutils-8.32/gnulib-tests/test-fseeko3.c
Examining data/coreutils-8.32/gnulib-tests/secure_getenv.c
Examining data/coreutils-8.32/gnulib-tests/test-open.h
Examining data/coreutils-8.32/gnulib-tests/test-printf-frexpl.c
Examining data/coreutils-8.32/gnulib-tests/test-c-ctype.c
Examining data/coreutils-8.32/gnulib-tests/test-vfprintf-posix.c
Examining data/coreutils-8.32/gnulib-tests/test-strncat.c
Examining data/coreutils-8.32/gnulib-tests/test-stdbool.c
Examining data/coreutils-8.32/gnulib-tests/test-fsync.c
Examining data/coreutils-8.32/gnulib-tests/test-netdb.c
Examining data/coreutils-8.32/gnulib-tests/test-netinet_in.c
Examining data/coreutils-8.32/gnulib-tests/test-strtoumax.c
Examining data/coreutils-8.32/gnulib-tests/test-fopen.h
Examining data/coreutils-8.32/gnulib-tests/test-renameatu.c
Examining data/coreutils-8.32/gnulib-tests/test-ftruncate.c
Examining data/coreutils-8.32/gnulib-tests/test-fstat.c
Examining data/coreutils-8.32/gnulib-tests/listen.c
Examining data/coreutils-8.32/gnulib-tests/test-unlink.h
Examining data/coreutils-8.32/gnulib-tests/test-stat.c
Examining data/coreutils-8.32/gnulib-tests/test-rand-isaac.c
Examining data/coreutils-8.32/gnulib-tests/test-cloexec.c
Examining data/coreutils-8.32/gnulib-tests/test-readtokens.c
Examining data/coreutils-8.32/gnulib-tests/locale.c
Examining data/coreutils-8.32/gnulib-tests/test-link.h
Examining data/coreutils-8.32/gnulib-tests/test-alignof.c
Examining data/coreutils-8.32/gnulib-tests/test-unistd.c
Examining data/coreutils-8.32/gnulib-tests/test-vasnprintf.c
Examining data/coreutils-8.32/gnulib-tests/test-lstat.h
Examining data/coreutils-8.32/gnulib-tests/test-lseek.c
Examining data/coreutils-8.32/gnulib-tests/test-fadvise.c
Examining data/coreutils-8.32/gnulib-tests/test-mbsstr1.c
Examining data/coreutils-8.32/gnulib-tests/test-iswblank.c
Examining data/coreutils-8.32/gnulib-tests/test-memchr.c
Examining data/coreutils-8.32/gnulib-tests/test-langinfo.c
Examining data/coreutils-8.32/gnulib-tests/test-arpa_inet.c
Examining data/coreutils-8.32/gnulib-tests/test-xalloc-die.c
Examining data/coreutils-8.32/gnulib-tests/test-sameacls.c
Examining data/coreutils-8.32/gnulib-tests/test-fpending.c
Examining data/coreutils-8.32/gnulib-tests/test-strtoll.c
Examining data/coreutils-8.32/gnulib-tests/test-sigprocmask.c
Examining data/coreutils-8.32/gnulib-tests/test-sched.c
Examining data/coreutils-8.32/gnulib-tests/test-utimensat.c
Examining data/coreutils-8.32/gnulib-tests/test-sys_select.c
Examining data/coreutils-8.32/gnulib-tests/test-mbscasecmp.c
Examining data/coreutils-8.32/gnulib-tests/test-sigaction.c
Examining data/coreutils-8.32/gnulib-tests/test-fseterr.c
Examining data/coreutils-8.32/gnulib-tests/test-statat.c
Examining data/coreutils-8.32/gnulib-tests/test-setenv.c
Examining data/coreutils-8.32/gnulib-tests/bench-sha224.c
Examining data/coreutils-8.32/gnulib-tests/timespec-add.c
Examining data/coreutils-8.32/gnulib-tests/test-symlink.h
Examining data/coreutils-8.32/gnulib-tests/test-strerror.c
Examining data/coreutils-8.32/gnulib-tests/test-areadlink-with-size.c
Examining data/coreutils-8.32/gnulib-tests/test-link.c
Examining data/coreutils-8.32/gnulib-tests/test-byteswap.c
Examining data/coreutils-8.32/gnulib-tests/test-mkfifo.h
Examining data/coreutils-8.32/gnulib-tests/test-time.c
Examining data/coreutils-8.32/gnulib-tests/test-posixtm.c
Examining data/coreutils-8.32/gnulib-tests/test-u64.c
Examining data/coreutils-8.32/gnulib-tests/test-ctype.c
Examining data/coreutils-8.32/gnulib-tests/test-fnmatch.c
Examining data/coreutils-8.32/gnulib-tests/test-remove.c
Examining data/coreutils-8.32/gnulib-tests/test-fnmatch-h.c
Examining data/coreutils-8.32/gnulib-tests/test-isnanl-nolibm.c
Examining data/coreutils-8.32/gnulib-tests/test-select-fd.c
Examining data/coreutils-8.32/gnulib-tests/test-dup2.c
Examining data/coreutils-8.32/gnulib-tests/test-pthread-mutex.c
Examining data/coreutils-8.32/gnulib-tests/test-file-has-acl.c
Examining data/coreutils-8.32/gnulib-tests/test-sockets.c
Examining data/coreutils-8.32/gnulib-tests/test-isnanf.h
Examining data/coreutils-8.32/gnulib-tests/test-wcrtomb.c
Examining data/coreutils-8.32/gnulib-tests/test-sys_wait.c
Examining data/coreutils-8.32/gnulib-tests/nan.h
Examining data/coreutils-8.32/gnulib-tests/infinity.h
Examining data/coreutils-8.32/gnulib-tests/test-yesno.c
Examining data/coreutils-8.32/gnulib-tests/test-accept.c
Examining data/coreutils-8.32/gnulib-tests/test-mkdir.c
Examining data/coreutils-8.32/gnulib-tests/test-calloc-gnu.c
Examining data/coreutils-8.32/gnulib-tests/test-fseeko4.c
Examining data/coreutils-8.32/gnulib-tests/test-quotearg.h
Examining data/coreutils-8.32/gnulib-tests/test-mbschr.c
Examining data/coreutils-8.32/gnulib-tests/test-utimens-common.h
Examining data/coreutils-8.32/gnulib-tests/test-sha1.c
Examining data/coreutils-8.32/gnulib-tests/test-snprintf.c
Examining data/coreutils-8.32/gnulib-tests/test-unlinkat.c
Examining data/coreutils-8.32/gnulib-tests/test-sys_ioctl.c
Examining data/coreutils-8.32/gnulib-tests/c++defs.h
Examining data/coreutils-8.32/gnulib-tests/test-regex.c
Examining data/coreutils-8.32/gnulib-tests/test-fcntl-safer.c
Examining data/coreutils-8.32/gnulib-tests/test-fdopen.c
Examining data/coreutils-8.32/gnulib-tests/test-strtoull.c
Examining data/coreutils-8.32/gnulib-tests/test-ftello3.c
Examining data/coreutils-8.32/gnulib-tests/unused-parameter.h
Examining data/coreutils-8.32/gnulib-tests/test-chown.h
Examining data/coreutils-8.32/gnulib-tests/test-stdio.c
Examining data/coreutils-8.32/gnulib-tests/test-read-file.c
Examining data/coreutils-8.32/gnulib-tests/test-sys_utsname.c
Examining data/coreutils-8.32/gnulib-tests/test-frexp.h
Examining data/coreutils-8.32/gnulib-tests/test-dirent-safer.c
Examining data/coreutils-8.32/gnulib-tests/test-fstatat.c
Examining data/coreutils-8.32/gnulib-tests/test-malloca.c
Examining data/coreutils-8.32/gnulib-tests/test-filenamecat.c
Examining data/coreutils-8.32/gnulib-tests/test-pthread-thread.c
Examining data/coreutils-8.32/gnulib-tests/test-verify.c
Examining data/coreutils-8.32/gnulib-tests/test-unsetenv.c
Examining data/coreutils-8.32/gnulib-tests/test-gettimeofday.c
Examining data/coreutils-8.32/gnulib-tests/bind.c
Examining data/coreutils-8.32/gnulib-tests/test-getopt_long.h
Examining data/coreutils-8.32/gnulib-tests/test-strsignal.c
Examining data/coreutils-8.32/gnulib-tests/test-futimens.h
Examining data/coreutils-8.32/gnulib-tests/randomd.c
Examining data/coreutils-8.32/gnulib-tests/test-fseeko.c
Examining data/coreutils-8.32/gnulib-tests/test-fchownat.c
Examining data/coreutils-8.32/gnulib-tests/test-thread_create.c
Examining data/coreutils-8.32/gnulib-tests/test-hash.c
Examining data/coreutils-8.32/gnulib-tests/test-wcwidth.c
Examining data/coreutils-8.32/gnulib-tests/test-fread.c
Examining data/coreutils-8.32/gnulib-tests/test-termios.c
Examining data/coreutils-8.32/gnulib-tests/test-c-strncasecmp.c
Examining data/coreutils-8.32/gnulib-tests/test-setsockopt.c
Examining data/coreutils-8.32/gnulib-tests/test-dirent.c
Examining data/coreutils-8.32/gnulib-tests/test-isnanl.h
Examining data/coreutils-8.32/gnulib-tests/test-fdopendir.c
Examining data/coreutils-8.32/gnulib-tests/test-xstrtoul.c
Examining data/coreutils-8.32/gnulib-tests/test-sha256.c
Examining data/coreutils-8.32/gnulib-tests/test-vasprintf.c
Examining data/coreutils-8.32/gnulib-tests/test-areadlink.h
Examining data/coreutils-8.32/gnulib-tests/test-mbsinit.c
Examining data/coreutils-8.32/gnulib-tests/bench-sha1.c
Examining data/coreutils-8.32/gnulib-tests/glthread/thread.h
Examining data/coreutils-8.32/gnulib-tests/glthread/thread.c
Examining data/coreutils-8.32/gnulib-tests/glthread/yield.h
Examining data/coreutils-8.32/gnulib-tests/inet_pton.c
Examining data/coreutils-8.32/gnulib-tests/test-signbit.c
Examining data/coreutils-8.32/gnulib-tests/test-isnand-nolibm.c
Examining data/coreutils-8.32/gnulib-tests/test-getprogname.c
Examining data/coreutils-8.32/gnulib-tests/test-sys_time.c
Examining data/coreutils-8.32/src/dircolors.c
Examining data/coreutils-8.32/src/cut.c
Examining data/coreutils-8.32/src/unexpand.c
Examining data/coreutils-8.32/src/printenv.c
Examining data/coreutils-8.32/src/tr.c
Examining data/coreutils-8.32/src/ls-vdir.c
Examining data/coreutils-8.32/src/primes.h
Examining data/coreutils-8.32/src/chroot.c
Examining data/coreutils-8.32/src/basenc.c
Examining data/coreutils-8.32/src/uname.h
Examining data/coreutils-8.32/src/echo.c
Examining data/coreutils-8.32/src/expand-common.c
Examining data/coreutils-8.32/src/hostid.c
Examining data/coreutils-8.32/src/basename.c
Examining data/coreutils-8.32/src/mknod.c
Examining data/coreutils-8.32/src/chown.c
Examining data/coreutils-8.32/src/ln.c
Examining data/coreutils-8.32/src/dircolors.h
Examining data/coreutils-8.32/src/prog-fprintf.c
Examining data/coreutils-8.32/src/groups.c
Examining data/coreutils-8.32/src/nohup.c
Examining data/coreutils-8.32/src/shred.c
Examining data/coreutils-8.32/src/ioblksize.h
Examining data/coreutils-8.32/src/selinux.h
Examining data/coreutils-8.32/src/factor.c
Examining data/coreutils-8.32/src/sync.c
Examining data/coreutils-8.32/src/cksum.c
Examining data/coreutils-8.32/src/set-fields.h
Examining data/coreutils-8.32/src/rmdir.c
Examining data/coreutils-8.32/src/blake2/b2sum.h
Examining data/coreutils-8.32/src/blake2/blake2b-ref.c
Examining data/coreutils-8.32/src/blake2/b2sum.c
Examining data/coreutils-8.32/src/blake2/blake2.h
Examining data/coreutils-8.32/src/blake2/blake2-impl.h
Examining data/coreutils-8.32/src/uname-uname.c
Examining data/coreutils-8.32/src/wc.c
Examining data/coreutils-8.32/src/rm.c
Examining data/coreutils-8.32/src/group-list.h
Examining data/coreutils-8.32/src/chown-core.h
Examining data/coreutils-8.32/src/remove.c
Examining data/coreutils-8.32/src/die.h
Examining data/coreutils-8.32/src/libstdbuf.c
Examining data/coreutils-8.32/src/runcon.c
Examining data/coreutils-8.32/src/getlimits.c
Examining data/coreutils-8.32/src/ls-dir.c
Examining data/coreutils-8.32/src/yes.c
Examining data/coreutils-8.32/src/tty.c
Examining data/coreutils-8.32/src/fmt.c
Examining data/coreutils-8.32/src/realpath.c
Examining data/coreutils-8.32/src/pr.c
Examining data/coreutils-8.32/src/chmod.c
Examining data/coreutils-8.32/src/tac.c
Examining data/coreutils-8.32/src/statx.h
Examining data/coreutils-8.32/src/expand-common.h
Examining data/coreutils-8.32/src/mktemp.c
Examining data/coreutils-8.32/src/printf.c
Examining data/coreutils-8.32/src/ls.h
Examining data/coreutils-8.32/src/sleep.c
Examining data/coreutils-8.32/src/df.c
Examining data/coreutils-8.32/src/hostname.c
Examining data/coreutils-8.32/src/nice.c
Examining data/coreutils-8.32/src/stdbuf.c
Examining data/coreutils-8.32/src/sort.c
Examining data/coreutils-8.32/src/tee.c
Examining data/coreutils-8.32/src/pinky.c
Examining data/coreutils-8.32/src/stat.c
Examining data/coreutils-8.32/src/fs.h
Examining data/coreutils-8.32/src/date.c
Examining data/coreutils-8.32/src/longlong.h
Examining data/coreutils-8.32/src/expand.c
Examining data/coreutils-8.32/src/false.c
Examining data/coreutils-8.32/src/nl.c
Examining data/coreutils-8.32/src/uname.c
Examining data/coreutils-8.32/src/head.c
Examining data/coreutils-8.32/src/cp.c
Examining data/coreutils-8.32/src/sum.c
Examining data/coreutils-8.32/src/prog-fprintf.h
Examining data/coreutils-8.32/src/copy.c
Examining data/coreutils-8.32/src/chown-core.c
Examining data/coreutils-8.32/src/env.c
Examining data/coreutils-8.32/src/set-fields.c
Examining data/coreutils-8.32/src/shuf.c
Examining data/coreutils-8.32/src/relpath.h
Examining data/coreutils-8.32/src/mv.c
Examining data/coreutils-8.32/src/true.c
Examining data/coreutils-8.32/src/fs-is-local.h
Examining data/coreutils-8.32/src/dirname.c
Examining data/coreutils-8.32/src/stty.c
Examining data/coreutils-8.32/src/extent-scan.c
Examining data/coreutils-8.32/src/unlink.c
Examining data/coreutils-8.32/src/kill.c
Examining data/coreutils-8.32/src/paste.c
Examining data/coreutils-8.32/src/coreutils-vdir.c
Examining data/coreutils-8.32/src/du.c
Examining data/coreutils-8.32/src/cp-hash.h
Examining data/coreutils-8.32/src/uname-arch.c
Examining data/coreutils-8.32/src/expr.c
Examining data/coreutils-8.32/src/extent-scan.h
Examining data/coreutils-8.32/src/uniq.c
Examining data/coreutils-8.32/src/system.h
Examining data/coreutils-8.32/src/numfmt.c
Examining data/coreutils-8.32/src/pathchk.c
Examining data/coreutils-8.32/src/coreutils.c
Examining data/coreutils-8.32/src/remove.h
Examining data/coreutils-8.32/src/cat.c
Examining data/coreutils-8.32/src/operand2sig.c
Examining data/coreutils-8.32/src/md5sum.c
Examining data/coreutils-8.32/src/cp-hash.c
Examining data/coreutils-8.32/src/touch.c
Examining data/coreutils-8.32/src/split.c
Examining data/coreutils-8.32/src/ls-ls.c
Examining data/coreutils-8.32/src/test.c
Examining data/coreutils-8.32/src/link.c
Examining data/coreutils-8.32/src/find-mount-point.c
Examining data/coreutils-8.32/src/selinux.c
Examining data/coreutils-8.32/src/pwd.c
Examining data/coreutils-8.32/src/mkdir.c
Examining data/coreutils-8.32/src/tac-pipe.c
Examining data/coreutils-8.32/src/operand2sig.h
Examining data/coreutils-8.32/src/users.c
Examining data/coreutils-8.32/src/copy.h
Examining data/coreutils-8.32/src/make-prime-list.c
Examining data/coreutils-8.32/src/od.c
Examining data/coreutils-8.32/src/relpath.c
Examining data/coreutils-8.32/src/logname.c
Examining data/coreutils-8.32/src/chcon.c
Examining data/coreutils-8.32/src/chgrp.c
Examining data/coreutils-8.32/src/install.c
Examining data/coreutils-8.32/src/coreutils-arch.c
Examining data/coreutils-8.32/src/csplit.c
Examining data/coreutils-8.32/src/tsort.c
Examining data/coreutils-8.32/src/ptx.c
Examining data/coreutils-8.32/src/truncate.c
Examining data/coreutils-8.32/src/fiemap.h
Examining data/coreutils-8.32/src/join.c
Examining data/coreutils-8.32/src/lbracket.c
Examining data/coreutils-8.32/src/force-link.c
Examining data/coreutils-8.32/src/comm.c
Examining data/coreutils-8.32/src/tail.c
Examining data/coreutils-8.32/src/seq.c
Examining data/coreutils-8.32/src/uptime.c
Examining data/coreutils-8.32/src/find-mount-point.h
Examining data/coreutils-8.32/src/mkfifo.c
Examining data/coreutils-8.32/src/whoami.c
Examining data/coreutils-8.32/src/nproc.c
Examining data/coreutils-8.32/src/readlink.c
Examining data/coreutils-8.32/src/coreutils-dir.c
Examining data/coreutils-8.32/src/fold.c
Examining data/coreutils-8.32/src/force-link.h
Examining data/coreutils-8.32/src/group-list.c
Examining data/coreutils-8.32/src/who.c
Examining data/coreutils-8.32/src/dd.c
Examining data/coreutils-8.32/src/id.c
Examining data/coreutils-8.32/src/timeout.c
Examining data/coreutils-8.32/src/ls.c
Examining data/coreutils-8.32/lib/linkat.c
Examining data/coreutils-8.32/lib/selinux-at.c
Examining data/coreutils-8.32/lib/fd-safer.c
Examining data/coreutils-8.32/lib/time-internal.h
Examining data/coreutils-8.32/lib/unistd.c
Examining data/coreutils-8.32/lib/memcoll.h
Examining data/coreutils-8.32/lib/argmatch.h
Examining data/coreutils-8.32/lib/wcrtomb.c
Examining data/coreutils-8.32/lib/mbsstr.c
Examining data/coreutils-8.32/lib/xnanosleep.c
Examining data/coreutils-8.32/lib/fsusage.h
Examining data/coreutils-8.32/lib/sys-limits.h
Examining data/coreutils-8.32/lib/langinfo.in.h
Examining data/coreutils-8.32/lib/cl-strtold.c
Examining data/coreutils-8.32/lib/getpass.c
Examining data/coreutils-8.32/lib/getprogname.c
Examining data/coreutils-8.32/lib/windows-tls.c
Examining data/coreutils-8.32/lib/posixtm.c
Examining data/coreutils-8.32/lib/obstack.c
Examining data/coreutils-8.32/lib/gettime.c
Examining data/coreutils-8.32/lib/opendir.c
Examining data/coreutils-8.32/lib/xnanosleep.h
Examining data/coreutils-8.32/lib/strtoull.c
Examining data/coreutils-8.32/lib/fdatasync.c
Examining data/coreutils-8.32/lib/printf-frexp.h
Examining data/coreutils-8.32/lib/fchown-stub.c
Examining data/coreutils-8.32/lib/nl_langinfo.c
Examining data/coreutils-8.32/lib/xdectoumax.c
Examining data/coreutils-8.32/lib/vprintf.c
Examining data/coreutils-8.32/lib/fseterr.h
Examining data/coreutils-8.32/lib/utime.in.h
Examining data/coreutils-8.32/lib/argmatch.c
Examining data/coreutils-8.32/lib/isnanf-nolibm.h
Examining data/coreutils-8.32/lib/long-options.h
Examining data/coreutils-8.32/lib/file-type.h
Examining data/coreutils-8.32/lib/renameatu.h
Examining data/coreutils-8.32/lib/bitrotate.h
Examining data/coreutils-8.32/lib/stat-time.c
Examining data/coreutils-8.32/lib/fflush.c
Examining data/coreutils-8.32/lib/get-permissions.c
Examining data/coreutils-8.32/lib/strerror-override.h
Examining data/coreutils-8.32/lib/lc-charset-dispatch.h
Examining data/coreutils-8.32/lib/size_max.h
Examining data/coreutils-8.32/lib/base32.c
Examining data/coreutils-8.32/lib/time.in.h
Examining data/coreutils-8.32/lib/sockets.c
Examining data/coreutils-8.32/lib/fcntl.c
Examining data/coreutils-8.32/lib/signal.in.h
Examining data/coreutils-8.32/lib/closein.c
Examining data/coreutils-8.32/lib/utimens.h
Examining data/coreutils-8.32/lib/getpagesize.c
Examining data/coreutils-8.32/lib/xstrtoumax.c
Examining data/coreutils-8.32/lib/posixver.c
Examining data/coreutils-8.32/lib/base64.h
Examining data/coreutils-8.32/lib/timespec.h
Examining data/coreutils-8.32/lib/warn-on-use.h
Examining data/coreutils-8.32/lib/umaxtostr.c
Examining data/coreutils-8.32/lib/userspec.c
Examining data/coreutils-8.32/lib/getndelim2.h
Examining data/coreutils-8.32/lib/hash.c
Examining data/coreutils-8.32/lib/stdbool.in.h
Examining data/coreutils-8.32/lib/malloc.c
Examining data/coreutils-8.32/lib/xdectoimax.c
Examining data/coreutils-8.32/lib/strtoumax.c
Examining data/coreutils-8.32/lib/mbsrtowcs-impl.h
Examining data/coreutils-8.32/lib/sig-handler.h
Examining data/coreutils-8.32/lib/unlocked-io.h
Examining data/coreutils-8.32/lib/_Noreturn.h
Examining data/coreutils-8.32/lib/ctype.in.h
Examining data/coreutils-8.32/lib/printf-frexpl.h
Examining data/coreutils-8.32/lib/md5.h
Examining data/coreutils-8.32/lib/exclude.c
Examining data/coreutils-8.32/lib/basename.c
Examining data/coreutils-8.32/lib/hash.h
Examining data/coreutils-8.32/lib/iconv_open-zos.h
Examining data/coreutils-8.32/lib/readtokens0.h
Examining data/coreutils-8.32/lib/renameatu.c
Examining data/coreutils-8.32/lib/mbsrtowcs-state.c
Examining data/coreutils-8.32/lib/fnmatch_loop.c
Examining data/coreutils-8.32/lib/copy-acl.c
Examining data/coreutils-8.32/lib/mktime.c
Examining data/coreutils-8.32/lib/mknod.c
Examining data/coreutils-8.32/lib/strdup.c
Examining data/coreutils-8.32/lib/backup-internal.h
Examining data/coreutils-8.32/lib/utime.c
Examining data/coreutils-8.32/lib/sig2str.c
Examining data/coreutils-8.32/lib/mbrtowc-impl.h
Examining data/coreutils-8.32/lib/sys_uio.in.h
Examining data/coreutils-8.32/lib/freadseek.c
Examining data/coreutils-8.32/lib/btowc.c
Examining data/coreutils-8.32/lib/regex.h
Examining data/coreutils-8.32/lib/ldtoastr.c
Examining data/coreutils-8.32/lib/chown.c
Examining data/coreutils-8.32/lib/af_alg.h
Examining data/coreutils-8.32/lib/trim.h
Examining data/coreutils-8.32/lib/xvasprintf.c
Examining data/coreutils-8.32/lib/printf-args.h
Examining data/coreutils-8.32/lib/sys_time.in.h
Examining data/coreutils-8.32/lib/md5.c
Examining data/coreutils-8.32/lib/mbslen.c
Examining data/coreutils-8.32/lib/strnumcmp.h
Examining data/coreutils-8.32/lib/write.c
Examining data/coreutils-8.32/lib/xdectoint.h
Examining data/coreutils-8.32/lib/buffer-lcm.h
Examining data/coreutils-8.32/lib/sys_resource.in.h
Examining data/coreutils-8.32/lib/putenv.c
Examining data/coreutils-8.32/lib/readtokens.h
Examining data/coreutils-8.32/lib/rand-isaac.c
Examining data/coreutils-8.32/lib/hash-pjw.h
Examining data/coreutils-8.32/lib/memcmp2.h
Examining data/coreutils-8.32/lib/xalloc-die.c
Examining data/coreutils-8.32/lib/acl-internal.h
Examining data/coreutils-8.32/lib/allocator.h
Examining data/coreutils-8.32/lib/xbinary-io.c
Examining data/coreutils-8.32/lib/str-two-way.h
Examining data/coreutils-8.32/lib/xsize.h
Examining data/coreutils-8.32/lib/mempcpy.c
Examining data/coreutils-8.32/lib/xsize.c
Examining data/coreutils-8.32/lib/statat.c
Examining data/coreutils-8.32/lib/filenamecat.h
Examining data/coreutils-8.32/lib/lchown.c
Examining data/coreutils-8.32/lib/time_rz.c
Examining data/coreutils-8.32/lib/iconv.in.h
Examining data/coreutils-8.32/lib/closein.h
Examining data/coreutils-8.32/lib/chdir-long.c
Examining data/coreutils-8.32/lib/fnmatch.c
Examining data/coreutils-8.32/lib/obstack.h
Examining data/coreutils-8.32/lib/stdio--.h
Examining data/coreutils-8.32/lib/pthread-cond.c
Examining data/coreutils-8.32/lib/windows-timedrecmutex.c
Examining data/coreutils-8.32/lib/getcwd-lgpl.c
Examining data/coreutils-8.32/lib/rename.c
Examining data/coreutils-8.32/lib/unistd.in.h
Examining data/coreutils-8.32/lib/xstrtod.h
Examining data/coreutils-8.32/lib/strnumcmp.c
Examining data/coreutils-8.32/lib/striconv.h
Examining data/coreutils-8.32/lib/version-etc-fsf.c
Examining data/coreutils-8.32/lib/fts_.h
Examining data/coreutils-8.32/lib/getopt1.c
Examining data/coreutils-8.32/lib/itold.c
Examining data/coreutils-8.32/lib/xreadlink.c
Examining data/coreutils-8.32/lib/anytostr.c
Examining data/coreutils-8.32/lib/ino-map.h
Examining data/coreutils-8.32/lib/isapipe.h
Examining data/coreutils-8.32/lib/filenamecat-lgpl.c
Examining data/coreutils-8.32/lib/fpending.c
Examining data/coreutils-8.32/lib/dirent--.h
Examining data/coreutils-8.32/lib/freopen.c
Examining data/coreutils-8.32/lib/getpass.h
Examining data/coreutils-8.32/lib/file-type.c
Examining data/coreutils-8.32/lib/quotearg.c
Examining data/coreutils-8.32/lib/memcoll.c
Examining data/coreutils-8.32/lib/se-selinux.c
Examining data/coreutils-8.32/lib/strndup.c
Examining data/coreutils-8.32/lib/windows-thread.c
Examining data/coreutils-8.32/lib/windows-rwlock.h
Examining data/coreutils-8.32/lib/getusershell.c
Examining data/coreutils-8.32/lib/utimecmp.c
Examining data/coreutils-8.32/lib/error.h
Examining data/coreutils-8.32/lib/heap.h
Examining data/coreutils-8.32/lib/fd-safer-flag.c
Examining data/coreutils-8.32/lib/readutmp.c
Examining data/coreutils-8.32/lib/memchr2.c
Examining data/coreutils-8.32/lib/w32sock.h
Examining data/coreutils-8.32/lib/rmdir.c
Examining data/coreutils-8.32/lib/write-any-file.h
Examining data/coreutils-8.32/lib/backup-find.c
Examining data/coreutils-8.32/lib/filenamecat.c
Examining data/coreutils-8.32/lib/mkancesdirs.c
Examining data/coreutils-8.32/lib/closeout.c
Examining data/coreutils-8.32/lib/stdlib.in.h
Examining data/coreutils-8.32/lib/windows-cond.c
Examining data/coreutils-8.32/lib/dev-ino.h
Examining data/coreutils-8.32/lib/rewinddir.c
Examining data/coreutils-8.32/lib/fts.c
Examining data/coreutils-8.32/lib/acl-errno-valid.c
Examining data/coreutils-8.32/lib/xstriconv.h
Examining data/coreutils-8.32/lib/utimecmp.h
Examining data/coreutils-8.32/lib/version-etc.c
Examining data/coreutils-8.32/lib/dup2.c
Examining data/coreutils-8.32/lib/mkostemp.c
Examining data/coreutils-8.32/lib/windows-once.h
Examining data/coreutils-8.32/lib/lseek.c
Examining data/coreutils-8.32/lib/propername.h
Examining data/coreutils-8.32/lib/mbtowc-lock.h
Examining data/coreutils-8.32/lib/math.in.h
Examining data/coreutils-8.32/lib/save-cwd.c
Examining data/coreutils-8.32/lib/remove.c
Examining data/coreutils-8.32/lib/cloexec.h
Examining data/coreutils-8.32/lib/select.c
Examining data/coreutils-8.32/lib/u64.c
Examining data/coreutils-8.32/lib/parse-datetime.c
Examining data/coreutils-8.32/lib/unistd--.h
Examining data/coreutils-8.32/lib/sha1.h
Examining data/coreutils-8.32/lib/unicodeio.c
Examining data/coreutils-8.32/lib/strerror.c
Examining data/coreutils-8.32/lib/printf-frexp.c
Examining data/coreutils-8.32/lib/xstrndup.h
Examining data/coreutils-8.32/lib/safe-write.c
Examining data/coreutils-8.32/lib/xdectoint.c
Examining data/coreutils-8.32/lib/isatty.c
Examining data/coreutils-8.32/lib/fseterr.c
Examining data/coreutils-8.32/lib/dirchownmod.c
Examining data/coreutils-8.32/lib/yesno.h
Examining data/coreutils-8.32/lib/fnmatch.in.h
Examining data/coreutils-8.32/lib/signbitd.c
Examining data/coreutils-8.32/lib/pipe-safer.c
Examining data/coreutils-8.32/lib/iconv_open-aix.h
Examining data/coreutils-8.32/lib/freadptr.c
Examining data/coreutils-8.32/lib/streq.h
Examining data/coreutils-8.32/lib/gettimeofday.c
Examining data/coreutils-8.32/lib/se-context.c
Examining data/coreutils-8.32/lib/fpucw.h
Examining data/coreutils-8.32/lib/setlocale-lock.c
Examining data/coreutils-8.32/lib/gettext.h
Examining data/coreutils-8.32/lib/windows-initguard.h
Examining data/coreutils-8.32/lib/ignore-value.h
Examining data/coreutils-8.32/lib/vasprintf.c
Examining data/coreutils-8.32/lib/raise.c
Examining data/coreutils-8.32/lib/inttostr.c
Examining data/coreutils-8.32/lib/fadvise.c
Examining data/coreutils-8.32/lib/read-file.c
Examining data/coreutils-8.32/lib/canonicalize.h
Examining data/coreutils-8.32/lib/fcntl.in.h
Examining data/coreutils-8.32/lib/printf-parse.c
Examining data/coreutils-8.32/lib/set-acl.c
Examining data/coreutils-8.32/lib/byteswap.in.h
Examining data/coreutils-8.32/lib/alloca.c
Examining data/coreutils-8.32/lib/nproc.h
Examining data/coreutils-8.32/lib/open-safer.c
Examining data/coreutils-8.32/lib/dirent.in.h
Examining data/coreutils-8.32/lib/canon-host.h
Examining data/coreutils-8.32/lib/stdlib--.h
Examining data/coreutils-8.32/lib/c-ctype.h
Examining data/coreutils-8.32/lib/acl_entries.c
Examining data/coreutils-8.32/lib/localtime-buffer.c
Examining data/coreutils-8.32/lib/fcntl--.h
Examining data/coreutils-8.32/lib/mbscasecmp.c
Examining data/coreutils-8.32/lib/getopt-pfx-core.h
Examining data/coreutils-8.32/lib/sha256.c
Examining data/coreutils-8.32/lib/nanosleep.c
Examining data/coreutils-8.32/lib/malloca.c
Examining data/coreutils-8.32/lib/dirname.h
Examining data/coreutils-8.32/lib/backup-rename.c
Examining data/coreutils-8.32/lib/c-strcaseeq.h
Examining data/coreutils-8.32/lib/sig-handler.c
Examining data/coreutils-8.32/lib/progname.c
Examining data/coreutils-8.32/lib/windows-mutex.h
Examining data/coreutils-8.32/lib/asnprintf.c
Examining data/coreutils-8.32/lib/openat-die.c
Examining data/coreutils-8.32/lib/xstrtold.c
Examining data/coreutils-8.32/lib/cl-strtod.h
Examining data/coreutils-8.32/lib/full-read.h
Examining data/coreutils-8.32/lib/filename.h
Examining data/coreutils-8.32/lib/ftoastr.c
Examining data/coreutils-8.32/lib/file-has-acl.c
Examining data/coreutils-8.32/lib/i-ring.c
Examining data/coreutils-8.32/lib/hard-locale.h
Examining data/coreutils-8.32/lib/hash-pjw.c
Examining data/coreutils-8.32/lib/cloexec.c
Examining data/coreutils-8.32/lib/windows-thread.h
Examining data/coreutils-8.32/lib/strerror-override.c
Examining data/coreutils-8.32/lib/iconv_open.c
Examining data/coreutils-8.32/lib/diacrit.h
Examining data/coreutils-8.32/lib/uinttostr.c
Examining data/coreutils-8.32/lib/pthread-thread.c
Examining data/coreutils-8.32/lib/fprintftime.c
Examining data/coreutils-8.32/lib/printf-frexpl.c
Examining data/coreutils-8.32/lib/mbtowc-impl.h
Examining data/coreutils-8.32/lib/binary-io.h
Examining data/coreutils-8.32/lib/renameat.c
Examining data/coreutils-8.32/lib/arpa_inet.in.h
Examining data/coreutils-8.32/lib/rand-isaac.h
Examining data/coreutils-8.32/lib/opendirat.c
Examining data/coreutils-8.32/lib/getopt-pfx-ext.h
Examining data/coreutils-8.32/lib/inttostr.h
Examining data/coreutils-8.32/lib/i-ring.h
Examining data/coreutils-8.32/lib/chownat.c
Examining data/coreutils-8.32/lib/memcasecmp.c
Examining data/coreutils-8.32/lib/xtime.c
Examining data/coreutils-8.32/lib/msvc-inval.h
Examining data/coreutils-8.32/lib/savedir.h
Examining data/coreutils-8.32/lib/signbitl.c
Examining data/coreutils-8.32/lib/fpurge.c
Examining data/coreutils-8.32/lib/fopen.c
Examining data/coreutils-8.32/lib/xgethostname.h
Examining data/coreutils-8.32/lib/mbschr.c
Examining data/coreutils-8.32/lib/isnanl.c
Examining data/coreutils-8.32/lib/unicodeio.h
Examining data/coreutils-8.32/lib/mbsalign.c
Examining data/coreutils-8.32/lib/di-set.h
Examining data/coreutils-8.32/lib/iswxdigit.c
Examining data/coreutils-8.32/lib/xstrtoul.c
Examining data/coreutils-8.32/lib/userspec.h
Examining data/coreutils-8.32/lib/canonicalize.c
Examining data/coreutils-8.32/lib/mbsrtowcs.c
Examining data/coreutils-8.32/lib/fileblocks.c
Examining data/coreutils-8.32/lib/mkancesdirs.h
Examining data/coreutils-8.32/lib/fdopen.c
Examining data/coreutils-8.32/lib/memcmp2.c
Examining data/coreutils-8.32/lib/fseeko.c
Examining data/coreutils-8.32/lib/mbrlen.c
Examining data/coreutils-8.32/lib/xstrtod.c
Examining data/coreutils-8.32/lib/xgethostname.c
Examining data/coreutils-8.32/lib/windows-timedrecmutex.h
Examining data/coreutils-8.32/lib/float.c
Examining data/coreutils-8.32/lib/stat.c
Examining data/coreutils-8.32/lib/file-set.h
Examining data/coreutils-8.32/lib/heap.c
Examining data/coreutils-8.32/lib/xstriconv.c
Examining data/coreutils-8.32/lib/verror.h
Examining data/coreutils-8.32/lib/c-strtod.h
Examining data/coreutils-8.32/lib/dup-safer.c
Examining data/coreutils-8.32/lib/pthread_mutex_timedlock.c
Examining data/coreutils-8.32/lib/pthread-mutex.c
Examining data/coreutils-8.32/lib/full-write.c
Examining data/coreutils-8.32/lib/fts-cycle.c
Examining data/coreutils-8.32/lib/siglist.h
Examining data/coreutils-8.32/lib/windows-recmutex.c
Examining data/coreutils-8.32/lib/uname.c
Examining data/coreutils-8.32/lib/stat-time.h
Examining data/coreutils-8.32/lib/exitfail.c
Examining data/coreutils-8.32/lib/windows-timedmutex.h
Examining data/coreutils-8.32/lib/modechange.h
Examining data/coreutils-8.32/lib/xasprintf.c
Examining data/coreutils-8.32/lib/mbuiter.c
Examining data/coreutils-8.32/lib/isnan.c
Examining data/coreutils-8.32/lib/mbuiter.h
Examining data/coreutils-8.32/lib/sigprocmask.c
Examining data/coreutils-8.32/lib/careadlinkat.h
Examining data/coreutils-8.32/lib/mbchar.h
Examining data/coreutils-8.32/lib/vfprintf.c
Examining data/coreutils-8.32/lib/fstat.c
Examining data/coreutils-8.32/lib/openat-proc.c
Examining data/coreutils-8.32/lib/strnumcmp-in.h
Examining data/coreutils-8.32/lib/alignof.h
Examining data/coreutils-8.32/lib/fdopendir.c
Examining data/coreutils-8.32/lib/windows-timedmutex.c
Examining data/coreutils-8.32/lib/hash-triple.h
Examining data/coreutils-8.32/lib/sha512.h
Examining data/coreutils-8.32/lib/xvasprintf.h
Examining data/coreutils-8.32/lib/mbtowc-lock.c
Examining data/coreutils-8.32/lib/strnlen.c
Examining data/coreutils-8.32/lib/rpmatch.c
Examining data/coreutils-8.32/lib/getndelim2.c
Examining data/coreutils-8.32/lib/randint.h
Examining data/coreutils-8.32/lib/areadlink.c
Examining data/coreutils-8.32/lib/fcntl-safer.h
Examining data/coreutils-8.32/lib/xfts.c
Examining data/coreutils-8.32/lib/close.c
Examining data/coreutils-8.32/lib/fadvise.h
Examining data/coreutils-8.32/lib/argv-iter.c
Examining data/coreutils-8.32/lib/windows-once.c
Examining data/coreutils-8.32/lib/getlogin.c
Examining data/coreutils-8.32/lib/priv-set.c
Examining data/coreutils-8.32/lib/freadahead.h
Examining data/coreutils-8.32/lib/stdio.in.h
Examining data/coreutils-8.32/lib/stdint.in.h
Examining data/coreutils-8.32/lib/physmem.c
Examining data/coreutils-8.32/lib/trim.c
Examining data/coreutils-8.32/lib/inttypes.in.h
Examining data/coreutils-8.32/lib/isnanl-nolibm.h
Examining data/coreutils-8.32/lib/regex_internal.h
Examining data/coreutils-8.32/lib/fchdir.c
Examining data/coreutils-8.32/lib/timegm.c
Examining data/coreutils-8.32/lib/setenv.c
Examining data/coreutils-8.32/lib/base64.c
Examining data/coreutils-8.32/lib/wctype-h.c
Examining data/coreutils-8.32/lib/xfts.h
Examining data/coreutils-8.32/lib/openat.h
Examining data/coreutils-8.32/lib/openat.c
Examining data/coreutils-8.32/lib/time_r.c
Examining data/coreutils-8.32/lib/xstrndup.c
Examining data/coreutils-8.32/lib/strnlen1.h
Examining data/coreutils-8.32/lib/sigaction.c
Examining data/coreutils-8.32/lib/count-leading-zeros.c
Examining data/coreutils-8.32/lib/setlocale_null.h
Examining data/coreutils-8.32/lib/msvc-nothrow.c
Examining data/coreutils-8.32/lib/alloca.in.h
Examining data/coreutils-8.32/lib/pthread.in.h
Examining data/coreutils-8.32/lib/progname.h
Examining data/coreutils-8.32/lib/at-func2.c
Examining data/coreutils-8.32/lib/c-strcasecmp.c
Examining data/coreutils-8.32/lib/se-selinux.in.h
Examining data/coreutils-8.32/lib/termios.in.h
Examining data/coreutils-8.32/lib/version-etc.h
Examining data/coreutils-8.32/lib/dirname.c
Examining data/coreutils-8.32/lib/stat-size.h
Examining data/coreutils-8.32/lib/freadptr.h
Examining data/coreutils-8.32/lib/vasnprintf.c
Examining data/coreutils-8.32/lib/wcswidth.c
Examining data/coreutils-8.32/lib/backupfile.c
Examining data/coreutils-8.32/lib/write-any-file.c
Examining data/coreutils-8.32/lib/msvc-inval.c
Examining data/coreutils-8.32/lib/smack.h
Examining data/coreutils-8.32/lib/wcswidth-impl.h
Examining data/coreutils-8.32/lib/stpcpy.c
Examining data/coreutils-8.32/lib/localtime-buffer.h
Examining data/coreutils-8.32/lib/mbiter.c
Examining data/coreutils-8.32/lib/fprintftime.h
Examining data/coreutils-8.32/lib/mbsalign.h
Examining data/coreutils-8.32/lib/se-context.in.h
Examining data/coreutils-8.32/lib/isnand.c
Examining data/coreutils-8.32/lib/fopen-safer.c
Examining data/coreutils-8.32/lib/windows-mutex.c
Examining data/coreutils-8.32/lib/mountlist.h
Examining data/coreutils-8.32/lib/mbtowc.c
Examining data/coreutils-8.32/lib/fclose.c
Examining data/coreutils-8.32/lib/arg-nonnull.h
Examining data/coreutils-8.32/lib/tzset.c
Examining data/coreutils-8.32/lib/open.c
Examining data/coreutils-8.32/lib/xprintf.c
Examining data/coreutils-8.32/lib/chmodat.c
Examining data/coreutils-8.32/lib/root-uid.h
Examining data/coreutils-8.32/lib/areadlink-with-size.c
Examining data/coreutils-8.32/lib/unlink.c
Examining data/coreutils-8.32/lib/quotearg.h
Examining data/coreutils-8.32/lib/mgetgroups.h
Examining data/coreutils-8.32/lib/xbinary-io.h
Examining data/coreutils-8.32/lib/mgetgroups.c
Examining data/coreutils-8.32/lib/getugroups.h
Examining data/coreutils-8.32/lib/minmax.h
Examining data/coreutils-8.32/lib/gethrxtime.h
Examining data/coreutils-8.32/lib/uniwidth/width.c
Examining data/coreutils-8.32/lib/uniwidth/cjk.h
Examining data/coreutils-8.32/lib/binary-io.c
Examining data/coreutils-8.32/lib/readlinkat.c
Examining data/coreutils-8.32/lib/lc-charset-dispatch.c
Examining data/coreutils-8.32/lib/buffer-lcm.c
Examining data/coreutils-8.32/lib/af_alg.c
Examining data/coreutils-8.32/lib/readtokens.c
Examining data/coreutils-8.32/lib/sys_socket.c
Examining data/coreutils-8.32/lib/stpncpy.c
Examining data/coreutils-8.32/lib/strstr.c
Examining data/coreutils-8.32/lib/xmalloc.c
Examining data/coreutils-8.32/lib/sys_types.in.h
Examining data/coreutils-8.32/lib/openat-priv.h
Examining data/coreutils-8.32/lib/dirchownmod.h
Examining data/coreutils-8.32/lib/mkdir-p.h
Examining data/coreutils-8.32/lib/mbswidth.h
Examining data/coreutils-8.32/lib/xmemcoll.h
Examining data/coreutils-8.32/lib/strftime.h
Examining data/coreutils-8.32/lib/sys_utsname.in.h
Examining data/coreutils-8.32/lib/regcomp.c
Examining data/coreutils-8.32/lib/idcache.h
Examining data/coreutils-8.32/lib/mpsort.c
Examining data/coreutils-8.32/lib/group-member.c
Examining data/coreutils-8.32/lib/stripslash.c
Examining data/coreutils-8.32/lib/selinux-at.h
Examining data/coreutils-8.32/lib/cycle-check.h
Examining data/coreutils-8.32/lib/euidaccess.c
Examining data/coreutils-8.32/lib/safe-read.h
Examining data/coreutils-8.32/lib/localcharset.h
Examining data/coreutils-8.32/lib/backupfile.h
Examining data/coreutils-8.32/lib/read-file.h
Examining data/coreutils-8.32/lib/unlinkat.c
Examining data/coreutils-8.32/lib/tempname.h
Examining data/coreutils-8.32/lib/closeout.h
Examining data/coreutils-8.32/lib/canon-host.c
Examining data/coreutils-8.32/lib/frexpl.c
Examining data/coreutils-8.32/lib/iswblank.c
Examining data/coreutils-8.32/lib/dup-safer-flag.c
Examining data/coreutils-8.32/lib/stddef.in.h
Examining data/coreutils-8.32/lib/unistr.in.h
Examining data/coreutils-8.32/lib/verify.h
Examining data/coreutils-8.32/lib/stdlib-safer.h
Examining data/coreutils-8.32/lib/memrchr.c
Examining data/coreutils-8.32/lib/strtod.c
Examining data/coreutils-8.32/lib/stdarg.in.h
Examining data/coreutils-8.32/lib/unistr/u8-mbtoucr.c
Examining data/coreutils-8.32/lib/unistr/u8-uctomb-aux.c
Examining data/coreutils-8.32/lib/unistr/u8-uctomb.c
Examining data/coreutils-8.32/lib/strncat.c
Examining data/coreutils-8.32/lib/errno.in.h
Examining data/coreutils-8.32/lib/hard-locale.c
Examining data/coreutils-8.32/lib/xreadlink.h
Examining data/coreutils-8.32/lib/dtotimespec.c
Examining data/coreutils-8.32/lib/explicit_bzero.c
Examining data/coreutils-8.32/lib/di-set.c
Examining data/coreutils-8.32/lib/same.c
Examining data/coreutils-8.32/lib/faccessat.c
Examining data/coreutils-8.32/lib/filemode.c
Examining data/coreutils-8.32/lib/openat-safer.c
Examining data/coreutils-8.32/lib/striconv.c
Examining data/coreutils-8.32/lib/mpsort.h
Examining data/coreutils-8.32/lib/malloca.h
Examining data/coreutils-8.32/lib/stat-w32.h
Examining data/coreutils-8.32/lib/netinet_in.in.h
Examining data/coreutils-8.32/lib/regexec.c
Examining data/coreutils-8.32/lib/strintcmp.c
Examining data/coreutils-8.32/lib/savewd.h
Examining data/coreutils-8.32/lib/mktime-internal.h
Examining data/coreutils-8.32/lib/regex.c
Examining data/coreutils-8.32/lib/exitfail.h
Examining data/coreutils-8.32/lib/acl-internal.c
Examining data/coreutils-8.32/lib/printf-parse.h
Examining data/coreutils-8.32/lib/set-permissions.c
Examining data/coreutils-8.32/lib/gethrxtime.c
Examining data/coreutils-8.32/lib/qset-acl.c
Examining data/coreutils-8.32/lib/long-options.c
Examining data/coreutils-8.32/lib/c-ctype.c
Examining data/coreutils-8.32/lib/mountlist.c
Examining data/coreutils-8.32/lib/cdefs.h
Examining data/coreutils-8.32/lib/regex_internal.c
Examining data/coreutils-8.32/lib/iconv_open-hpux.h
Examining data/coreutils-8.32/lib/realloc.c
Examining data/coreutils-8.32/lib/iconv_open-irix.h
Examining data/coreutils-8.32/lib/getopt-cdefs.in.h
Examining data/coreutils-8.32/lib/getopt_int.h
Examining data/coreutils-8.32/lib/linebuffer.h
Examining data/coreutils-8.32/lib/chdir-long.h
Examining data/coreutils-8.32/lib/safe-read.c
Examining data/coreutils-8.32/lib/randperm.h
Examining data/coreutils-8.32/lib/allocator.c
Examining data/coreutils-8.32/lib/linebuffer.c
Examining data/coreutils-8.32/lib/read.c
Examining data/coreutils-8.32/lib/asprintf.c
Examining data/coreutils-8.32/lib/ino-map.c
Examining data/coreutils-8.32/lib/filevercmp.h
Examining data/coreutils-8.32/lib/sha256.h
Examining data/coreutils-8.32/lib/link.c
Examining data/coreutils-8.32/lib/getdelim.c
Examining data/coreutils-8.32/lib/stat-macros.h
Examining data/coreutils-8.32/lib/freadseek.h
Examining data/coreutils-8.32/lib/stdalign.in.h
Examining data/coreutils-8.32/lib/dtoastr.c
Examining data/coreutils-8.32/lib/pipe2.c
Examining data/coreutils-8.32/lib/dirent-private.h
Examining data/coreutils-8.32/lib/stdio-impl.h
Examining data/coreutils-8.32/lib/pipe.c
Examining data/coreutils-8.32/lib/creat-safer.c
Examining data/coreutils-8.32/lib/windows-cond.h
Examining data/coreutils-8.32/lib/symlinkat.c
Examining data/coreutils-8.32/lib/parse-datetime.h
Examining data/coreutils-8.32/lib/verror.c
Examining data/coreutils-8.32/lib/mkdir.c
Examining data/coreutils-8.32/lib/c-strtold.c
Examining data/coreutils-8.32/lib/string.in.h
Examining data/coreutils-8.32/lib/xstrtoimax.c
Examining data/coreutils-8.32/lib/mbrtowc-impl-utf8.h
Examining data/coreutils-8.32/lib/gai_strerror.c
Examining data/coreutils-8.32/lib/quote.h
Examining data/coreutils-8.32/lib/limits.in.h
Examining data/coreutils-8.32/lib/getcwd.c
Examining data/coreutils-8.32/lib/iconv.c
Examining data/coreutils-8.32/lib/isnanf.c
Examining data/coreutils-8.32/lib/str-kmp.h
Examining data/coreutils-8.32/lib/unlinkdir.c
Examining data/coreutils-8.32/lib/fd-reopen.c
Examining data/coreutils-8.32/lib/signbitf.c
Examining data/coreutils-8.32/lib/randread.h
Examining data/coreutils-8.32/lib/printf-args.c
Examining data/coreutils-8.32/lib/priv-set.h
Examining data/coreutils-8.32/lib/stdio-safer.h
Examining data/coreutils-8.32/lib/getloadavg.c
Examining data/coreutils-8.32/lib/fd-hook.c
Examining data/coreutils-8.32/lib/mbiter.h
Examining data/coreutils-8.32/lib/xalloc.h
Examining data/coreutils-8.32/lib/savewd.c
Examining data/coreutils-8.32/lib/c-strtod.c
Examining data/coreutils-8.32/lib/sys_stat.in.h
Examining data/coreutils-8.32/lib/fsusage.c
Examining data/coreutils-8.32/lib/opendir-safer.c
Examining data/coreutils-8.32/lib/closedir.c
Examining data/coreutils-8.32/lib/u64.h
Examining data/coreutils-8.32/lib/file-set.c
Examining data/coreutils-8.32/lib/dirname-lgpl.c
Examining data/coreutils-8.32/lib/xgetcwd.h
Examining data/coreutils-8.32/lib/sys_ioctl.in.h
Examining data/coreutils-8.32/lib/strtol.c
Examining data/coreutils-8.32/lib/getopt-core.h
Examining data/coreutils-8.32/lib/isnand-nolibm.h
Examining data/coreutils-8.32/lib/randread.c
Examining data/coreutils-8.32/lib/unsetenv.c
Examining data/coreutils-8.32/lib/symlink.c
Examining data/coreutils-8.32/lib/human.h
Examining data/coreutils-8.32/lib/mbrtowc.c
Examining data/coreutils-8.32/lib/fd-hook.h
Examining data/coreutils-8.32/lib/sig2str.h
Examining data/coreutils-8.32/lib/strsignal.c
Examining data/coreutils-8.32/lib/math.c
Examining data/coreutils-8.32/lib/fchmodat.c
Examining data/coreutils-8.32/lib/sha1.c
Examining data/coreutils-8.32/lib/xmemcoll.c
Examining data/coreutils-8.32/lib/msvc-nothrow.h
Examining data/coreutils-8.32/lib/strtoimax.c
Examining data/coreutils-8.32/lib/freopen-safer.c
Examining data/coreutils-8.32/lib/mkstemp.c
Examining data/coreutils-8.32/lib/yesno.c
Examining data/coreutils-8.32/lib/inet_ntop.c
Examining data/coreutils-8.32/lib/isapipe.c
Examining data/coreutils-8.32/lib/unitypes.in.h
Examining data/coreutils-8.32/lib/posixtm.h
Examining data/coreutils-8.32/lib/mbswidth.c
Examining data/coreutils-8.32/lib/readtokens0.c
Examining data/coreutils-8.32/lib/getprogname.h
Examining data/coreutils-8.32/lib/fseek.c
Examining data/coreutils-8.32/lib/qcopy-acl.c
Examining data/coreutils-8.32/lib/memchr2.h
Examining data/coreutils-8.32/lib/getaddrinfo.c
Examining data/coreutils-8.32/lib/ftell.c
Examining data/coreutils-8.32/lib/netdb.in.h
Examining data/coreutils-8.32/lib/nstrftime.c
Examining data/coreutils-8.32/lib/savedir.c
Examining data/coreutils-8.32/lib/randint.c
Examining data/coreutils-8.32/lib/filemode.h
Examining data/coreutils-8.32/lib/ftoastr.h
Examining data/coreutils-8.32/lib/dosname.h
Examining data/coreutils-8.32/lib/getdtablesize.c
Examining data/coreutils-8.32/lib/offtostr.c
Examining data/coreutils-8.32/lib/at-func.c
Examining data/coreutils-8.32/lib/float+.h
Examining data/coreutils-8.32/lib/lchmod.c
Examining data/coreutils-8.32/lib/acl.h
Examining data/coreutils-8.32/lib/xtime.h
Examining data/coreutils-8.32/lib/xgetgroups.c
Examining data/coreutils-8.32/lib/float.in.h
Examining data/coreutils-8.32/lib/xprintf.h
Examining data/coreutils-8.32/lib/windows-recmutex.h
Examining data/coreutils-8.32/lib/sys_wait.in.h
Examining data/coreutils-8.32/lib/readdir.c
Examining data/coreutils-8.32/lib/exclude.h
Examining data/coreutils-8.32/lib/opendirat.h
Examining data/coreutils-8.32/lib/same-inode.h
Examining data/coreutils-8.32/lib/utimens.c
Examining data/coreutils-8.32/lib/fsync.c
Examining data/coreutils-8.32/lib/snprintf.c
Examining data/coreutils-8.32/lib/localeconv.c
Examining data/coreutils-8.32/lib/isblank.c
Examining data/coreutils-8.32/lib/getopt.in.h
Examining data/coreutils-8.32/lib/fdutimensat.c
Examining data/coreutils-8.32/lib/libc-config.h
Examining data/coreutils-8.32/lib/freading.c
Examining data/coreutils-8.32/lib/timespec.c
Examining data/coreutils-8.32/lib/mbchar.c
Examining data/coreutils-8.32/lib/vasnprintf.h
Examining data/coreutils-8.32/lib/xstrtol-error.c
Examining data/coreutils-8.32/lib/imaxtostr.c
Examining data/coreutils-8.32/lib/c++defs.h
Examining data/coreutils-8.32/lib/mkdir-p.c
Examining data/coreutils-8.32/lib/close-stream.c
Examining data/coreutils-8.32/lib/getgroups.c
Examining data/coreutils-8.32/lib/iconv_open-osf.h
Examining data/coreutils-8.32/lib/root-dev-ino.h
Examining data/coreutils-8.32/lib/flexmember.h
Examining data/coreutils-8.32/lib/iconv_close.c
Examining data/coreutils-8.32/lib/dup.c
Examining data/coreutils-8.32/lib/human.c
Examining data/coreutils-8.32/lib/unused-parameter.h
Examining data/coreutils-8.32/lib/argv-iter.h
Examining data/coreutils-8.32/lib/dirent-safer.h
Examining data/coreutils-8.32/lib/windows-rwlock.c
Examining data/coreutils-8.32/lib/basename-lgpl.c
Examining data/coreutils-8.32/lib/lstat.c
Examining data/coreutils-8.32/lib/diacrit.c
Examining data/coreutils-8.32/lib/ftello.c
Examining data/coreutils-8.32/lib/wcwidth.c
Examining data/coreutils-8.32/lib/getline.c
Examining data/coreutils-8.32/lib/cycle-check.c
Examining data/coreutils-8.32/lib/xstrtol-error.h
Examining data/coreutils-8.32/lib/getopt-ext.h
Examining data/coreutils-8.32/lib/modechange.c
Examining data/coreutils-8.32/lib/xgetcwd.c
Examining data/coreutils-8.32/lib/xstrtol.h
Examining data/coreutils-8.32/lib/areadlinkat.c
Examining data/coreutils-8.32/lib/stat-w32.c
Examining data/coreutils-8.32/lib/fchownat.c
Examining data/coreutils-8.32/lib/cl-strtod.c
Examining data/coreutils-8.32/lib/strtold.c
Examining data/coreutils-8.32/lib/wchar.in.h
Examining data/coreutils-8.32/lib/careadlinkat.c
Examining data/coreutils-8.32/lib/readutmp.h
Examining data/coreutils-8.32/lib/unistd-safer.h
Examining data/coreutils-8.32/lib/posixver.h
Examining data/coreutils-8.32/lib/iconv_open-solaris.h
Examining data/coreutils-8.32/lib/gl_openssl.h
Examining data/coreutils-8.32/lib/windows-tls.h
Examining data/coreutils-8.32/lib/full-write.h
Examining data/coreutils-8.32/lib/idcache.c
Examining data/coreutils-8.32/lib/base32.h
Examining data/coreutils-8.32/lib/calloc.c
Examining data/coreutils-8.32/lib/pathmax.h
Examining data/coreutils-8.32/lib/xstrtol.c
Examining data/coreutils-8.32/lib/pthread_sigmask.c
Examining data/coreutils-8.32/lib/setlocale_null.c
Examining data/coreutils-8.32/lib/filevercmp.c
Examining data/coreutils-8.32/lib/freadahead.c
Examining data/coreutils-8.32/lib/close-stream.h
Examining data/coreutils-8.32/lib/memcasecmp.h
Examining data/coreutils-8.32/lib/xalloc-oversized.h
Examining data/coreutils-8.32/lib/sha512.c
Examining data/coreutils-8.32/lib/getugroups.c
Examining data/coreutils-8.32/lib/mkfifo.c
Examining data/coreutils-8.32/lib/sched.in.h
Examining data/coreutils-8.32/lib/getopt.c
Examining data/coreutils-8.32/lib/freading.h
Examining data/coreutils-8.32/lib/randperm.c
Examining data/coreutils-8.32/lib/assure.h
Examining data/coreutils-8.32/lib/bitrotate.c
Examining data/coreutils-8.32/lib/propername.c
Examining data/coreutils-8.32/lib/fpending.h
Examining data/coreutils-8.32/lib/unlinkdir.h
Examining data/coreutils-8.32/lib/same.h
Examining data/coreutils-8.32/lib/strtoll.c
Examining data/coreutils-8.32/lib/sockets.h
Examining data/coreutils-8.32/lib/ftruncate.c
Examining data/coreutils-8.32/lib/intprops.h
Examining data/coreutils-8.32/lib/nproc.c
Examining data/coreutils-8.32/lib/gethostname.c
Examining data/coreutils-8.32/lib/sys_socket.in.h
Examining data/coreutils-8.32/lib/localcharset.c
Examining data/coreutils-8.32/lib/mkstemp-safer.c
Examining data/coreutils-8.32/lib/readlink.c
Examining data/coreutils-8.32/lib/sys_select.in.h
Examining data/coreutils-8.32/lib/getfilecon.c
Examining data/coreutils-8.32/lib/utimensat.c
Examining data/coreutils-8.32/lib/futimens.c
Examining data/coreutils-8.32/lib/tempname.c
Examining data/coreutils-8.32/lib/full-read.c
Examining data/coreutils-8.32/lib/dirfd.c
Examining data/coreutils-8.32/lib/settime.c
Examining data/coreutils-8.32/lib/locale.in.h
Examining data/coreutils-8.32/lib/root-dev-ino.c
Examining data/coreutils-8.32/lib/c-strncasecmp.c
Examining data/coreutils-8.32/lib/physmem.h
Examining data/coreutils-8.32/lib/safe-write.h
Examining data/coreutils-8.32/lib/mbsinit.c
Examining data/coreutils-8.32/lib/save-cwd.h
Examining data/coreutils-8.32/lib/glthread/tls.c
Examining data/coreutils-8.32/lib/glthread/lock.c
Examining data/coreutils-8.32/lib/glthread/tls.h
Examining data/coreutils-8.32/lib/glthread/lock.h
Examining data/coreutils-8.32/lib/glthread/threadlib.c
Examining data/coreutils-8.32/lib/strnlen1.c
Examining data/coreutils-8.32/lib/fd-reopen.h
Examining data/coreutils-8.32/lib/error.c
Examining data/coreutils-8.32/lib/count-leading-zeros.h
Examining data/coreutils-8.32/lib/wctype.in.h
Examining data/coreutils-8.32/lib/uniwidth.in.h
Examining data/coreutils-8.32/lib/memchr.c
Examining data/coreutils-8.32/lib/hash-triple.c
Examining data/coreutils-8.32/lib/strtoul.c
Examining data/coreutils-8.32/lib/frexp.c
Examining data/coreutils-8.32/lib/iswdigit.c
Examining data/coreutils-8.32/lib/areadlink.h
Examining data/coreutils-8.32/lib/c-strcase.h
Examining data/coreutils-8.32/lib/fstatat.c

FINAL RESULTS:

data/coreutils-8.32/gnulib-tests/test-chown.c:24:18:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
SIGNATURE_CHECK (chown, int, (char const *, uid_t, gid_t));
data/coreutils-8.32/gnulib-tests/test-chown.c:48:22:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
  return test_chown (chown, true);
data/coreutils-8.32/gnulib-tests/test-copy-acl.c:66:3:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
  chmod (file2, mode);
data/coreutils-8.32/gnulib-tests/test-fchmodat.c:59:13:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
    ASSERT (chmod (BASE "file", 0600) == 0);
data/coreutils-8.32/gnulib-tests/test-lchmod.c:45:13:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
    ASSERT (chmod (BASE "file", 0600) == 0);
data/coreutils-8.32/gnulib-tests/test-readlink.c:24:18:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
SIGNATURE_CHECK (readlink, ssize_t, (char const *, char *, size_t));
data/coreutils-8.32/gnulib-tests/test-readlink.c:47:25:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
  return test_readlink (readlink, true);
data/coreutils-8.32/gnulib-tests/test-readlink.h:94:14:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
    result = readlink (BASE "link", buf, 1);
data/coreutils-8.32/gnulib-tests/test-stat-time.c:63:3:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
  chmod (filename, 0600);
data/coreutils-8.32/gnulib-tests/test-stat-time.c:118:11:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
  ASSERT (chmod (filename_testfile, 0400) == 0);
data/coreutils-8.32/lib/areadlink-with-size.c:85:11:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
      r = readlink (file, buf, buf_size);
data/coreutils-8.32/lib/areadlink.c:43:10:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
  return readlink (filename, buffer, buffer_size);
data/coreutils-8.32/lib/chown.c:36:1:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
chown (const char *file _GL_UNUSED, uid_t uid _GL_UNUSED,
data/coreutils-8.32/lib/chown.c:46:9:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
# undef chown
data/coreutils-8.32/lib/chown.c:131:12:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
  result = chown (file, uid, gid);
data/coreutils-8.32/lib/chown.c:143:16:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
      result = chmod (file, st.st_mode & (S_IRWXU | S_IRWXG | S_IRWXO
data/coreutils-8.32/lib/dirchownmod.c:101:27:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
                        : chown (dir, owner, group));
data/coreutils-8.32/lib/dirchownmod.c:123:27:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
                        : chmod (dir, chmod_mode));
data/coreutils-8.32/lib/fchmodat.c:105:26:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
      int chmod_result = chmod (buf, mode);
data/coreutils-8.32/lib/fchmodat.c:139:21:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
# define AT_FUNC_F2 chmod
data/coreutils-8.32/lib/fchownat.c:47:21:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
# define AT_FUNC_F2 chown
data/coreutils-8.32/lib/lchmod.c:83:22:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
  int chmod_result = chmod (buf, mode);
data/coreutils-8.32/lib/lchmod.c:109:10:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
  return chmod (file, mode);
data/coreutils-8.32/lib/lchown.c:35:10:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
#  undef chown
data/coreutils-8.32/lib/lchown.c:57:10:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
  return chown (file, uid, gid);
data/coreutils-8.32/lib/lchown.c:85:16:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
        return chown (file, uid, gid);
data/coreutils-8.32/lib/lchown.c:94:16:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
        return chown (file, uid, gid);
data/coreutils-8.32/lib/readlink.c:32:1:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
readlink (const char *name, char *buf _GL_UNUSED,
data/coreutils-8.32/lib/readlink.c:47:9:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
# undef readlink
data/coreutils-8.32/lib/readlink.c:71:10:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
  return readlink (name, buf, bufsize);
data/coreutils-8.32/lib/readlinkat.c:71:21:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
# define AT_FUNC_F1 readlink
data/coreutils-8.32/lib/set-permissions.c:765:12:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
    return chmod (name, mode);
data/coreutils-8.32/lib/stdio.in.h:820:8:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
#undef gets
data/coreutils-8.32/lib/stdio.in.h:822:18:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
data/coreutils-8.32/lib/unistd.in.h:287:18:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
_GL_WARN_ON_USE (chown, "chdir is not always in <unistd.h> - "
data/coreutils-8.32/lib/unistd.in.h:301:11:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
#   undef chown
data/coreutils-8.32/lib/unistd.in.h:302:12:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
#   define chown rpl_chown
data/coreutils-8.32/lib/unistd.in.h:304:19:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
_GL_FUNCDECL_RPL (chown, int, (const char *file, uid_t uid, gid_t gid)
data/coreutils-8.32/lib/unistd.in.h:306:19:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
_GL_CXXALIAS_RPL (chown, int, (const char *file, uid_t uid, gid_t gid));
data/coreutils-8.32/lib/unistd.in.h:309:19:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
_GL_FUNCDECL_SYS (chown, int, (const char *file, uid_t uid, gid_t gid)
data/coreutils-8.32/lib/unistd.in.h:312:19:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
_GL_CXXALIAS_SYS (chown, int, (const char *file, uid_t uid, gid_t gid));
data/coreutils-8.32/lib/unistd.in.h:314:19:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
_GL_CXXALIASWARN (chown);
data/coreutils-8.32/lib/unistd.in.h:316:9:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
# undef chown
data/coreutils-8.32/lib/unistd.in.h:318:18:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
_GL_WARN_ON_USE (chown, "chown fails to follow symlinks on some systems and "
data/coreutils-8.32/lib/unistd.in.h:1370:12:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
#   define readlink rpl_readlink
data/coreutils-8.32/lib/unistd.in.h:1372:19:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
_GL_FUNCDECL_RPL (readlink, ssize_t,
data/coreutils-8.32/lib/unistd.in.h:1376:19:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
_GL_CXXALIAS_RPL (readlink, ssize_t,
data/coreutils-8.32/lib/unistd.in.h:1381:19:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
_GL_FUNCDECL_SYS (readlink, ssize_t,
data/coreutils-8.32/lib/unistd.in.h:1386:19:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
_GL_CXXALIAS_SYS (readlink, ssize_t,
data/coreutils-8.32/lib/unistd.in.h:1390:19:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
_GL_CXXALIASWARN (readlink);
data/coreutils-8.32/lib/unistd.in.h:1392:9:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
# undef readlink
data/coreutils-8.32/lib/unistd.in.h:1394:18:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
_GL_WARN_ON_USE (readlink, "readlink is unportable - "
data/coreutils-8.32/src/copy.c:96:33:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
# define lchown(name, uid, gid) chown (name, uid, gid)
data/coreutils-8.32/src/cp.c:40:33:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
# define lchown(name, uid, gid) chown (name, uid, gid)
data/coreutils-8.32/src/install.c:65:33:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
# define lchown(name, uid, gid) chown (name, uid, gid)
data/coreutils-8.32/src/install.c:511:12:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
  else if (chmod (name, mode) != 0)
data/coreutils-8.32/src/shred.c:1136:10:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
      && chmod (name, S_IWUSR) == 0)
data/coreutils-8.32/gnulib-tests/localename.c:1400:11:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
          strcpy (name, legacy_table[i1].unixy);
data/coreutils-8.32/gnulib-tests/localename.c:1424:11:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
          strcpy (name, langtag_table[i1].unixy);
data/coreutils-8.32/gnulib-tests/localename.c:1444:11:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
          strcpy (name + 3, script_table[i1].unixy);
data/coreutils-8.32/gnulib-tests/localename.c:2623:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy (last_locale, locale_name);
data/coreutils-8.32/gnulib-tests/perror.c:30:8:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#undef fprintf
data/coreutils-8.32/gnulib-tests/setlocale.c:753:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy (ll_buf + (underscore - llCC_buf), territory_end);
data/coreutils-8.32/gnulib-tests/strerror_r.c:123:10:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
# define snprintf local_snprintf
data/coreutils-8.32/gnulib-tests/test-areadlink-with-size.c:43:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ignore_value (system ("rm -rf " BASE "*"));
data/coreutils-8.32/gnulib-tests/test-areadlink.c:50:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ignore_value (system ("rm -rf " BASE "*"));
data/coreutils-8.32/gnulib-tests/test-areadlinkat.c:54:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ignore_value (system ("rm -rf " BASE "*"));
data/coreutils-8.32/gnulib-tests/test-canonicalize.c:54:19:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    ignore_value (system ("rm -rf " BASE " ise"));
data/coreutils-8.32/gnulib-tests/test-chown.c:46:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ignore_value (system ("rm -rf " BASE "*"));
data/coreutils-8.32/gnulib-tests/test-fchownat.c:77:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ignore_value (system ("rm -rf " BASE "*"));
data/coreutils-8.32/gnulib-tests/test-fdutimensat.c:101:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ignore_value (system ("rm -rf " BASE "*"));
data/coreutils-8.32/gnulib-tests/test-fstatat.c:75:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ignore_value (system ("rm -rf " BASE "*"));
data/coreutils-8.32/gnulib-tests/test-futimens.c:48:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ignore_value (system ("rm -rf " BASE "*"));
data/coreutils-8.32/gnulib-tests/test-getaddrinfo.c:48:20:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
# define dbgprintf printf
data/coreutils-8.32/gnulib-tests/test-getaddrinfo.c:50:27:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
# define dbgprintf if (0) printf
data/coreutils-8.32/gnulib-tests/test-gethostname.c:47:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy (buf, NOHOSTNAME);
data/coreutils-8.32/gnulib-tests/test-getlogin.c:24:18:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
SIGNATURE_CHECK (getlogin, char *, (void));
data/coreutils-8.32/gnulib-tests/test-getlogin.c:32:15:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
  char *buf = getlogin ();
data/coreutils-8.32/gnulib-tests/test-lchown.c:46:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ignore_value (system ("rm -rf " BASE "*"));
data/coreutils-8.32/gnulib-tests/test-link.c:44:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ignore_value (system ("rm -rf " BASE "*"));
data/coreutils-8.32/gnulib-tests/test-linkat.c:96:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ignore_value (system ("rm -rf " BASE "*"));
data/coreutils-8.32/gnulib-tests/test-lock.c:129:20:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
# define dbgprintf printf
data/coreutils-8.32/gnulib-tests/test-lock.c:131:27:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
# define dbgprintf if (0) printf
data/coreutils-8.32/gnulib-tests/test-lstat.c:57:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ignore_value (system ("rm -rf " BASE "*"));
data/coreutils-8.32/gnulib-tests/test-mbrtowc-w32.c:44:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf (name_with_codepage, "%s.%d", name, codepage);
data/coreutils-8.32/gnulib-tests/test-mkdir.c:44:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ignore_value (system ("rm -rf " BASE "*"));
data/coreutils-8.32/gnulib-tests/test-mkfifo.c:44:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ignore_value (system ("rm -rf " BASE "*"));
data/coreutils-8.32/gnulib-tests/test-mknod.c:51:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ignore_value (system ("rm -rf " BASE "*"));
data/coreutils-8.32/gnulib-tests/test-parse-datetime.c:382:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (tmp, "NEXT %s", day_table[i]);
data/coreutils-8.32/gnulib-tests/test-parse-datetime.c:390:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (tmp, "LAST %s", day_table[i]);
data/coreutils-8.32/gnulib-tests/test-parse-datetime.c:444:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy (buf + bufsize - sizeof bufsuffix, bufsuffix);
data/coreutils-8.32/gnulib-tests/test-pthread-cond.c:52:20:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
# define dbgprintf printf
data/coreutils-8.32/gnulib-tests/test-pthread-cond.c:54:27:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
# define dbgprintf if (0) printf
data/coreutils-8.32/gnulib-tests/test-pthread-mutex.c:96:20:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
# define dbgprintf printf
data/coreutils-8.32/gnulib-tests/test-pthread-mutex.c:98:27:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
# define dbgprintf if (0) printf
data/coreutils-8.32/gnulib-tests/test-pthread_sigmask1.c:63:11:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ASSERT (system (command) == 0);
data/coreutils-8.32/gnulib-tests/test-readlink.c:45:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ignore_value (system ("rm -rf " BASE "*"));
data/coreutils-8.32/gnulib-tests/test-readlinkat.c:60:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ignore_value (system ("rm -rf " BASE "*"));
data/coreutils-8.32/gnulib-tests/test-remove.c:42:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ignore_value (system ("rm -rf " BASE "*"));
data/coreutils-8.32/gnulib-tests/test-rename.c:44:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ignore_value (system ("rm -rf " BASE "*"));
data/coreutils-8.32/gnulib-tests/test-renameat.c:62:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ignore_value (system ("rm -rf " BASE "*"));
data/coreutils-8.32/gnulib-tests/test-renameatu.c:65:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ignore_value (system ("rm -rf " BASE "*"));
data/coreutils-8.32/gnulib-tests/test-rmdir.c:44:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ignore_value (system ("rm -rf " BASE "*"));
data/coreutils-8.32/gnulib-tests/test-sigprocmask.c:70:11:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ASSERT (system (command) == 0);
data/coreutils-8.32/gnulib-tests/test-snprintf.c:24:18:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
SIGNATURE_CHECK (snprintf, int, (char *, size_t, char const *, ...));
data/coreutils-8.32/gnulib-tests/test-symlink.c:44:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ignore_value (system ("rm -rf " BASE "*"));
data/coreutils-8.32/gnulib-tests/test-symlinkat.c:59:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ignore_value (system ("rm -rf " BASE "*"));
data/coreutils-8.32/gnulib-tests/test-tls.c:56:20:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
# define dbgprintf printf
data/coreutils-8.32/gnulib-tests/test-tls.c:58:27:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
# define dbgprintf if (0) printf
data/coreutils-8.32/gnulib-tests/test-unlink.c:46:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ignore_value (system ("rm -rf " BASE "*"));
data/coreutils-8.32/gnulib-tests/test-unlinkat.c:66:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ignore_value (system ("rm -rf " BASE "*"));
data/coreutils-8.32/gnulib-tests/test-utime.c:138:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ignore_value (system ("rm -rf " BASE "*"));
data/coreutils-8.32/gnulib-tests/test-utimens.c:70:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ignore_value (system ("rm -rf " BASE "*"));
data/coreutils-8.32/gnulib-tests/test-utimensat.c:70:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ignore_value (system ("rm -rf " BASE "*"));
data/coreutils-8.32/gnulib-tests/test-vfprintf-posix.c:24:18:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
SIGNATURE_CHECK (vfprintf, int, (FILE *, char const *, va_list));
data/coreutils-8.32/gnulib-tests/test-vfprintf-posix.c:42:9:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  ret = vfprintf (fp, format, args);
data/coreutils-8.32/gnulib-tests/test-vprintf-posix.c:24:18:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
SIGNATURE_CHECK (vprintf, int, (char const *, va_list));
data/coreutils-8.32/gnulib-tests/test-vprintf-posix.c:42:9:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  ret = vprintf (format, args);
data/coreutils-8.32/gnulib-tests/test-wcrtomb-w32.c:42:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf (name_with_codepage, "%s.%d", name, codepage);
data/coreutils-8.32/gnulib-tests/tmpdir.c:157:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  sprintf (tmpl + dlen, &"/%.*sXXXXXX"[!add_slash], (int) plen, pfx);
data/coreutils-8.32/lib/chdir-long.c:249:7:  [4] (shell) execlp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      execlp (cmd, (char *) NULL);
data/coreutils-8.32/lib/error.c:274:5:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vfprintf (stderr, message, args);
data/coreutils-8.32/lib/error.c:389:3:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  fprintf (stderr, file_name != NULL ? "%s:%u: " : " ",
data/coreutils-8.32/lib/euidaccess.c:61:10:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
# define access __access
data/coreutils-8.32/lib/euidaccess.c:85:10:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
  return access (file, mode | EFF_ONLY_OK);
data/coreutils-8.32/lib/euidaccess.c:121:16:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
      result = access (file, mode);
data/coreutils-8.32/lib/euidaccess.c:143:12:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    return access (file, mode);
data/coreutils-8.32/lib/exclude.c:435:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy (buffer, f);
data/coreutils-8.32/lib/faccessat.c:51:9:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
# undef access
data/coreutils-8.32/lib/faccessat.c:52:10:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
# define access euidaccess
data/coreutils-8.32/lib/faccessat.c:88:21:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
# define AT_FUNC_F2 access
data/coreutils-8.32/lib/fchmodat.c:104:7:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      sprintf (buf, fmt, fd);
data/coreutils-8.32/lib/fnmatch.c:165:23:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
# define STRCAT(D, S) strcat (D, S)
data/coreutils-8.32/lib/fnmatch.c:195:25:  [4] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
#   define STRCAT(D, S) wcscat (D, S)
data/coreutils-8.32/lib/ftoastr.c:75:9:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
# undef snprintf
data/coreutils-8.32/lib/ftoastr.c:76:10:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
# define snprintf ftoastr_snprintf
data/coreutils-8.32/lib/ftoastr.c:88:11:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      n = sprintf (width_0_buffer, format, 0, prec, promoted_x);
data/coreutils-8.32/lib/ftoastr.c:95:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    n = sprintf (buf, format, width, prec, promoted_x);
data/coreutils-8.32/lib/ftoastr.c:134:15:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
      int n = snprintf (buf, bufsize, format, width, prec, promoted_x);
data/coreutils-8.32/lib/fts.c:259:41:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
# define Dprintf(x) do { if (fts_debug) printf x; } while (false)
data/coreutils-8.32/lib/getloadavg.c:833:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy (name_list[0].n_name, LDAV_SYMBOL);
data/coreutils-8.32/lib/getlogin.c:31:1:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
getlogin (void)
data/coreutils-8.32/lib/getopt.c:40:10:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
# define fprintf __fxprintf_nocancel
data/coreutils-8.32/lib/getpass.c:84:1:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
getpass (const char *prompt)
data/coreutils-8.32/lib/getpass.c:191:1:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
getpass (const char *prompt)
data/coreutils-8.32/lib/idcache.c:89:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy (match->name, name);
data/coreutils-8.32/lib/idcache.c:132:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy (tail->name, user);
data/coreutils-8.32/lib/idcache.c:171:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy (match->name, name);
data/coreutils-8.32/lib/idcache.c:214:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy (tail->name, group);
data/coreutils-8.32/lib/inet_ntop.c:140:10:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  return strcpy (dst, tmp);
data/coreutils-8.32/lib/inet_ntop.c:255:10:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  return strcpy (dst, tmp);
data/coreutils-8.32/lib/lchmod.c:82:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  sprintf (buf, fmt, fd);
data/coreutils-8.32/lib/localcharset.c:905:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy (resultbuf, buf);
data/coreutils-8.32/lib/localcharset.c:929:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf (buf, "CP%s", pdot + 1);
data/coreutils-8.32/lib/localcharset.c:947:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy (resultbuf, buf);
data/coreutils-8.32/lib/localcharset.c:1007:11:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
          strcpy (resultbuf, buf);
data/coreutils-8.32/lib/mountlist.c:690:17:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                strcpy (name + 1, d->d_name);
data/coreutils-8.32/lib/mountlist.c:1006:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy (me->me_devname, host);
data/coreutils-8.32/lib/mountlist.c:1008:13:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
            strcat (me->me_devname, dir);
data/coreutils-8.32/lib/mountlist.c:1056:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        strcat (node, entry.d_name);
data/coreutils-8.32/lib/nl_langinfo.c:103:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy (result, buf);
data/coreutils-8.32/lib/nl_langinfo.c:107:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy (result, codeset);
data/coreutils-8.32/lib/nl_langinfo.c:244:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy (result, buf);
data/coreutils-8.32/lib/nl_langinfo.c:253:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy (result, buf);
data/coreutils-8.32/lib/nl_langinfo.c:272:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy (result[item - DAY_1], buf);
data/coreutils-8.32/lib/nl_langinfo.c:290:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy (result[item - ABDAY_1], buf);
data/coreutils-8.32/lib/nl_langinfo.c:315:11:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
          strcpy (result[item - MON_1], buf);
data/coreutils-8.32/lib/nl_langinfo.c:340:11:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
          strcpy (result[item - ALTMON_1], buf);
data/coreutils-8.32/lib/nl_langinfo.c:365:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy (result[item - ABMON_1], buf);
data/coreutils-8.32/lib/openat-proc.c:88:13:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
            sprintf (dotdot_buf, PROC_SELF_FD_FORMAT "../fd", proc_self_fd);
data/coreutils-8.32/lib/openat-proc.c:89:27:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
            proc_status = access (dotdot_buf, F_OK) ? -1 : 1;
data/coreutils-8.32/lib/openat-proc.c:106:18:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        dirlen = sprintf (result, PROC_SELF_FD_FORMAT, fd);
data/coreutils-8.32/lib/openat-proc.c:127:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy (result, dir);
data/coreutils-8.32/lib/openat-proc.c:132:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy (result + dirlen, file);
data/coreutils-8.32/lib/opendir.c:151:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy (dirp->dir_name_mask, dir_name_mask);
data/coreutils-8.32/lib/parse-datetime.c:213:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf (stderr, msg, args);
data/coreutils-8.32/lib/parse-datetime.c:448:16:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
             : snprintf (buffer, n, "%"PRIdMAX, pc->day_ordinal));
data/coreutils-8.32/lib/parse-datetime.c:458:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf (buffer + len, n - len, &" %s"[len == 0],
data/coreutils-8.32/lib/parse-datetime.c:514:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf (stderr, "(Y-M-D) %04"PRIdMAX"-%02"PRIdMAX"-%02"PRIdMAX,
data/coreutils-8.32/lib/parse-datetime.c:524:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf (stderr, _("year: %04"PRIdMAX), pc->year.value);
data/coreutils-8.32/lib/parse-datetime.c:533:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf (stderr, &" %02"PRIdMAX":%02"PRIdMAX":%02"PRIdMAX[!space],
data/coreutils-8.32/lib/parse-datetime.c:563:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf (stderr, &" isdst=%d%s"[!space],
data/coreutils-8.32/lib/parse-datetime.c:572:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf (stderr, &" UTC%s"[!space],
data/coreutils-8.32/lib/parse-datetime.c:583:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf (stderr, _("number of seconds: %"PRIdMAX), sec);
data/coreutils-8.32/lib/parse-datetime.c:596:3:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  fprintf (stderr, &" %+"PRIdMAX" %s"[!space], val, name);
data/coreutils-8.32/lib/parse-datetime.c:1242:21:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  define YYFPRINTF fprintf
data/coreutils-8.32/lib/parse-datetime.c:2973:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  sprintf (buf, &"-%02d%02d"[-TM_YEAR_BASE <= tm_year],
data/coreutils-8.32/lib/propername.c:174:11:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
          sprintf (result, "%s (%s)", translation, name);
data/coreutils-8.32/lib/propername.c:276:11:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
          sprintf (result, "%s (%s)", translation, name);
data/coreutils-8.32/lib/setlocale_null.c:327:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy (resultbuf, buf);
data/coreutils-8.32/lib/setlocale_null.c:406:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy (resultbuf[i], buf);
data/coreutils-8.32/lib/sig2str.c:321:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy (signame, numname_table[i].name);
data/coreutils-8.32/lib/snprintf.c:37:1:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
snprintf (char *str, size_t size, const char *format, ...)
data/coreutils-8.32/lib/stdio--.h:39:9:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
# undef popen
data/coreutils-8.32/lib/stdio--.h:40:10:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
# define popen popen_safer
data/coreutils-8.32/lib/stdio.in.h:327:12:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#   define fprintf rpl_fprintf
data/coreutils-8.32/lib/stdio.in.h:331:19:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_FUNCDECL_RPL (fprintf, int,
data/coreutils-8.32/lib/stdio.in.h:336:19:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_FUNCDECL_RPL (fprintf, int,
data/coreutils-8.32/lib/stdio.in.h:341:19:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_CXXALIAS_RPL (fprintf, int,
data/coreutils-8.32/lib/stdio.in.h:344:19:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_CXXALIAS_SYS (fprintf, int,
data/coreutils-8.32/lib/stdio.in.h:348:19:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_CXXALIASWARN (fprintf);
data/coreutils-8.32/lib/stdio.in.h:353:10:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  undef fprintf
data/coreutils-8.32/lib/stdio.in.h:356:18:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_WARN_ON_USE (fprintf, "fprintf is not always POSIX compliant - "
data/coreutils-8.32/lib/stdio.in.h:480:11:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
#   undef fscanf
data/coreutils-8.32/lib/stdio.in.h:481:12:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
#   define fscanf rpl_fscanf
data/coreutils-8.32/lib/stdio.in.h:483:19:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
_GL_FUNCDECL_RPL (fscanf, int,
data/coreutils-8.32/lib/stdio.in.h:487:19:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
_GL_CXXALIAS_RPL (fscanf, int,
data/coreutils-8.32/lib/stdio.in.h:490:19:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
_GL_CXXALIAS_SYS (fscanf, int,
data/coreutils-8.32/lib/stdio.in.h:494:19:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
_GL_CXXALIASWARN (fscanf);
data/coreutils-8.32/lib/stdio.in.h:916:11:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
#   undef popen
data/coreutils-8.32/lib/stdio.in.h:917:12:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
#   define popen rpl_popen
data/coreutils-8.32/lib/stdio.in.h:919:19:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
_GL_FUNCDECL_RPL (popen, FILE *, (const char *cmd, const char *mode)
data/coreutils-8.32/lib/stdio.in.h:921:19:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
_GL_CXXALIAS_RPL (popen, FILE *, (const char *cmd, const char *mode));
data/coreutils-8.32/lib/stdio.in.h:924:19:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
_GL_FUNCDECL_SYS (popen, FILE *, (const char *cmd, const char *mode)
data/coreutils-8.32/lib/stdio.in.h:927:19:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
_GL_CXXALIAS_SYS (popen, FILE *, (const char *cmd, const char *mode));
data/coreutils-8.32/lib/stdio.in.h:929:19:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
_GL_CXXALIASWARN (popen);
data/coreutils-8.32/lib/stdio.in.h:931:9:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
# undef popen
data/coreutils-8.32/lib/stdio.in.h:933:18:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
_GL_WARN_ON_USE (popen, "popen is buggy on some platforms - "
data/coreutils-8.32/lib/stdio.in.h:944:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#    define printf __printf__
data/coreutils-8.32/lib/stdio.in.h:961:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_CXXALIAS_RPL_1 (printf, __printf__, int, (const char *format, ...));
data/coreutils-8.32/lib/stdio.in.h:964:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#    define printf rpl_printf
data/coreutils-8.32/lib/stdio.in.h:966:19:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_FUNCDECL_RPL (printf, int,
data/coreutils-8.32/lib/stdio.in.h:970:19:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_CXXALIAS_RPL (printf, int, (const char *restrict format, ...));
data/coreutils-8.32/lib/stdio.in.h:974:19:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_CXXALIAS_SYS (printf, int, (const char *restrict format, ...));
data/coreutils-8.32/lib/stdio.in.h:977:19:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_CXXALIASWARN (printf);
data/coreutils-8.32/lib/stdio.in.h:982:10:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  undef printf
data/coreutils-8.32/lib/stdio.in.h:985:18:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_WARN_ON_USE (printf, "printf is not always POSIX compliant - "
data/coreutils-8.32/lib/stdio.in.h:1117:12:  [4] (buffer) scanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
#    undef scanf
data/coreutils-8.32/lib/stdio.in.h:1119:13:  [4] (buffer) scanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
#    define scanf __scanf__
data/coreutils-8.32/lib/stdio.in.h:1127:21:  [4] (buffer) scanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
_GL_CXXALIAS_RPL_1 (scanf, __scanf__, int, (const char *restrict format, ...));
data/coreutils-8.32/lib/stdio.in.h:1130:12:  [4] (buffer) scanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
#    undef scanf
data/coreutils-8.32/lib/stdio.in.h:1131:13:  [4] (buffer) scanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
#    define scanf rpl_scanf
data/coreutils-8.32/lib/stdio.in.h:1133:19:  [4] (buffer) scanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
_GL_FUNCDECL_RPL (scanf, int, (const char *restrict format, ...)
data/coreutils-8.32/lib/stdio.in.h:1136:19:  [4] (buffer) scanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
_GL_CXXALIAS_RPL (scanf, int, (const char *restrict format, ...));
data/coreutils-8.32/lib/stdio.in.h:1139:19:  [4] (buffer) scanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
_GL_CXXALIAS_SYS (scanf, int, (const char *restrict format, ...));
data/coreutils-8.32/lib/stdio.in.h:1142:19:  [4] (buffer) scanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
_GL_CXXALIASWARN (scanf);
data/coreutils-8.32/lib/stdio.in.h:1149:12:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#   define snprintf rpl_snprintf
data/coreutils-8.32/lib/stdio.in.h:1151:19:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
_GL_FUNCDECL_RPL (snprintf, int,
data/coreutils-8.32/lib/stdio.in.h:1156:19:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
_GL_CXXALIAS_RPL (snprintf, int,
data/coreutils-8.32/lib/stdio.in.h:1161:19:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
_GL_FUNCDECL_SYS (snprintf, int,
data/coreutils-8.32/lib/stdio.in.h:1167:19:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
_GL_CXXALIAS_SYS (snprintf, int,
data/coreutils-8.32/lib/stdio.in.h:1171:19:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
_GL_CXXALIASWARN (snprintf);
data/coreutils-8.32/lib/stdio.in.h:1173:9:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
# undef snprintf
data/coreutils-8.32/lib/stdio.in.h:1175:18:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
_GL_WARN_ON_USE (snprintf, "snprintf is unportable - "
data/coreutils-8.32/lib/stdio.in.h:1192:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#   define sprintf rpl_sprintf
data/coreutils-8.32/lib/stdio.in.h:1194:19:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
_GL_FUNCDECL_RPL (sprintf, int,
data/coreutils-8.32/lib/stdio.in.h:1198:19:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
_GL_CXXALIAS_RPL (sprintf, int,
data/coreutils-8.32/lib/stdio.in.h:1201:19:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
_GL_CXXALIAS_SYS (sprintf, int,
data/coreutils-8.32/lib/stdio.in.h:1205:19:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
_GL_CXXALIASWARN (sprintf);
data/coreutils-8.32/lib/stdio.in.h:1208:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
# undef sprintf
data/coreutils-8.32/lib/stdio.in.h:1210:18:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
_GL_WARN_ON_USE (sprintf, "sprintf is not always POSIX compliant - "
data/coreutils-8.32/lib/stdio.in.h:1323:12:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#   define vfprintf rpl_vfprintf
data/coreutils-8.32/lib/stdio.in.h:1327:19:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_FUNCDECL_RPL (vfprintf, int,
data/coreutils-8.32/lib/stdio.in.h:1333:19:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_FUNCDECL_RPL (vfprintf, int,
data/coreutils-8.32/lib/stdio.in.h:1339:19:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_CXXALIAS_RPL (vfprintf, int,
data/coreutils-8.32/lib/stdio.in.h:1346:24:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_CXXALIAS_SYS_CAST (vfprintf, int,
data/coreutils-8.32/lib/stdio.in.h:1351:19:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_CXXALIASWARN (vfprintf);
data/coreutils-8.32/lib/stdio.in.h:1356:10:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  undef vfprintf
data/coreutils-8.32/lib/stdio.in.h:1359:18:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_WARN_ON_USE (vfprintf, "vfprintf is not always POSIX compliant - "
data/coreutils-8.32/lib/stdio.in.h:1367:11:  [4] (buffer) vfscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
#   undef vfscanf
data/coreutils-8.32/lib/stdio.in.h:1368:12:  [4] (buffer) vfscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
#   define vfscanf rpl_vfscanf
data/coreutils-8.32/lib/stdio.in.h:1370:19:  [4] (buffer) vfscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
_GL_FUNCDECL_RPL (vfscanf, int,
data/coreutils-8.32/lib/stdio.in.h:1375:19:  [4] (buffer) vfscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
_GL_CXXALIAS_RPL (vfscanf, int,
data/coreutils-8.32/lib/stdio.in.h:1379:19:  [4] (buffer) vfscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
_GL_CXXALIAS_SYS (vfscanf, int,
data/coreutils-8.32/lib/stdio.in.h:1383:19:  [4] (buffer) vfscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
_GL_CXXALIASWARN (vfscanf);
data/coreutils-8.32/lib/stdio.in.h:1390:12:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#   define vprintf rpl_vprintf
data/coreutils-8.32/lib/stdio.in.h:1394:19:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_FUNCDECL_RPL (vprintf, int, (const char *restrict format, va_list args)
data/coreutils-8.32/lib/stdio.in.h:1398:19:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_FUNCDECL_RPL (vprintf, int, (const char *restrict format, va_list args)
data/coreutils-8.32/lib/stdio.in.h:1402:19:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_CXXALIAS_RPL (vprintf, int, (const char *restrict format, va_list args));
data/coreutils-8.32/lib/stdio.in.h:1407:24:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_CXXALIAS_SYS_CAST (vprintf, int,
data/coreutils-8.32/lib/stdio.in.h:1411:19:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_CXXALIASWARN (vprintf);
data/coreutils-8.32/lib/stdio.in.h:1416:10:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  undef vprintf
data/coreutils-8.32/lib/stdio.in.h:1419:18:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_WARN_ON_USE (vprintf, "vprintf is not always POSIX compliant - "
data/coreutils-8.32/lib/stdio.in.h:1427:11:  [4] (buffer) vscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
#   undef vscanf
data/coreutils-8.32/lib/stdio.in.h:1428:12:  [4] (buffer) vscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
#   define vscanf rpl_vscanf
data/coreutils-8.32/lib/stdio.in.h:1430:19:  [4] (buffer) vscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
_GL_FUNCDECL_RPL (vscanf, int, (const char *restrict format, va_list args)
data/coreutils-8.32/lib/stdio.in.h:1433:19:  [4] (buffer) vscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
_GL_CXXALIAS_RPL (vscanf, int, (const char *restrict format, va_list args));
data/coreutils-8.32/lib/stdio.in.h:1435:19:  [4] (buffer) vscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
_GL_CXXALIAS_SYS (vscanf, int, (const char *restrict format, va_list args));
data/coreutils-8.32/lib/stdio.in.h:1437:19:  [4] (buffer) vscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
_GL_CXXALIASWARN (vscanf);
data/coreutils-8.32/lib/stdio.in.h:1443:12:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#   define vsnprintf rpl_vsnprintf
data/coreutils-8.32/lib/stdio.in.h:1445:19:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
_GL_FUNCDECL_RPL (vsnprintf, int,
data/coreutils-8.32/lib/stdio.in.h:1450:19:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
_GL_CXXALIAS_RPL (vsnprintf, int,
data/coreutils-8.32/lib/stdio.in.h:1455:19:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
_GL_FUNCDECL_SYS (vsnprintf, int,
data/coreutils-8.32/lib/stdio.in.h:1461:19:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
_GL_CXXALIAS_SYS (vsnprintf, int,
data/coreutils-8.32/lib/stdio.in.h:1465:19:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
_GL_CXXALIASWARN (vsnprintf);
data/coreutils-8.32/lib/stdio.in.h:1467:9:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
# undef vsnprintf
data/coreutils-8.32/lib/stdio.in.h:1469:18:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
_GL_WARN_ON_USE (vsnprintf, "vsnprintf is unportable - "
data/coreutils-8.32/lib/stdio.in.h:1477:12:  [4] (buffer) vsprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#   define vsprintf rpl_vsprintf
data/coreutils-8.32/lib/stdio.in.h:1479:19:  [4] (buffer) vsprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
_GL_FUNCDECL_RPL (vsprintf, int,
data/coreutils-8.32/lib/stdio.in.h:1484:19:  [4] (buffer) vsprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
_GL_CXXALIAS_RPL (vsprintf, int,
data/coreutils-8.32/lib/stdio.in.h:1491:24:  [4] (buffer) vsprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
_GL_CXXALIAS_SYS_CAST (vsprintf, int,
data/coreutils-8.32/lib/stdio.in.h:1496:19:  [4] (buffer) vsprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
_GL_CXXALIASWARN (vsprintf);
data/coreutils-8.32/lib/stdio.in.h:1499:9:  [4] (buffer) vsprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
# undef vsprintf
data/coreutils-8.32/lib/stdio.in.h:1501:18:  [4] (buffer) vsprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
_GL_WARN_ON_USE (vsprintf, "vsprintf is not always POSIX compliant - "
data/coreutils-8.32/lib/strerror.c:33:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#undef sprintf
data/coreutils-8.32/lib/strerror.c:59:7:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      sprintf (buf, fmt, n);
data/coreutils-8.32/lib/strsignal.c:47:21:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
# define __snprintf snprintf
data/coreutils-8.32/lib/uname.c:117:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf (buf->sysname, "MINGW32_%s-%u.%u", super_version,
data/coreutils-8.32/lib/uname.c:121:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf (buf->sysname, "Windows%s", super_version);
data/coreutils-8.32/lib/uname.c:173:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf (buf->release, "%s %u.%u",
data/coreutils-8.32/lib/uname.c:178:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy (buf->release, base);
data/coreutils-8.32/lib/uname.c:190:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (buf->release, "Windows %s", super_version);
data/coreutils-8.32/lib/uname.c:192:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy (buf->version, version.szCSDVersion);
data/coreutils-8.32/lib/unistd.in.h:259:11:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
#   undef access
data/coreutils-8.32/lib/unistd.in.h:260:12:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
#   define access rpl_access
data/coreutils-8.32/lib/unistd.in.h:262:19:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
_GL_FUNCDECL_RPL (access, int, (const char *file, int mode)
data/coreutils-8.32/lib/unistd.in.h:264:19:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
_GL_CXXALIAS_RPL (access, int, (const char *file, int mode));
data/coreutils-8.32/lib/unistd.in.h:266:19:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
_GL_CXXALIAS_SYS (access, int, (const char *file, int mode));
data/coreutils-8.32/lib/unistd.in.h:268:19:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
_GL_CXXALIASWARN (access);
data/coreutils-8.32/lib/unistd.in.h:270:9:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
# undef access
data/coreutils-8.32/lib/unistd.in.h:273:18:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
_GL_WARN_ON_USE (access, "access does not always support X_OK - "
data/coreutils-8.32/lib/unistd.in.h:846:19:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
_GL_FUNCDECL_SYS (getlogin, char *, (void));
data/coreutils-8.32/lib/unistd.in.h:848:19:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
_GL_CXXALIAS_SYS (getlogin, char *, (void));
data/coreutils-8.32/lib/unistd.in.h:849:19:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
_GL_CXXALIASWARN (getlogin);
data/coreutils-8.32/lib/unistd.in.h:851:9:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
# undef getlogin
data/coreutils-8.32/lib/unistd.in.h:853:18:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
_GL_WARN_ON_USE (getlogin, "getlogin is unportable - "
data/coreutils-8.32/lib/unistd.in.h:994:11:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
#   undef getpass
data/coreutils-8.32/lib/unistd.in.h:995:12:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
#   define getpass rpl_getpass
data/coreutils-8.32/lib/unistd.in.h:997:19:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
_GL_FUNCDECL_RPL (getpass, char *, (const char *prompt)
data/coreutils-8.32/lib/unistd.in.h:999:19:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
_GL_CXXALIAS_RPL (getpass, char *, (const char *prompt));
data/coreutils-8.32/lib/unistd.in.h:1002:19:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
_GL_FUNCDECL_SYS (getpass, char *, (const char *prompt)
data/coreutils-8.32/lib/unistd.in.h:1005:19:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
_GL_CXXALIAS_SYS (getpass, char *, (const char *prompt));
data/coreutils-8.32/lib/unistd.in.h:1007:19:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
_GL_CXXALIASWARN (getpass);
data/coreutils-8.32/lib/unistd.in.h:1009:9:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
# undef getpass
data/coreutils-8.32/lib/unistd.in.h:1011:18:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
_GL_WARN_ON_USE (getpass, "getpass is unportable - "
data/coreutils-8.32/lib/vasnprintf.c:171:20:  [4] (buffer) swprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#  define SNPRINTF swprintf
data/coreutils-8.32/lib/vasnprintf.c:189:21:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#   define SNPRINTF snprintf
data/coreutils-8.32/lib/vasnprintf.c:191:11:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#   undef snprintf
data/coreutils-8.32/lib/vasnprintf.c:194:21:  [4] (format) _snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#   define SNPRINTF _snprintf
data/coreutils-8.32/lib/vasnprintf.c:199:20:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#  define SNPRINTF snprintf
data/coreutils-8.32/lib/vasnprintf.c:201:10:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#  undef snprintf
data/coreutils-8.32/lib/vasnprintf.c:205:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#undef sprintf
data/coreutils-8.32/lib/vasnprintf.c:4258:39:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                                      sprintf ((char *) p, decimal_format, exponent);
data/coreutils-8.32/lib/vasnprintf.c:4266:39:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                                      sprintf (expbuf, decimal_format, exponent);
data/coreutils-8.32/lib/vasnprintf.c:4451:47:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                                              sprintf ((char *) p, decimal_format, exponent);
data/coreutils-8.32/lib/vasnprintf.c:4459:47:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                                              sprintf (expbuf, decimal_format, exponent);
data/coreutils-8.32/lib/vasnprintf.c:4988:33:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                        count = sprintf (tmp, buf, arg);                    \
data/coreutils-8.32/lib/vasnprintf.c:4991:33:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                        count = sprintf (tmp, buf, prefixes[0], arg);       \
data/coreutils-8.32/lib/vasnprintf.c:4994:33:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                        count = sprintf (tmp, buf, prefixes[0], prefixes[1],\
data/coreutils-8.32/lib/version-etc.c:83:3:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  fprintf (stream, version_etc_copyright, _("(C)"), COPYRIGHT_YEAR);
data/coreutils-8.32/lib/vfprintf.c:36:1:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
vfprintf (FILE *fp, const char *format, va_list args)
data/coreutils-8.32/lib/vprintf.c:30:1:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
vprintf (const char *format, va_list args)
data/coreutils-8.32/lib/vprintf.c:32:10:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  return vfprintf (stdout, format, args);
data/coreutils-8.32/lib/wchar.in.h:681:19:  [4] (buffer) wcscpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer.
_GL_FUNCDECL_SYS (wcscpy, wchar_t *,
data/coreutils-8.32/lib/wchar.in.h:684:19:  [4] (buffer) wcscpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer.
_GL_CXXALIAS_SYS (wcscpy, wchar_t *,
data/coreutils-8.32/lib/wchar.in.h:687:19:  [4] (buffer) wcscpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer.
_GL_CXXALIASWARN (wcscpy);
data/coreutils-8.32/lib/wchar.in.h:690:9:  [4] (buffer) wcscpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer.
# undef wcscpy
data/coreutils-8.32/lib/wchar.in.h:692:18:  [4] (buffer) wcscpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer.
_GL_WARN_ON_USE (wcscpy, "wcscpy is unportable - "
data/coreutils-8.32/lib/wchar.in.h:762:19:  [4] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
_GL_FUNCDECL_SYS (wcscat, wchar_t *,
data/coreutils-8.32/lib/wchar.in.h:765:19:  [4] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
_GL_CXXALIAS_SYS (wcscat, wchar_t *,
data/coreutils-8.32/lib/wchar.in.h:768:19:  [4] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
_GL_CXXALIASWARN (wcscat);
data/coreutils-8.32/lib/wchar.in.h:771:9:  [4] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
# undef wcscat
data/coreutils-8.32/lib/wchar.in.h:773:18:  [4] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
_GL_WARN_ON_USE (wcscat, "wcscat is unportable - "
data/coreutils-8.32/lib/xprintf.c:48:16:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  int retval = vprintf (format, args);
data/coreutils-8.32/lib/xprintf.c:74:16:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  int retval = vfprintf (stream, format, args);
data/coreutils-8.32/src/chmod.c:172:7:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      printf (fmt, quoteaf (file),
data/coreutils-8.32/src/chmod.c:178:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  printf (fmt, quoteaf (file),
data/coreutils-8.32/src/chown-core.c:187:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  printf (fmt, quoteaf (file), old_spec, spec);
data/coreutils-8.32/src/chroot.c:426:3:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  execvp (argv[0], argv);
data/coreutils-8.32/src/copy.c:1716:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf (stderr,
data/coreutils-8.32/src/copy.c:1861:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy (mempcpy (dst_back, dst_name, dstlen), simple_backup_suffix);
data/coreutils-8.32/src/cp.c:480:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    printf (verbose_fmt_string, src, dir);
data/coreutils-8.32/src/csplit.c:935:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy (filename_space, prefix);
data/coreutils-8.32/src/csplit.c:937:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf (filename_space + strlen (prefix), suffix, num);
data/coreutils-8.32/src/csplit.c:1331:16:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  int maxlen = snprintf (NULL, 0, format, UINT_MAX);
data/coreutils-8.32/src/dd.c:793:7:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
      strcat (bytes_per_second - bpsbuf + bpsbuf, slash_s);
data/coreutils-8.32/src/dd.c:811:3:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  snprintf (delta_s_buf, sizeof delta_s_buf,
data/coreutils-8.32/src/dd.c:816:10:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
       ? fprintf (stderr,
data/coreutils-8.32/src/dd.c:863:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (stderr,
data/coreutils-8.32/src/echo.c:82:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  printf (USAGE_BUILTIN_WARNING, PROGRAM_NAME);
data/coreutils-8.32/src/env.c:943:3:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  execvp (argv[optind], &argv[optind]);
data/coreutils-8.32/src/force-link.c:64:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy (mempcpy (dsttmp, dstname, dstdirlen), simple_pattern);
data/coreutils-8.32/src/getlimits.c:133:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  sprintf (limit + 1, "%"PRIuMAX, (uintmax_t) TYPE##_MAX);               \
data/coreutils-8.32/src/getlimits.c:134:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  printf (#TYPE"_MAX=%s\n", limit + 1);                                  \
data/coreutils-8.32/src/getlimits.c:135:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  printf (#TYPE"_OFLOW=%s\n", decimal_absval_add_one (limit));           \
data/coreutils-8.32/src/getlimits.c:138:7:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      sprintf (limit + 1, "%"PRIdMAX, (intmax_t) TYPE##_MIN);            \
data/coreutils-8.32/src/getlimits.c:139:7:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      printf (#TYPE"_MIN=%s\n", limit + 1);                              \
data/coreutils-8.32/src/getlimits.c:140:7:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      printf (#TYPE"_UFLOW=%s\n", decimal_absval_add_one (limit));       \
data/coreutils-8.32/src/getlimits.c:144:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  printf (#TYPE"_MIN="); print_##TYPE (TYPE##_MIN);                      \
data/coreutils-8.32/src/getlimits.c:145:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  printf (#TYPE"_MAX="); print_##TYPE (TYPE##_MAX);
data/coreutils-8.32/src/install.c:559:7:  [4] (shell) execlp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      execlp (strip_program, strip_program, name, NULL);
data/coreutils-8.32/src/kill.c:102:7:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      printf (USAGE_BUILTIN_WARNING, PROGRAM_NAME);
data/coreutils-8.32/src/ln.c:364:19:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                  strcpy (backup + destdirlen, backup_base);
data/coreutils-8.32/src/logname.c:76:8:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
  cp = getlogin ();
data/coreutils-8.32/src/ls.c:4260:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (p, "%*s ", inode_number_width,
data/coreutils-8.32/src/ls.c:4287:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf (p, "%s %*s ", modebuf, nlink_width,
data/coreutils-8.32/src/ls.c:4324:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (p, "%*s, %*s ",
data/coreutils-8.32/src/ls.c:4392:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (p, "%*s ", long_time_expected_width (),
data/coreutils-8.32/src/md5sum.c:1075:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    printf ("-%"PRIuMAX, b2_length);
data/coreutils-8.32/src/mknod.c:86:7:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      printf (USAGE_BUILTIN_WARNING, PROGRAM_NAME);
data/coreutils-8.32/src/nice.c:88:7:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      printf (USAGE_BUILTIN_WARNING, PROGRAM_NAME);
data/coreutils-8.32/src/nice.c:216:3:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  execvp (argv[i], &argv[i]);
data/coreutils-8.32/src/nl.c:278:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  printf (lineno_format, lineno_width, line_no, separator_str);
data/coreutils-8.32/src/nohup.c:69:7:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      printf (USAGE_BUILTIN_WARNING, PROGRAM_NAME);
data/coreutils-8.32/src/nohup.c:211:3:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  execvp (*cmd, cmd);
data/coreutils-8.32/src/numfmt.c:754:18:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
      num_size = snprintf (buf, buf_size, fmt, precision, val);
data/coreutils-8.32/src/numfmt.c:805:14:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  num_size = snprintf (buf, buf_size - 1, fmt, prec, val,
data/coreutils-8.32/src/numfmt.c:1249:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy (padding_buffer, buf);
data/coreutils-8.32/src/od.c:580:11:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
          sprintf (buf, (isprint (c) ? "%c" : "%03o"), c);
data/coreutils-8.32/src/od.c:717:11:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
          sprintf (tspec->fmt_string, "%%*%s",
data/coreutils-8.32/src/od.c:723:11:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
          sprintf (tspec->fmt_string, "%%*.%d%s",
data/coreutils-8.32/src/od.c:731:11:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
          sprintf (tspec->fmt_string, "%%*%s",
data/coreutils-8.32/src/od.c:737:11:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
          sprintf (tspec->fmt_string, "%%*.%d%s",
data/coreutils-8.32/src/pr.c:1658:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (buf, "%s.%09d", timetostr (t.tv_sec, secbuf), ns);
data/coreutils-8.32/src/pr.c:2370:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  sprintf (page_text, _("Page %"PRIuMAX), page_number);
data/coreutils-8.32/src/printenv.c:74:7:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      printf (USAGE_BUILTIN_WARNING, PROGRAM_NAME);
data/coreutils-8.32/src/printf.c:138:7:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      printf (USAGE_BUILTIN_WARNING, PROGRAM_NAME);
data/coreutils-8.32/src/prog-fprintf.c:34:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf (fp, fmt, ap);
data/coreutils-8.32/src/ptx.c:1216:29:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
          reference_width = sprintf (ordinal_string, "%"PRIdMAX, line_ordinal);
data/coreutils-8.32/src/ptx.c:1537:34:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      reference.end = file_end + sprintf (file_end, ":%"PRIdMAX, line_ordinal);
data/coreutils-8.32/src/pwd.c:71:7:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      printf (USAGE_BUILTIN_WARNING, PROGRAM_NAME);
data/coreutils-8.32/src/remove.c:271:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf (stderr,
data/coreutils-8.32/src/remove.c:284:11:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
          fprintf (stderr,
data/coreutils-8.32/src/remove.c:374:11:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
          printf ((is_dir
data/coreutils-8.32/src/rm.c:357:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf (stderr,
data/coreutils-8.32/src/runcon.c:259:3:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  execvp (argv[optind], argv + optind);
data/coreutils-8.32/src/seq.c:282:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy (ldfmt + length_modifier_offset + 1,
data/coreutils-8.32/src/seq.c:315:15:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
          if (printf (fmt, x) < 0)
data/coreutils-8.32/src/shred.c:587:15:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
              strcpy (previous_offset_buf, human_offset);
data/coreutils-8.32/src/sort.c:1147:11:  [4] (shell) execlp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
          execlp (compress_program, compress_program, (char *) NULL);
data/coreutils-8.32/src/sort.c:1207:7:  [4] (shell) execlp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      execlp (compress_program, compress_program, "-d", (char *) NULL);
data/coreutils-8.32/src/split.c:517:11:  [4] (shell) execl:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
          execl (shell_prog, last_component (shell_prog), "-c",
data/coreutils-8.32/src/stat.c:653:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (str, "%s.%09d", timetostr (t.tv_sec, secbuf), ns);
data/coreutils-8.32/src/stat.c:674:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy (dst, suffix);
data/coreutils-8.32/src/stat.c:681:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  printf (pformat, arg);
data/coreutils-8.32/src/stat.c:687:10:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  return printf (pformat, arg);
data/coreutils-8.32/src/stat.c:693:10:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  return printf (pformat, arg);
data/coreutils-8.32/src/stat.c:699:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  printf (pformat, arg);
data/coreutils-8.32/src/stat.c:705:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  printf (pformat, arg);
data/coreutils-8.32/src/stat.c:711:10:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  return printf (pformat, -0.25);
data/coreutils-8.32/src/stat.c:839:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  printf (pformat, (scontext ? scontext : "?"));
data/coreutils-8.32/src/stat.c:1801:7:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      printf (USAGE_BUILTIN_WARNING, PROGRAM_NAME);
data/coreutils-8.32/src/stdbuf.c:154:19:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
              if (access (candidate, X_OK) == 0)
data/coreutils-8.32/src/stdbuf.c:389:3:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  execvp (*argv, argv);
data/coreutils-8.32/src/system.h:200:7:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
char *getlogin (void);
data/coreutils-8.32/src/system.h:719:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf (stderr, __VA_ARGS__);	\
data/coreutils-8.32/src/test.c:783:7:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      printf (USAGE_BUILTIN_WARNING, _("test and/or ["));
data/coreutils-8.32/src/timeout.c:521:7:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      execvp (argv[0], argv);   /* FIXME: should we use "sh -c" ... here?  */
data/coreutils-8.32/src/true.c:49:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  printf (USAGE_BUILTIN_WARNING, PROGRAM_NAME);
data/coreutils-8.32/src/uptime.c:145:9:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        printf (ngettext ("up %ld day %2d:%02d,  ",
data/coreutils-8.32/src/uptime.c:152:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  printf (ngettext ("%lu user", "%lu users", select_plural (entries)),
data/coreutils-8.32/src/wc.c:184:7:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      printf (format_int, number_width, umaxtostr (lines, buf));
data/coreutils-8.32/src/wc.c:189:7:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      printf (format_int, number_width, umaxtostr (words, buf));
data/coreutils-8.32/src/wc.c:194:7:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      printf (format_int, number_width, umaxtostr (chars, buf));
data/coreutils-8.32/src/wc.c:199:7:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      printf (format_int, number_width, umaxtostr (bytes, buf));
data/coreutils-8.32/src/wc.c:204:7:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      printf (format_int, number_width, umaxtostr (linelength, buf));
data/coreutils-8.32/src/who.c:266:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf (x_idle, " %-6s", idle);
data/coreutils-8.32/src/who.c:271:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf (x_pid, " %10s", pid);
data/coreutils-8.32/src/who.c:277:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf (x_exitstr, " %-12s", exitstr);
data/coreutils-8.32/src/who.c:413:11:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
          sprintf (hoststr, "(%s:%s)", host, display);
data/coreutils-8.32/src/who.c:423:11:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
          sprintf (hoststr, "(%s)", host);
data/coreutils-8.32/src/who.c:535:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf (exitstr, "%s%d %s%d", _("term="), UT_EXIT_E_TERMINATION (utmp_ent),
data/coreutils-8.32/src/who.c:586:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf (runlevline, "%s %c", _("run-level"), curr);
data/coreutils-8.32/src/who.c:590:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf (comment, "%s%c", _("last="), (last == 'N') ? 'S' : last);
data/coreutils-8.32/gnulib-tests/locale.c:36:23:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  const char *value = getenv (variable);
data/coreutils-8.32/gnulib-tests/localename.c:1504:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if (getenv ("GETTEXT_MUI") != NULL)
data/coreutils-8.32/gnulib-tests/localename.c:3316:12:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  retval = getenv ("LC_ALL");
data/coreutils-8.32/gnulib-tests/localename.c:3320:12:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  retval = getenv (categoryname);
data/coreutils-8.32/gnulib-tests/localename.c:3324:12:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  retval = getenv ("LANG");
data/coreutils-8.32/gnulib-tests/secure_getenv.c:36:10:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  return getenv (name);
data/coreutils-8.32/gnulib-tests/secure_getenv.c:40:10:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  return getenv (name);
data/coreutils-8.32/gnulib-tests/secure_getenv.c:50:10:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  return getenv (name);
data/coreutils-8.32/gnulib-tests/setlocale.c:1597:47:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
                        const char *verbose = getenv ("SETLOCALE_VERBOSE");
data/coreutils-8.32/gnulib-tests/test-getlogin.h:87:24:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    const char *name = getenv ("USERNAME");
data/coreutils-8.32/gnulib-tests/test-getopt-gnu.c:36:18:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
SIGNATURE_CHECK (getopt_long, int, (int, char *__getopt_argv_const *,
data/coreutils-8.32/gnulib-tests/test-getopt-main.h:20:18:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
SIGNATURE_CHECK (getopt, int, (int, char * const[], char const *));
data/coreutils-8.32/gnulib-tests/test-getopt.h:43:15:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((c = getopt (argc, (char **) argv, options)) != -1)
data/coreutils-8.32/gnulib-tests/test-getopt.h:86:20:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  bool posixly = !!getenv ("POSIXLY_CORRECT");
data/coreutils-8.32/gnulib-tests/test-getopt.h:1386:15:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
      ASSERT (getopt (argc, (char **) argv, "W;") == 'W');
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:57:15:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((c = getopt_long (argc, (char **) argv, options, long_options,
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:108:10:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  return getopt_long (argc, (char **) argv, shortopts, longopts, longind);
data/coreutils-8.32/gnulib-tests/test-hash.c:106:7:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
      srand (seed);
data/coreutils-8.32/gnulib-tests/test-setenv.c:38:19:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  ASSERT (strcmp (getenv ("a"), "==") == 0);
data/coreutils-8.32/gnulib-tests/test-setlocale1.c:50:26:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL)
data/coreutils-8.32/gnulib-tests/test-setlocale2.c:35:18:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
                 getenv ("LC_ALL"));
data/coreutils-8.32/gnulib-tests/test-setlocale2.c:45:26:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if (setlocale (LC_ALL, getenv ("LC_ALL")) != NULL)
data/coreutils-8.32/gnulib-tests/test-setlocale2.c:50:18:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
                 getenv ("LC_ALL"));
data/coreutils-8.32/gnulib-tests/test-unsetenv.c:42:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  ASSERT (getenv ("a") == NULL);
data/coreutils-8.32/lib/argmatch.c:260:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if ((cp = getenv ("VERSION_CONTROL")))
data/coreutils-8.32/lib/argmatch.h:281:30:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    const int screen_width = getenv ("HELP2MAN") ? INT_MAX : 80;        \
data/coreutils-8.32/lib/backup-find.c:92:45:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    return get_version ("$VERSION_CONTROL", getenv ("VERSION_CONTROL"));
data/coreutils-8.32/lib/backupfile.c:91:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    s = getenv ("SIMPLE_BACKUP_SUFFIX");
data/coreutils-8.32/lib/fnmatch_loop.c:209:33:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
              posixly_correct = getenv ("POSIXLY_CORRECT") != NULL ? 1 : -1;
data/coreutils-8.32/lib/fnmatch_loop.c:999:29:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
          posixly_correct = getenv ("POSIXLY_CORRECT") != NULL ? 1 : -1;
data/coreutils-8.32/lib/fnmatch_loop.c:1052:29:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
          posixly_correct = getenv ("POSIXLY_CORRECT") != NULL ? 1 : -1;
data/coreutils-8.32/lib/getopt-core.h:91:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
extern int getopt (int ___argc, char *const *___argv, const char *__shortopts)
data/coreutils-8.32/lib/getopt-ext.h:66:12:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
extern int getopt_long (int ___argc, char *__getopt_argv_const *___argv,
data/coreutils-8.32/lib/getopt-pfx-core.h:40:9:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
# undef getopt
data/coreutils-8.32/lib/getopt-pfx-core.h:45:10:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
# define getopt __GETOPT_ID (getopt)
data/coreutils-8.32/lib/getopt-pfx-core.h:45:30:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
# define getopt __GETOPT_ID (getopt)
data/coreutils-8.32/lib/getopt-pfx-ext.h:40:9:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
# undef getopt_long
data/coreutils-8.32/lib/getopt-pfx-ext.h:44:10:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
# define getopt_long __GETOPT_ID (getopt_long)
data/coreutils-8.32/lib/getopt-pfx-ext.h:44:35:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
# define getopt_long __GETOPT_ID (getopt_long)
data/coreutils-8.32/lib/getopt.c:405:33:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  else if (posixly_correct || !!getenv ("POSIXLY_CORRECT"))
data/coreutils-8.32/lib/getopt.c:736:14:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
GETOPT_ENTRY(getopt, 0)
data/coreutils-8.32/lib/getopt.c:739:14:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
GETOPT_ENTRY(getopt, 1)
data/coreutils-8.32/lib/getopt.c:758:11:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
      c = getopt (argc, argv, "abc:d:0123456789");
data/coreutils-8.32/lib/getopt1.c:28:1:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
getopt_long (int argc, char *__getopt_argv_const *argv, const char *options,
data/coreutils-8.32/lib/getopt1.c:94:11:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
      c = getopt_long (argc, argv, "abc:d:0123456789",
data/coreutils-8.32/lib/gettimeofday.c:48:22:  [3] (misc) LoadLibrary:
  Ensure that the full path to the library is specified, or current directory
  may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to
  find library path, if you aren't already.
  HMODULE kernel32 = LoadLibrary ("kernel32.dll");
data/coreutils-8.32/lib/human.c:408:10:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  return getenv ("POSIXLY_CORRECT") ? 512 : DEFAULT_BLOCK_SIZE;
data/coreutils-8.32/lib/human.c:418:20:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      && ! (spec = getenv ("BLOCK_SIZE"))
data/coreutils-8.32/lib/human.c:419:20:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      && ! (spec = getenv ("BLOCKSIZE")))
data/coreutils-8.32/lib/isatty.c:61:22:  [3] (misc) LoadLibrary:
  Ensure that the full path to the library is specified, or current directory
  may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to
  find library path, if you aren't already.
  HMODULE kernel32 = LoadLibrary ("kernel32.dll");
data/coreutils-8.32/lib/localcharset.c:858:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      locale = getenv ("LC_ALL");
data/coreutils-8.32/lib/localcharset.c:861:20:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
          locale = getenv ("LC_CTYPE");
data/coreutils-8.32/lib/localcharset.c:863:22:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
            locale = getenv ("LANG");
data/coreutils-8.32/lib/localcharset.c:962:12:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  locale = getenv ("LC_ALL");
data/coreutils-8.32/lib/localcharset.c:965:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      locale = getenv ("LC_CTYPE");
data/coreutils-8.32/lib/localcharset.c:967:18:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        locale = getenv ("LANG");
data/coreutils-8.32/lib/localcharset.c:1090:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      locale = getenv ("LC_ALL");
data/coreutils-8.32/lib/localcharset.c:1093:20:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
          locale = getenv ("LC_CTYPE");
data/coreutils-8.32/lib/localcharset.c:1095:22:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
            locale = getenv ("LANG");
data/coreutils-8.32/lib/long-options.c:62:15:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
      && (c = getopt_long (argc, argv, "+", long_options, NULL)) != -1)
data/coreutils-8.32/lib/long-options.c:115:12:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  if ((c = getopt_long (argc, argv, optstring, long_options, NULL)) != -1)
data/coreutils-8.32/lib/mbtowc-lock.c:76:11:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
          InitializeCriticalSection (&lock);
data/coreutils-8.32/lib/mbtowc-lock.h:45:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (lock);
data/coreutils-8.32/lib/mktime.c:94:20:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  const char *tz = getenv ("TZ");
data/coreutils-8.32/lib/nproc.c:381:44:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      omp_env_threads = parse_omp_threads (getenv ("OMP_NUM_THREADS"));
data/coreutils-8.32/lib/nproc.c:382:42:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      omp_env_limit = parse_omp_threads (getenv ("OMP_THREAD_LIMIT"));
data/coreutils-8.32/lib/parse-datetime.c:3431:26:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  char const *tzstring = getenv ("TZ");
data/coreutils-8.32/lib/posixver.c:43:19:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  char const *s = getenv ("_POSIX2_VERSION");
data/coreutils-8.32/lib/rpmatch.c:138:27:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  bool posixly_correct = (getenv ("POSIXLY_CORRECT") != NULL);
data/coreutils-8.32/lib/setenv.c:372:19:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      char *tmp = getenv (name);
data/coreutils-8.32/lib/setlocale-lock.c:76:11:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
          InitializeCriticalSection (&lock);
data/coreutils-8.32/lib/setlocale_null.c:194:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (lock);
data/coreutils-8.32/lib/stat-w32.c:64:22:  [3] (misc) LoadLibrary:
  Ensure that the full path to the library is specified, or current directory
  may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to
  find library path, if you aren't already.
  HMODULE kernel32 = LoadLibrary ("kernel32.dll");
data/coreutils-8.32/lib/stdlib.in.h:604:11:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
#   undef random
data/coreutils-8.32/lib/stdlib.in.h:605:12:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
#   define random rpl_random
data/coreutils-8.32/lib/stdlib.in.h:607:19:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_FUNCDECL_RPL (random, long, (void));
data/coreutils-8.32/lib/stdlib.in.h:608:19:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_CXXALIAS_RPL (random, long, (void));
data/coreutils-8.32/lib/stdlib.in.h:611:19:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_FUNCDECL_SYS (random, long, (void));
data/coreutils-8.32/lib/stdlib.in.h:615:24:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_CXXALIAS_SYS_CAST (random, long, (void));
data/coreutils-8.32/lib/stdlib.in.h:617:19:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_CXXALIASWARN (random);
data/coreutils-8.32/lib/stdlib.in.h:619:9:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
# undef random
data/coreutils-8.32/lib/stdlib.in.h:621:18:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_WARN_ON_USE (random, "random is unportable - "
data/coreutils-8.32/lib/stdlib.in.h:629:11:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
#   undef srandom
data/coreutils-8.32/lib/stdlib.in.h:630:12:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
#   define srandom rpl_srandom
data/coreutils-8.32/lib/stdlib.in.h:632:19:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_FUNCDECL_RPL (srandom, void, (unsigned int seed));
data/coreutils-8.32/lib/stdlib.in.h:633:19:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_CXXALIAS_RPL (srandom, void, (unsigned int seed));
data/coreutils-8.32/lib/stdlib.in.h:636:19:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_FUNCDECL_SYS (srandom, void, (unsigned int seed));
data/coreutils-8.32/lib/stdlib.in.h:640:24:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_CXXALIAS_SYS_CAST (srandom, void, (unsigned int seed));
data/coreutils-8.32/lib/stdlib.in.h:642:19:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_CXXALIASWARN (srandom);
data/coreutils-8.32/lib/stdlib.in.h:644:9:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
# undef srandom
data/coreutils-8.32/lib/stdlib.in.h:646:18:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_WARN_ON_USE (srandom, "srandom is unportable - "
data/coreutils-8.32/lib/stdlib.in.h:685:11:  [3] (random) setstate:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
#   undef setstate
data/coreutils-8.32/lib/stdlib.in.h:686:12:  [3] (random) setstate:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
#   define setstate rpl_setstate
data/coreutils-8.32/lib/stdlib.in.h:688:19:  [3] (random) setstate:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_FUNCDECL_RPL (setstate, char *, (char *arg_state) _GL_ARG_NONNULL ((1)));
data/coreutils-8.32/lib/stdlib.in.h:689:19:  [3] (random) setstate:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_CXXALIAS_RPL (setstate, char *, (char *arg_state));
data/coreutils-8.32/lib/stdlib.in.h:692:19:  [3] (random) setstate:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_FUNCDECL_SYS (setstate, char *, (char *arg_state) _GL_ARG_NONNULL ((1)));
data/coreutils-8.32/lib/stdlib.in.h:696:24:  [3] (random) setstate:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_CXXALIAS_SYS_CAST (setstate, char *, (char *arg_state));
data/coreutils-8.32/lib/stdlib.in.h:698:19:  [3] (random) setstate:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_CXXALIASWARN (setstate);
data/coreutils-8.32/lib/stdlib.in.h:700:9:  [3] (random) setstate:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
# undef setstate
data/coreutils-8.32/lib/stdlib.in.h:702:18:  [3] (random) setstate:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_WARN_ON_USE (setstate, "setstate is unportable - "
data/coreutils-8.32/lib/stdlib.in.h:871:12:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
#   define realpath rpl_realpath
data/coreutils-8.32/lib/stdlib.in.h:873:19:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
_GL_FUNCDECL_RPL (realpath, char *,
data/coreutils-8.32/lib/stdlib.in.h:876:19:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
_GL_CXXALIAS_RPL (realpath, char *,
data/coreutils-8.32/lib/stdlib.in.h:880:19:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
_GL_FUNCDECL_SYS (realpath, char *,
data/coreutils-8.32/lib/stdlib.in.h:884:19:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
_GL_CXXALIAS_SYS (realpath, char *,
data/coreutils-8.32/lib/stdlib.in.h:887:19:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
_GL_CXXALIASWARN (realpath);
data/coreutils-8.32/lib/stdlib.in.h:889:9:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
# undef realpath
data/coreutils-8.32/lib/stdlib.in.h:891:18:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
_GL_WARN_ON_USE (realpath, "realpath is unportable - use gnulib module "
data/coreutils-8.32/lib/time_rz.c:214:10:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  return getenv ("TZ");
data/coreutils-8.32/lib/tzset.c:66:20:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  const char *tz = getenv ("TZ");
data/coreutils-8.32/lib/unsetenv.c:119:10:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  while (getenv (name))
data/coreutils-8.32/lib/windows-cond.c:165:3:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
  InitializeCriticalSection (&cond->lock);
data/coreutils-8.32/lib/windows-cond.c:193:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (&cond->lock);
data/coreutils-8.32/lib/windows-cond.c:213:13:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
            EnterCriticalSection (&cond->lock);
data/coreutils-8.32/lib/windows-cond.c:272:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection (&cond->lock);
data/coreutils-8.32/lib/windows-cond.c:293:15:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
              EnterCriticalSection (&cond->lock);
data/coreutils-8.32/lib/windows-cond.c:343:15:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
              EnterCriticalSection (&cond->lock);
data/coreutils-8.32/lib/windows-cond.c:387:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (&cond->lock);
data/coreutils-8.32/lib/windows-cond.c:404:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (&cond->lock);
data/coreutils-8.32/lib/windows-mutex.c:30:3:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
  InitializeCriticalSection (&mutex->lock);
data/coreutils-8.32/lib/windows-mutex.c:52:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (&mutex->lock);
data/coreutils-8.32/lib/windows-once.c:35:11:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
          InitializeCriticalSection (&once_control->lock);
data/coreutils-8.32/lib/windows-once.c:36:11:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
          EnterCriticalSection (&once_control->lock);
data/coreutils-8.32/lib/windows-once.c:55:15:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
              EnterCriticalSection (&once_control->lock);
data/coreutils-8.32/lib/windows-recmutex.c:32:3:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
  InitializeCriticalSection (&mutex->lock);
data/coreutils-8.32/lib/windows-recmutex.c:58:9:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
        EnterCriticalSection (&mutex->lock);
data/coreutils-8.32/lib/windows-rwlock.c:122:3:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
  InitializeCriticalSection (&lock->lock);
data/coreutils-8.32/lib/windows-rwlock.c:147:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (&lock->lock);
data/coreutils-8.32/lib/windows-rwlock.c:179:15:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
              EnterCriticalSection (&lock->lock);
data/coreutils-8.32/lib/windows-rwlock.c:207:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (&lock->lock);
data/coreutils-8.32/lib/windows-rwlock.c:236:15:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
              EnterCriticalSection (&lock->lock);
data/coreutils-8.32/lib/windows-rwlock.c:266:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (&lock->lock);
data/coreutils-8.32/lib/windows-rwlock.c:302:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (&lock->lock);
data/coreutils-8.32/lib/windows-rwlock.c:320:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (&lock->lock);
data/coreutils-8.32/lib/windows-thread.c:109:7:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
      InitializeCriticalSection (&thread->handle_lock);
data/coreutils-8.32/lib/windows-thread.c:125:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (&thread->handle_lock);
data/coreutils-8.32/lib/windows-thread.c:164:3:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
  InitializeCriticalSection (&thread->handle_lock);
data/coreutils-8.32/lib/windows-thread.c:184:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection (&thread->handle_lock);
data/coreutils-8.32/lib/windows-timedmutex.c:39:3:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
  InitializeCriticalSection (&mutex->lock);
data/coreutils-8.32/lib/windows-timedmutex.c:71:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (&mutex->lock);
data/coreutils-8.32/lib/windows-timedrecmutex.c:41:3:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
  InitializeCriticalSection (&mutex->lock);
data/coreutils-8.32/lib/windows-timedrecmutex.c:77:9:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
        EnterCriticalSection (&mutex->lock);
data/coreutils-8.32/lib/windows-tls.c:68:3:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
  InitializeCriticalSection (&dtor_table_lock);
data/coreutils-8.32/lib/windows-tls.c:135:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (&dtor_table_lock);
data/coreutils-8.32/lib/windows-tls.c:175:19:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
                  EnterCriticalSection (&dtor_table_lock);
data/coreutils-8.32/lib/windows-tls.c:198:7:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
      EnterCriticalSection (&dtor_table_lock);
data/coreutils-8.32/lib/windows-tls.c:221:13:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
            EnterCriticalSection (&dtor_table_lock);
data/coreutils-8.32/lib/windows-tls.c:291:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (&dtor_table_lock);
data/coreutils-8.32/src/basename.c:140:15:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
      int c = getopt_long (argc, argv, "+as:z", longopts, NULL);
data/coreutils-8.32/src/basenc.c:1112:17:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((opt = getopt_long (argc, argv, "diw:", long_options, NULL)) != -1)
data/coreutils-8.32/src/blake2/b2sum.c:281:9:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    c = getopt_long( argc, argv, "a:l:", long_options, &option_index );
data/coreutils-8.32/src/cat.c:576:15:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((c = getopt_long (argc, argv, "benstuvAET", long_options, NULL))
data/coreutils-8.32/src/chcon.c:435:18:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((optc = getopt_long (argc, argv, "HLPRhvu:r:t:l:", long_options, NULL))
data/coreutils-8.32/src/chgrp.c:199:18:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((optc = getopt_long (argc, argv, "HLPRcfhv", long_options, NULL))
data/coreutils-8.32/src/chmod.c:435:15:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((c = getopt_long (argc, argv,
data/coreutils-8.32/src/chown.c:190:18:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((optc = getopt_long (argc, argv, "HLPRcfhv", long_options, NULL))
data/coreutils-8.32/src/chroot.c:244:15:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((c = getopt_long (argc, argv, "+", long_opts, NULL)) != -1)
data/coreutils-8.32/src/chroot.c:330:7:  [3] (misc) chroot:
  chroot can be very helpful, but is hard to use correctly (CWE-250, CWE-22).
  Make sure the program immediately chdir("/"), closes file descriptors, and
  drops root privileges, and that all necessary files (and no more!) are in
  the new root.
  if (chroot (newroot) != 0)
data/coreutils-8.32/src/chroot.c:340:21:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      char *shell = getenv ("SHELL");
data/coreutils-8.32/src/comm.c:429:15:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((c = getopt_long (argc, argv, "123z", long_options, NULL)) != -1)
data/coreutils-8.32/src/coreutils.c:192:15:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  if ((optc = getopt_long (argc, argv, "", long_options, NULL)) != -1)
data/coreutils-8.32/src/cp.c:828:35:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  x->open_dangling_dest_symlink = getenv ("POSIXLY_CORRECT") != NULL;
data/coreutils-8.32/src/cp.c:953:15:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((c = getopt_long (argc, argv, "abdfHilLnprst:uvxPRS:TZ",
data/coreutils-8.32/src/csplit.c:1358:18:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((optc = getopt_long (argc, argv, "f:b:kn:sqz", longopts, NULL)) != -1)
data/coreutils-8.32/src/cut.c:503:18:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((optc = getopt_long (argc, argv, "b:c:d:f:nsz", longopts, NULL)) != -1)
data/coreutils-8.32/src/date.c:370:18:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((optc = getopt_long (argc, argv, short_options, long_options, NULL))
data/coreutils-8.32/src/date.c:508:26:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  char const *tzstring = getenv ("TZ");
data/coreutils-8.32/src/dd.c:900:49:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  bool catch_siginfo = ! (SIGINFO == SIGUSR1 && getenv ("POSIXLY_CORRECT"));
data/coreutils-8.32/src/df.c:1598:15:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
      int c = getopt_long (argc, argv, "aB:iF:hHklmPTt:vx:", long_options,
data/coreutils-8.32/src/df.c:1717:32:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
          output_block_size = (getenv ("POSIXLY_CORRECT") ? 512 : 1024);
data/coreutils-8.32/src/df.c:1720:24:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        human_options (getenv ("DF_BLOCK_SIZE"),
data/coreutils-8.32/src/dircolors.c:130:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  shell = getenv ("SHELL");
data/coreutils-8.32/src/dircolors.c:253:10:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  term = getenv ("TERM");
data/coreutils-8.32/src/dircolors.c:411:18:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((optc = getopt_long (argc, argv, "bcp", long_options, NULL)) != -1)
data/coreutils-8.32/src/dirname.c:95:15:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
      int c = getopt_long (argc, argv, "z", longopts, NULL);
data/coreutils-8.32/src/du.c:753:18:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  human_options (getenv ("DU_BLOCK_SIZE"),
data/coreutils-8.32/src/du.c:759:15:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
      int c = getopt_long (argc, argv, "0abd:chHklmst:xB:DLPSX:",
data/coreutils-8.32/src/du.c:911:30:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
          localtz = tzalloc (getenv ("TZ"));
data/coreutils-8.32/src/du.c:967:24:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
          time_style = getenv ("TIME_STYLE");
data/coreutils-8.32/src/echo.c:111:26:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  bool posixly_correct = getenv ("POSIXLY_CORRECT");
data/coreutils-8.32/src/env.c:339:22:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
          if ((pch = getenv (pch)))
data/coreutils-8.32/src/env.c:488:23:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
            char *v = getenv (n);
data/coreutils-8.32/src/env.c:816:18:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((optc = getopt_long (argc, argv, shortopts, longopts, NULL)) != -1)
data/coreutils-8.32/src/expand.c:195:15:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((c = getopt_long (argc, argv, shortopts, longopts, NULL)) != -1)
data/coreutils-8.32/src/factor.c:2613:15:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((c = getopt_long (argc, argv, "", long_options, NULL)) != -1)
data/coreutils-8.32/src/fmt.c:348:21:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((optchar = getopt_long (argc, argv, "0123456789cstuw:p:g:",
data/coreutils-8.32/src/fold.c:257:18:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((optc = getopt_long (argc, argv, shortopts, longopts, NULL)) != -1)
data/coreutils-8.32/src/groups.c:86:18:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((optc = getopt_long (argc, argv, "", longopts, NULL)) != -1)
data/coreutils-8.32/src/head.c:1023:15:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((c = getopt_long (argc, argv, "c:n:qvz0123456789", long_options, NULL))
data/coreutils-8.32/src/id.c:140:18:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((optc = getopt_long (argc, argv, "agnruzGZ", longopts, NULL)) != -1)
data/coreutils-8.32/src/id.c:217:35:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
          || (default_format && ! getenv ("POSIXLY_CORRECT"))))
data/coreutils-8.32/src/install.c:828:18:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((optc = getopt_long (argc, argv, "bcCsDdg:m:o:pt:TvS:Z", long_options,
data/coreutils-8.32/src/join.c:1028:18:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((optc = getopt_long (argc, argv, "-a:e:i1:2:j:o:t:v:z",
data/coreutils-8.32/src/kill.c:237:18:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((optc = getopt_long (argc, argv, short_options, long_options, NULL))
data/coreutils-8.32/src/libstdbuf.c:140:18:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  char *e_mode = getenv ("_STDBUF_E");
data/coreutils-8.32/src/libstdbuf.c:141:18:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  char *i_mode = getenv ("_STDBUF_I");
data/coreutils-8.32/src/libstdbuf.c:142:18:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  char *o_mode = getenv ("_STDBUF_O");
data/coreutils-8.32/src/ln.c:492:15:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((c = getopt_long (argc, argv, "bdfinrst:vFLPS:T", long_options, NULL))
data/coreutils-8.32/src/ls.c:1685:22:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  localtz = tzalloc (getenv ("TZ"));
data/coreutils-8.32/src/ls.c:1923:21:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    char const *p = getenv ("COLUMNS");
data/coreutils-8.32/src/ls.c:1941:21:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    char const *p = getenv ("TABSIZE");
data/coreutils-8.32/src/ls.c:1960:15:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
      int c = getopt_long (argc, argv,
data/coreutils-8.32/src/ls.c:2285:35:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      char const *ls_block_size = getenv ("LS_BLOCK_SIZE");
data/coreutils-8.32/src/ls.c:2288:28:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      if (ls_block_size || getenv ("BLOCK_SIZE"))
data/coreutils-8.32/src/ls.c:2353:24:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        if (! (style = getenv ("TIME_STYLE")))
data/coreutils-8.32/src/ls.c:2660:22:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  char const *term = getenv ("TERM");
data/coreutils-8.32/src/ls.c:2687:12:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if ((p = getenv ("LS_COLORS")) == NULL || *p == '\0')
data/coreutils-8.32/src/ls.c:2693:31:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      char const *colorterm = getenv ("COLORTERM");
data/coreutils-8.32/src/ls.c:2826:25:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  char const *q_style = getenv ("QUOTING_STYLE");
data/coreutils-8.32/src/md5sum.c:892:17:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((opt = getopt_long (argc, argv, short_opts, long_options, NULL)) != -1)
data/coreutils-8.32/src/mkdir.c:210:18:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((optc = getopt_long (argc, argv, "pm:vZ", longopts, NULL)) != -1)
data/coreutils-8.32/src/mkfifo.c:94:18:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((optc = getopt_long (argc, argv, "m:Z", longopts, NULL)) != -1)
data/coreutils-8.32/src/mknod.c:111:18:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((optc = getopt_long (argc, argv, "m:Z", longopts, NULL)) != -1)
data/coreutils-8.32/src/mktemp.c:172:15:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((c = getopt_long (argc, argv, "dp:qtuV", longopts, NULL)) != -1)
data/coreutils-8.32/src/mktemp.c:267:23:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
          char *env = getenv ("TMPDIR");
data/coreutils-8.32/src/mktemp.c:286:27:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
              char *env = getenv ("TMPDIR");
data/coreutils-8.32/src/mv.c:364:15:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((c = getopt_long (argc, argv, "bfint:uvS:TZ", long_options, NULL))
data/coreutils-8.32/src/nice.c:139:15:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
          c = getopt_long (fake_argc, fake_argv, "+n:", longopts, NULL);
data/coreutils-8.32/src/nl.c:476:15:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((c = getopt_long (argc, argv, "h:b:f:v:i:pl:s:w:n:d:", longopts,
data/coreutils-8.32/src/nohup.c:96:28:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  exit_internal_failure = (getenv ("POSIXLY_CORRECT")
data/coreutils-8.32/src/nohup.c:146:30:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
          char const *home = getenv ("HOME");
data/coreutils-8.32/src/nproc.c:91:15:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
      int c = getopt_long (argc, argv, "", longopts, NULL);
data/coreutils-8.32/src/numfmt.c:1464:15:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
      int c = getopt_long (argc, argv, "d:z", longopts, NULL);
data/coreutils-8.32/src/od.c:1629:15:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
      int c = getopt_long (argc, argv, short_options, long_options, &oi);
data/coreutils-8.32/src/paste.c:480:18:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((optc = getopt_long (argc, argv, "d:sz", longopts, NULL)) != -1)
data/coreutils-8.32/src/pathchk.c:119:18:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((optc = getopt_long (argc, argv, "+pP", longopts, NULL)) != -1)
data/coreutils-8.32/src/pinky.c:531:18:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((optc = getopt_long (argc, argv, "sfwiqbhlp", longopts, NULL)) != -1)
data/coreutils-8.32/src/pr.c:887:15:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
      int c = getopt_long (argc, argv, short_options, long_options, &oi);
data/coreutils-8.32/src/pr.c:1061:20:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    date_format = (getenv ("POSIXLY_CORRECT") && !hard_locale (LC_TIME)
data/coreutils-8.32/src/pr.c:1065:22:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  localtz = tzalloc (getenv ("TZ"));
data/coreutils-8.32/src/printenv.c:99:18:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((optc = getopt_long (argc, argv, "+iu:0", longopts, NULL)) != -1)
data/coreutils-8.32/src/printf.c:666:22:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  posixly_correct = (getenv ("POSIXLY_CORRECT") != NULL);
data/coreutils-8.32/src/ptx.c:1919:20:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while (optchar = getopt_long (argc, argv, "AF:GM:ORS:TW:b:i:fg:o:trw:",
data/coreutils-8.32/src/pwd.c:304:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  char *wd = getenv ("PWD");
data/coreutils-8.32/src/pwd.c:333:19:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  bool logical = (getenv ("POSIXLY_CORRECT") != NULL);
data/coreutils-8.32/src/pwd.c:345:15:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
      int c = getopt_long (argc, argv, "LP", longopts, NULL);
data/coreutils-8.32/src/readlink.c:110:18:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((optc = getopt_long (argc, argv, "efmnqsvz", longopts, NULL)) != -1)
data/coreutils-8.32/src/realpath.c:191:15:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
      int c = getopt_long (argc, argv, "eLmPqsz", longopts, NULL);
data/coreutils-8.32/src/rm.c:229:15:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((c = getopt_long (argc, argv, "dfirvIR", long_opts, NULL)) != -1)
data/coreutils-8.32/src/rmdir.c:201:18:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((optc = getopt_long (argc, argv, "pv", longopts, NULL)) != -1)
data/coreutils-8.32/src/runcon.c:131:15:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
      int c = getopt_long (argc, argv, "+r:t:u:l:c", long_options,
data/coreutils-8.32/src/seq.c:603:14:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
      optc = getopt_long (argc, argv, "+f:s:w", long_options, NULL);
data/coreutils-8.32/src/shred.c:1191:15:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((c = getopt_long (argc, argv, "fn:s:uvxz", long_opts, NULL)) != -1)
data/coreutils-8.32/src/shuf.c:404:18:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((optc = getopt_long (argc, argv, "ei:n:o:rz", long_opts, NULL)) != -1)
data/coreutils-8.32/src/sort.c:213:8:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  bool random;			/* Sort by random hash of key.  */
data/coreutils-8.32/src/sort.c:2385:21:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
            || key->random
data/coreutils-8.32/src/sort.c:2411:12:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  if (key->random)
data/coreutils-8.32/src/sort.c:2500:13:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
      ugkey.random &= !key->random;
data/coreutils-8.32/src/sort.c:2500:29:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
      ugkey.random &= !key->random;
data/coreutils-8.32/src/sort.c:2557:33:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
          || key->month || key->random || key->version)
data/coreutils-8.32/src/sort.c:2616:25:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
          else if (key->random)
data/coreutils-8.32/src/sort.c:4065:50:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
             + key->month + (key->version | key->random | !!key->ignore)))
data/coreutils-8.32/src/sort.c:4209:27:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  bool posixly_correct = (getenv ("POSIXLY_CORRECT") != NULL);
data/coreutils-8.32/src/sort.c:4327:20:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
          || ((c = getopt_long (argc, argv, short_options,
data/coreutils-8.32/src/sort.c:4653:30:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
          key->random = gkey.random;
data/coreutils-8.32/src/sort.c:4657:27:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
      need_random |= key->random;
data/coreutils-8.32/src/sort.c:4664:27:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
      need_random |= gkey.random;
data/coreutils-8.32/src/sort.c:4704:29:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      char const *tmp_dir = getenv ("TMPDIR");
data/coreutils-8.32/src/split.c:483:32:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      char const *shell_prog = getenv ("SHELL");
data/coreutils-8.32/src/split.c:1329:11:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
      c = getopt_long (argc, argv, "0123456789C:a:b:del:n:t:ux",
data/coreutils-8.32/src/stat.c:645:19:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    tz = tzalloc (getenv ("TZ"));
data/coreutils-8.32/src/stat.c:1037:25:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  char const *q_style = getenv ("QUOTING_STYLE");
data/coreutils-8.32/src/stat.c:1829:15:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((c = getopt_long (argc, argv, "c:fLt", long_options, NULL)) != -1)
data/coreutils-8.32/src/stdbuf.c:147:24:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      else if ((path = getenv ("PATH")))
data/coreutils-8.32/src/stdbuf.c:197:20:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  char *old_libs = getenv (preload_env);
data/coreutils-8.32/src/stdbuf.c:325:15:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((c = getopt_long (argc, argv, "+i:o:e:", longopts, NULL)) != -1)
data/coreutils-8.32/src/stty.c:1308:18:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((optc = getopt_long (argc - argi, argv + argi, "-agF:",
data/coreutils-8.32/src/stty.c:1822:24:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    char *col_string = getenv ("COLUMNS");
data/coreutils-8.32/src/sum.c:242:18:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((optc = getopt_long (argc, argv, "rs", longopts, NULL)) != -1)
data/coreutils-8.32/src/sync.c:188:15:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((c = getopt_long (argc, argv, "df", long_options, NULL))
data/coreutils-8.32/src/tac.c:437:23:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      char const *t = getenv ("TMPDIR");
data/coreutils-8.32/src/tac.c:627:18:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((optc = getopt_long (argc, argv, "brs:", longopts, NULL)) != -1)
data/coreutils-8.32/src/tail.c:2183:15:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((c = getopt_long (argc, argv, "c:n:fFqs:vz0123456789",
data/coreutils-8.32/src/tee.c:134:18:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((optc = getopt_long (argc, argv, "aip", long_options, NULL)) != -1)
data/coreutils-8.32/src/timeout.c:451:15:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((c = getopt_long (argc, argv, "+k:s:v", long_options, NULL)) != -1)
data/coreutils-8.32/src/touch.c:275:15:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((c = getopt_long (argc, argv, "acd:fhmr:t:", longopts, NULL)) != -1)
data/coreutils-8.32/src/touch.c:400:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      if (! getenv ("POSIXLY_CORRECT"))
data/coreutils-8.32/src/tr.c:1708:15:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((c = getopt_long (argc, argv, "+AcCdst", long_options, NULL)) != -1)
data/coreutils-8.32/src/truncate.c:220:15:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((c = getopt_long (argc, argv, "cor:s:", longopts, NULL)) != -1)
data/coreutils-8.32/src/tty.c:94:18:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((optc = getopt_long (argc, argv, "s", longopts, NULL)) != -1)
data/coreutils-8.32/src/uname.c:182:19:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
      while ((c = getopt_long (argc, argv, "",
data/coreutils-8.32/src/uname.c:199:19:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
      while ((c = getopt_long (argc, argv, "asnrvmpio",
data/coreutils-8.32/src/unexpand.c:275:15:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((c = getopt_long (argc, argv, ",0123456789at:", longopts, NULL))
data/coreutils-8.32/src/uniq.c:480:27:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  bool posixly_correct = (getenv ("POSIXLY_CORRECT") != NULL);
data/coreutils-8.32/src/uniq.c:512:23:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
          || ((optc = getopt_long (argc, argv,
data/coreutils-8.32/src/wc.c:703:22:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  posixly_correct = (getenv ("POSIXLY_CORRECT") != NULL);
data/coreutils-8.32/src/wc.c:709:18:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((optc = getopt_long (argc, argv, "clLmw", longopts, NULL)) != -1)
data/coreutils-8.32/src/who.c:770:18:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((optc = getopt_long (argc, argv, "abdlmpqrstuwHT", longopts, NULL))
data/coreutils-8.32/gnulib-tests/bench-digest.h:81:17:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  size_t size = atol (argv[1]);
data/coreutils-8.32/gnulib-tests/bench-digest.h:82:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  int repeat = atoi (argv[2]);
data/coreutils-8.32/gnulib-tests/bench-digest.h:100:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char digest[64];
data/coreutils-8.32/gnulib-tests/inet_pton.c:116:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char tmp[NS_INADDRSZ], *tp;
data/coreutils-8.32/gnulib-tests/inet_pton.c:152:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (dst, tmp, NS_INADDRSZ);
data/coreutils-8.32/gnulib-tests/inet_pton.c:175:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp;
data/coreutils-8.32/gnulib-tests/inet_pton.c:262:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (dst, tmp, NS_IN6ADDRSZ);
data/coreutils-8.32/gnulib-tests/localename-table.h:33:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *category_name[6];
data/coreutils-8.32/gnulib-tests/localename.c:1182:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  typedef struct { const char legacy[21+1]; const char unixy[5+1]; }
data/coreutils-8.32/gnulib-tests/localename.c:1182:51:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  typedef struct { const char legacy[21+1]; const char unixy[5+1]; }
data/coreutils-8.32/gnulib-tests/localename.c:1320:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  typedef struct { const char langtag[7+1]; const char unixy[12+1]; }
data/coreutils-8.32/gnulib-tests/localename.c:1320:51:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  typedef struct { const char langtag[7+1]; const char unixy[12+1]; }
data/coreutils-8.32/gnulib-tests/localename.c:1372:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  typedef struct { const char script[4+1]; const char unixy[9+1]; }
data/coreutils-8.32/gnulib-tests/localename.c:1372:50:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  typedef struct { const char script[4+1]; const char unixy[9+1]; }
data/coreutils-8.32/gnulib-tests/localename.c:1506:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char namebuf[256];
data/coreutils-8.32/gnulib-tests/localename.c:2563:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char lname[LC_MAX * (LOCALE_NAME_MAX_LENGTH + 1) + 1];
data/coreutils-8.32/gnulib-tests/localename.c:2570:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char locval[2 * LOCALE_NAME_MAX_LENGTH + 1 + 1];
data/coreutils-8.32/gnulib-tests/localename.c:2606:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char last_locale[1000];
data/coreutils-8.32/gnulib-tests/localename.c:2663:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char contents[FLEXIBLE_ARRAY_MEMBER];
data/coreutils-8.32/gnulib-tests/localename.c:2694:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (new_node->contents, string, size);
data/coreutils-8.32/gnulib-tests/localename.c:3172:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              return ((const char * const *) lcp)[category];
data/coreutils-8.32/gnulib-tests/localename.c:3190:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            return ((const char * const *) thread_locale)[category];
data/coreutils-8.32/gnulib-tests/localename.c:3206:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char categories[7][32];
data/coreutils-8.32/gnulib-tests/localename.c:3404:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char namebuf[256];
data/coreutils-8.32/gnulib-tests/nap.h:72:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      nap_fd = open (TEMPFILE, O_RDWR, 0600);
data/coreutils-8.32/gnulib-tests/perror.c:35:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char stackbuf[STACKBUF_LEN];
data/coreutils-8.32/gnulib-tests/setlocale.c:676:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char llCC_buf[64];
data/coreutils-8.32/gnulib-tests/setlocale.c:677:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char ll_buf[64];
data/coreutils-8.32/gnulib-tests/setlocale.c:678:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char CC_buf[64];
data/coreutils-8.32/gnulib-tests/setlocale.c:752:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy (ll_buf, llCC_buf, underscore - llCC_buf);
data/coreutils-8.32/gnulib-tests/setlocale.c:755:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy (CC_buf, territory_start, territory_end - territory_start);
data/coreutils-8.32/gnulib-tests/setlocale.c:788:29:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                            char buf[64+64];
data/coreutils-8.32/gnulib-tests/setlocale.c:792:29:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                            memcpy (buf, part1, part1_len);
data/coreutils-8.32/gnulib-tests/setlocale.c:794:29:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                            memcpy (buf + part1_len + 1, part2, part2_len);
data/coreutils-8.32/gnulib-tests/setlocale.c:868:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char lc_messages_name[64] = "C";
data/coreutils-8.32/gnulib-tests/setlocale.c:1523:33:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                char buf[256];
data/coreutils-8.32/gnulib-tests/strerror_r.c:192:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char stackbuf[80];
data/coreutils-8.32/gnulib-tests/strerror_r.c:219:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char stackbuf[STACKBUF_LEN];
data/coreutils-8.32/gnulib-tests/strerror_r.c:238:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char stackbuf[STACKBUF_LEN];
data/coreutils-8.32/gnulib-tests/test-alignof.c:29:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
typedef struct { char a[1]; } struct1;
data/coreutils-8.32/gnulib-tests/test-alignof.c:30:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
typedef struct { char a[2]; } struct2;
data/coreutils-8.32/gnulib-tests/test-alignof.c:31:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
typedef struct { char a[3]; } struct3;
data/coreutils-8.32/gnulib-tests/test-alignof.c:32:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
typedef struct { char a[4]; } struct4;
data/coreutils-8.32/gnulib-tests/test-areadlinkat.c:58:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  dfd = open (".", O_RDONLY);
data/coreutils-8.32/gnulib-tests/test-argv-iter.c:34:14:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  FILE *fp = tmpfile ();
data/coreutils-8.32/gnulib-tests/test-base32.c:36:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char out[255];
data/coreutils-8.32/gnulib-tests/test-base64.c:35:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char out[255];
data/coreutils-8.32/gnulib-tests/test-binary-io.c:38:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      open ("t-bin-out0.tmp", O_CREAT | O_TRUNC | O_RDWR | O_BINARY, 0600);
data/coreutils-8.32/gnulib-tests/test-closein.c:36:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[7];
data/coreutils-8.32/gnulib-tests/test-copy-acl.c:47:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fd1 = open (file1, O_RDONLY);
data/coreutils-8.32/gnulib-tests/test-copy-acl.c:55:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fd2 = open (file2, O_WRONLY, 0600);
data/coreutils-8.32/gnulib-tests/test-digest.h:31:20:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        FILE *fp = fopen (TESTFILE, "wb");
data/coreutils-8.32/gnulib-tests/test-digest.h:60:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                  unsigned char c[2];
data/coreutils-8.32/gnulib-tests/test-digest.h:91:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fp = fopen (TESTFILE, "rb");
data/coreutils-8.32/gnulib-tests/test-digest.h:102:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              char header[4];
data/coreutils-8.32/gnulib-tests/test-digest.h:124:60:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              fprintf (stderr, "\\x%02x", ((const unsigned char *) expected)[i]);
data/coreutils-8.32/gnulib-tests/test-digest.h:128:60:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              fprintf (stderr, "\\x%02x", ((const unsigned char *) digest)[i]);
data/coreutils-8.32/gnulib-tests/test-dirent-safer.c:59:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  dfd = open (".", O_RDONLY);
data/coreutils-8.32/gnulib-tests/test-dup2.c:113:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[1];
data/coreutils-8.32/gnulib-tests/test-dup2.c:115:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  int fd = open (file, O_CREAT | O_TRUNC | O_RDWR, 0600);
data/coreutils-8.32/gnulib-tests/test-dup2.c:177:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  ASSERT (open ("/dev/null", O_WRONLY, 0600) == fd + 1);
data/coreutils-8.32/gnulib-tests/test-faccessat.c:51:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  ASSERT (close (open (BASE "file", O_CREAT | O_WRONLY, 0)) == 0);
data/coreutils-8.32/gnulib-tests/test-fchdir.c:44:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fd = open (".", O_RDONLY);
data/coreutils-8.32/gnulib-tests/test-fchdir.c:62:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    int bad_fd = open ("/dev/null", O_RDONLY);
data/coreutils-8.32/gnulib-tests/test-fchownat.c:95:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  dfd = open (".", O_RDONLY);
data/coreutils-8.32/gnulib-tests/test-fclose.c:45:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fd = open (BASE, O_RDWR | O_CREAT | O_TRUNC, 0600);
data/coreutils-8.32/gnulib-tests/test-fcntl-safer.c:37:21:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  return test_open (open, true);
data/coreutils-8.32/gnulib-tests/test-fdatasync.c:60:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fd = open (file, O_WRONLY|O_CREAT|O_TRUNC, 0644);
data/coreutils-8.32/gnulib-tests/test-fdatasync.c:70:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fd = open (file, O_RDONLY);
data/coreutils-8.32/gnulib-tests/test-fdopendir.c:39:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fd = open ("test-fdopendir.tmp", O_RDONLY | O_CREAT, 0600);
data/coreutils-8.32/gnulib-tests/test-fdopendir.c:61:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fd = open (".", O_RDONLY);
data/coreutils-8.32/gnulib-tests/test-fdutimensat.c:48:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
do_fdutimens (char const *name, struct timespec const times[2])
data/coreutils-8.32/gnulib-tests/test-fdutimensat.c:73:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
do_lutimens (const char *name, struct timespec const times[2])
data/coreutils-8.32/gnulib-tests/test-fdutimensat.c:80:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
do_lutimens1 (const char *name, struct timespec const times[2])
data/coreutils-8.32/gnulib-tests/test-fdutimensat.c:87:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
do_utimens (const char *name, struct timespec const times[2])
data/coreutils-8.32/gnulib-tests/test-fdutimensat.c:111:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  dfd = open (".", O_RDONLY);
data/coreutils-8.32/gnulib-tests/test-fflush.c:38:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[10];
data/coreutils-8.32/gnulib-tests/test-fflush.c:42:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  f = fopen ("test-fflush.txt", "w");
data/coreutils-8.32/gnulib-tests/test-fflush.c:51:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  f = fopen ("test-fflush.txt", "r");
data/coreutils-8.32/gnulib-tests/test-fflush.c:152:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *fp = fopen ("test-fflush.txt", "w");
data/coreutils-8.32/gnulib-tests/test-fgetc.c:49:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    int fd = open (filename, O_RDWR | O_CREAT | O_TRUNC, 0600);
data/coreutils-8.32/gnulib-tests/test-fgetc.c:58:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *fp = fopen (filename, "r");
data/coreutils-8.32/gnulib-tests/test-fopen.c:24:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
SIGNATURE_CHECK (fopen, FILE *, (char const *, char const *));
data/coreutils-8.32/gnulib-tests/test-fopen.h:37:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  ASSERT (fopen (BASE "file", "r") == NULL);
data/coreutils-8.32/gnulib-tests/test-fopen.h:41:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  f = fopen (BASE "file", "w");
data/coreutils-8.32/gnulib-tests/test-fopen.h:47:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  ASSERT (fopen (BASE "file/", "r") == NULL);
data/coreutils-8.32/gnulib-tests/test-fopen.h:52:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  ASSERT (fopen ("nonexist.ent/", "w") == NULL);
data/coreutils-8.32/gnulib-tests/test-fopen.h:58:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  ASSERT (fopen (".", "w") == NULL);
data/coreutils-8.32/gnulib-tests/test-fopen.h:62:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  f = fopen ("/dev/null", "r");
data/coreutils-8.32/gnulib-tests/test-fopen.h:65:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  f = fopen ("/dev/null", "w");
data/coreutils-8.32/gnulib-tests/test-fpurge.c:42:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      fp = fopen (TESTFILE, "w");
data/coreutils-8.32/gnulib-tests/test-fpurge.c:53:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      fp = fopen (TESTFILE, "r+");
data/coreutils-8.32/gnulib-tests/test-fpurge.c:73:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      fp = fopen (TESTFILE, "r");
data/coreutils-8.32/gnulib-tests/test-fpurge.c:79:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[8];
data/coreutils-8.32/gnulib-tests/test-fpurge.c:98:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      fp = fopen (TESTFILE, "r+");
data/coreutils-8.32/gnulib-tests/test-fpurge.c:114:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      fp = fopen (TESTFILE, "r");
data/coreutils-8.32/gnulib-tests/test-fpurge.c:118:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[10];
data/coreutils-8.32/gnulib-tests/test-fputc.c:49:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *fp = fopen (filename, "w");
data/coreutils-8.32/gnulib-tests/test-fread.c:49:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    int fd = open (filename, O_RDWR | O_CREAT | O_TRUNC, 0600);
data/coreutils-8.32/gnulib-tests/test-fread.c:58:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *fp = fopen (filename, "r");
data/coreutils-8.32/gnulib-tests/test-fread.c:59:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[5];
data/coreutils-8.32/gnulib-tests/test-fread.c:75:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[1];
data/coreutils-8.32/gnulib-tests/test-fread.c:89:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[1];
data/coreutils-8.32/gnulib-tests/test-freadahead.c:31:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  int nbytes = atoi (argv[1]);
data/coreutils-8.32/gnulib-tests/test-freading.c:38:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp = fopen (TESTFILE, "w");
data/coreutils-8.32/gnulib-tests/test-freading.c:46:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp = fopen (TESTFILE, "r");
data/coreutils-8.32/gnulib-tests/test-freading.c:69:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp = fopen (TESTFILE, "r+");
data/coreutils-8.32/gnulib-tests/test-freading.c:96:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp = fopen (TESTFILE, "r+");
data/coreutils-8.32/gnulib-tests/test-freading.c:122:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp = fopen (TESTFILE, "a");
data/coreutils-8.32/gnulib-tests/test-freadptr.c:32:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  int nbytes = atoi (argv[1]);
data/coreutils-8.32/gnulib-tests/test-freadptr2.c:41:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  int nbytes = atoi (argv[1]);
data/coreutils-8.32/gnulib-tests/test-freadseek.c:35:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  int nbytes1 = atoi (argv[1]);
data/coreutils-8.32/gnulib-tests/test-freadseek.c:36:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  int nbytes2 = atoi (argv[2]);
data/coreutils-8.32/gnulib-tests/test-freadseek.c:37:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  int nbytes3 = atoi (argv[3]);
data/coreutils-8.32/gnulib-tests/test-freadseek.c:38:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  int nbytes4 = atoi (argv[4]);
data/coreutils-8.32/gnulib-tests/test-freadseek.c:39:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  int nbytes5 = atoi (argv[5]);
data/coreutils-8.32/gnulib-tests/test-freadseek.c:40:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  int nbytes6 = atoi (argv[6]);
data/coreutils-8.32/gnulib-tests/test-freadseek.c:41:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  int nbytes7 = atoi (argv[7]);
data/coreutils-8.32/gnulib-tests/test-freopen-safer.c:49:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    ASSERT (tmp = fopen ("/dev/null", "r"));
data/coreutils-8.32/gnulib-tests/test-freopen-safer.c:51:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    ASSERT (fp = fopen ("/dev/null", "w"));
data/coreutils-8.32/gnulib-tests/test-freopen.c:46:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *fp = fopen (filename, "w+");
data/coreutils-8.32/gnulib-tests/test-fseeko3.c:30:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  int do_initial_ftell = atoi (argv[1]);
data/coreutils-8.32/gnulib-tests/test-fseeko3.c:32:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE *fp = fopen (filename, "r");
data/coreutils-8.32/gnulib-tests/test-fseeko4.c:34:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *fp = fopen (filename, "r");
data/coreutils-8.32/gnulib-tests/test-fstatat.c:96:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  dfd = open (".", O_RDONLY);
data/coreutils-8.32/gnulib-tests/test-fsync.c:60:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fd = open (file, O_WRONLY|O_CREAT|O_TRUNC, 0644);
data/coreutils-8.32/gnulib-tests/test-fsync.c:70:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fd = open (file, O_RDONLY);
data/coreutils-8.32/gnulib-tests/test-fsync.c:73:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[1];
data/coreutils-8.32/gnulib-tests/test-ftell3.c:36:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp = fopen (TESTFILE, "w");
data/coreutils-8.32/gnulib-tests/test-ftell3.c:47:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp = fopen (TESTFILE, "r+");
data/coreutils-8.32/gnulib-tests/test-ftell3.c:59:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp = fopen (TESTFILE, "r");
data/coreutils-8.32/gnulib-tests/test-ftell3.c:63:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[10];
data/coreutils-8.32/gnulib-tests/test-ftello3.c:36:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp = fopen (TESTFILE, "w");
data/coreutils-8.32/gnulib-tests/test-ftello3.c:47:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp = fopen (TESTFILE, "r+");
data/coreutils-8.32/gnulib-tests/test-ftello3.c:59:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp = fopen (TESTFILE, "r");
data/coreutils-8.32/gnulib-tests/test-ftello3.c:63:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[10];
data/coreutils-8.32/gnulib-tests/test-ftello4.c:34:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *fp = fopen (filename, "r");
data/coreutils-8.32/gnulib-tests/test-ftruncate.c:49:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    int fd = open (filename, O_RDONLY);
data/coreutils-8.32/gnulib-tests/test-fwrite.c:49:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *fp = fopen (filename, "w");
data/coreutils-8.32/gnulib-tests/test-fwrite.c:50:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[5] = "world";
data/coreutils-8.32/gnulib-tests/test-fwrite.c:67:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[5] = "world";
data/coreutils-8.32/gnulib-tests/test-fwrite.c:82:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[5] = "world";
data/coreutils-8.32/gnulib-tests/test-getaddrinfo.c:65:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[BUFSIZ];
data/coreutils-8.32/gnulib-tests/test-getaddrinfo.c:139:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char ipbuf[BUFSIZ];
data/coreutils-8.32/gnulib-tests/test-getaddrinfo.c:140:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char portbuf[BUFSIZ];
data/coreutils-8.32/gnulib-tests/test-getcwd.c:141:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[PATH_MAX * (DIR_NAME_SIZE / DOTDOTSLASH_LEN + 1)
data/coreutils-8.32/gnulib-tests/test-getdelim.c:40:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  f = fopen ("test-getdelim.txt", "wb");
data/coreutils-8.32/gnulib-tests/test-getdelim.c:47:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  f = fopen ("test-getdelim.txt", "rb");
data/coreutils-8.32/gnulib-tests/test-gethostname.c:38:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[HOST_NAME_MAX];
data/coreutils-8.32/gnulib-tests/test-getline.c:40:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  f = fopen ("test-getline.txt", "wb");
data/coreutils-8.32/gnulib-tests/test-getline.c:47:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  f = fopen ("test-getline.txt", "rb");
data/coreutils-8.32/gnulib-tests/test-getloadavg.c:55:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    naptime = atoi (argv[1]);
data/coreutils-8.32/gnulib-tests/test-getndelim2.c:38:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  f = fopen ("test-getndelim2.txt", "wb+");
data/coreutils-8.32/gnulib-tests/test-getndelim2.c:110:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[502];
data/coreutils-8.32/gnulib-tests/test-getopt.h:103:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:107:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:135:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:139:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:168:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:172:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:200:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:204:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:235:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:239:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:266:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:270:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:298:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:302:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:335:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:339:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:366:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:370:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:398:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:402:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:434:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:438:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:468:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:472:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:502:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:506:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:536:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:540:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:570:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:574:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:604:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:608:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:640:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:644:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:670:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:674:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:700:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:704:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:732:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:736:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:799:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:803:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[20];
data/coreutils-8.32/gnulib-tests/test-getopt.h:882:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:886:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:930:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:934:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[20];
data/coreutils-8.32/gnulib-tests/test-getopt.h:1005:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:1009:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:1073:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:1077:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:1116:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:1120:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:1147:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:1151:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[20];
data/coreutils-8.32/gnulib-tests/test-getopt.h:1203:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:1207:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:1273:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:1277:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:1316:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:1320:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:1345:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:1349:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt.h:1377:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:119:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:134:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:149:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:164:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:178:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:193:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:208:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:222:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:236:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:252:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:267:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:292:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:321:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:342:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:345:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:371:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:374:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:401:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:404:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:430:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:433:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:462:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:465:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:491:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:494:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:521:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:524:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:555:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:558:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:584:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:587:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:616:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:619:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:650:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:653:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:678:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:681:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:707:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:710:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:740:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:743:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:768:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:771:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:797:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:800:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:830:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:833:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:858:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:861:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:888:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:891:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:922:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:925:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:950:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:953:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:979:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:982:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1010:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1013:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1038:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1041:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1067:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1070:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1096:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1099:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1127:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1130:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1155:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1158:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1184:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1187:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1213:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1216:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1243:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1246:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1275:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1278:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1306:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1309:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1339:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1342:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1369:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1372:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1403:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1406:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1445:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1448:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[20];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1497:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1500:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1542:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1545:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[20];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1614:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1617:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1657:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1660:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1697:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1700:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1726:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1729:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[20];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1778:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1781:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1830:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1833:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1872:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1875:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1902:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *non_options[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1905:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1945:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1961:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1977:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:1993:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:2010:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:2027:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:2043:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:2059:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:2074:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:2089:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:2109:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-getopt_long.h:2130:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[10];
data/coreutils-8.32/gnulib-tests/test-hash.c:77:11:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  *seed = atoi (str);
data/coreutils-8.32/gnulib-tests/test-hash.c:209:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char buf[50];
data/coreutils-8.32/gnulib-tests/test-iconv.c:63:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[50];
data/coreutils-8.32/gnulib-tests/test-iconv.c:79:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[2] = { (char)0xDE, (char)0xAD };
data/coreutils-8.32/gnulib-tests/test-iconv.c:98:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[50];
data/coreutils-8.32/gnulib-tests/test-iconv.c:114:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[10];
data/coreutils-8.32/gnulib-tests/test-iconv.c:137:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[10];
data/coreutils-8.32/gnulib-tests/test-inet_ntop.c:39:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char printable[16];
data/coreutils-8.32/gnulib-tests/test-inttostr.c:43:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char ref[100];                                                    \
data/coreutils-8.32/gnulib-tests/test-isatty.c:64:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fd = open (file, O_WRONLY|O_CREAT|O_TRUNC, 0644);
data/coreutils-8.32/gnulib-tests/test-isatty.c:69:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fd = open (file, O_RDONLY);
data/coreutils-8.32/gnulib-tests/test-isatty.c:90:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fd = open (DEV_NULL, O_RDONLY);
data/coreutils-8.32/gnulib-tests/test-iswdigit.c:52:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[4];
data/coreutils-8.32/gnulib-tests/test-iswxdigit.c:52:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[4];
data/coreutils-8.32/gnulib-tests/test-link.h:31:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fd = open (BASE "a", O_CREAT | O_EXCL | O_WRONLY, 0600);
data/coreutils-8.32/gnulib-tests/test-link.h:76:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fd = open (BASE "b", O_APPEND | O_WRONLY);
data/coreutils-8.32/gnulib-tests/test-link.h:81:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[11] = { 0 };
data/coreutils-8.32/gnulib-tests/test-link.h:82:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fd = open (BASE "a", O_RDONLY);
data/coreutils-8.32/gnulib-tests/test-link.h:88:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fd = open (BASE "a", O_RDONLY);
data/coreutils-8.32/gnulib-tests/test-linkat.c:125:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  dfd1 = open (".", O_RDONLY);
data/coreutils-8.32/gnulib-tests/test-linkat.c:149:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  dfd = open (BASE "sub1", O_RDONLY);
data/coreutils-8.32/gnulib-tests/test-linkat.c:175:15:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      ASSERT (sprintf (strchr (file1, '\0') - 2, "%02d", i) == 2);
data/coreutils-8.32/gnulib-tests/test-linkat.c:176:15:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      ASSERT (sprintf (strchr (file2, '\0') - 2, "%02d", i + 1) == 2);
data/coreutils-8.32/gnulib-tests/test-linkat.c:182:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  dfd2 = open ("..", O_RDONLY);
data/coreutils-8.32/gnulib-tests/test-linkat.c:206:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  dfd = open (".", O_RDONLY);
data/coreutils-8.32/gnulib-tests/test-linkat.c:355:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  dfd = open (BASE "sub1", O_RDONLY);
data/coreutils-8.32/gnulib-tests/test-linkat.c:357:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  dfd2 = open (BASE "sub2", O_RDONLY);
data/coreutils-8.32/gnulib-tests/test-localename.c:436:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *unsaved_names[SIZEOF (choices)][SIZEOF (categories)];
data/coreutils-8.32/gnulib-tests/test-localename.c:439:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *saved_names[SIZEOF (choices)][SIZEOF (categories)];
data/coreutils-8.32/gnulib-tests/test-lock.c:184:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char name[80];
data/coreutils-8.32/gnulib-tests/test-lock.c:190:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf (name, "test-lock-%lu-%p-%u",
data/coreutils-8.32/gnulib-tests/test-lock.c:692:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (&once_control, &fresh_once, sizeof (gl_once_t));
data/coreutils-8.32/gnulib-tests/test-mbrtowc-w32.c:42:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name_with_codepage[1024];
data/coreutils-8.32/gnulib-tests/test-mbrtowc-w32.c:116:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[1];
data/coreutils-8.32/gnulib-tests/test-mbrtowc-w32.c:704:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  int codepage = atoi (argv[argc - 1]);
data/coreutils-8.32/gnulib-tests/test-mbrtowc.c:69:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[1];
data/coreutils-8.32/gnulib-tests/test-mbsalign.c:29:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char dest[4 * 16 + 1];
data/coreutils-8.32/gnulib-tests/test-mbsinit.c:41:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static const char input[1] = "\303";
data/coreutils-8.32/gnulib-tests/test-mbsrtowcs.c:82:11:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          wchar_t buf[BUFSIZE];
data/coreutils-8.32/gnulib-tests/test-md5.c:45:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[MD5_DIGEST_SIZE];
data/coreutils-8.32/gnulib-tests/test-memcasecmp.c:56:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char foo[21];
data/coreutils-8.32/gnulib-tests/test-memcasecmp.c:57:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char bar[21];
data/coreutils-8.32/gnulib-tests/test-memcasecmp.c:63:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy (a, "--------01111111");
data/coreutils-8.32/gnulib-tests/test-memcasecmp.c:64:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy (b, "--------10000000");
data/coreutils-8.32/gnulib-tests/test-nl_langinfo-mt.c:233:35:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    duration.tv_sec = (argc > 1 ? atoi (argv[1]) : 2);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:43:14:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  int pass = atoi (argv[1]);
data/coreutils-8.32/gnulib-tests/test-nstrftime.c:59:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[1000];
data/coreutils-8.32/gnulib-tests/test-nstrftime.c:164:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[1000];
data/coreutils-8.32/gnulib-tests/test-nstrftime.c:225:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char out[2];
data/coreutils-8.32/gnulib-tests/test-nstrftime.c:226:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char exp[2] = {0,};
data/coreutils-8.32/gnulib-tests/test-nstrftime.c:228:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char fmt[3] = {'%','q','\0'};
data/coreutils-8.32/gnulib-tests/test-open.c:24:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
SIGNATURE_CHECK (open, int, (char const *, int, ...));
data/coreutils-8.32/gnulib-tests/test-open.c:40:21:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  return test_open (open, true);
data/coreutils-8.32/gnulib-tests/test-openat-safer.c:47:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[2];
data/coreutils-8.32/gnulib-tests/test-openat-safer.c:106:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
          fd = open ("/dev/null", O_RDONLY);
data/coreutils-8.32/gnulib-tests/test-openat.c:80:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  dfd = open (".", O_RDONLY);
data/coreutils-8.32/gnulib-tests/test-openat.c:91:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    dfd = open (".", O_RDONLY);
data/coreutils-8.32/gnulib-tests/test-parse-datetime.c:381:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char tmp[32];
data/coreutils-8.32/gnulib-tests/test-parse-datetime.c:441:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[bufsize];
data/coreutils-8.32/gnulib-tests/test-parse-datetime.c:442:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy (buf, bufprefix, sizeof bufprefix - 1);
data/coreutils-8.32/gnulib-tests/test-perror2.c:99:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[256];
data/coreutils-8.32/gnulib-tests/test-posixtm.c:111:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char curr_year_str[30];
data/coreutils-8.32/gnulib-tests/test-posixtm.c:159:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char tmp_buf[20];
data/coreutils-8.32/gnulib-tests/test-pthread-mutex.c:151:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char name[80];
data/coreutils-8.32/gnulib-tests/test-pthread-mutex.c:157:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf (name, "test-lock-%lu-%p-%u",
data/coreutils-8.32/gnulib-tests/test-pthread_sigmask1.c:48:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char command[80];
data/coreutils-8.32/gnulib-tests/test-pthread_sigmask1.c:62:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (command, "sh -c 'sleep 1; kill -%d %d' &", SIGINT, pid);
data/coreutils-8.32/gnulib-tests/test-quotearg-simple.c:340:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[10];
data/coreutils-8.32/gnulib-tests/test-quotearg-simple.c:350:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy (z, str, s_len + 1);
data/coreutils-8.32/gnulib-tests/test-quotearg.h:104:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char buf[100];
data/coreutils-8.32/gnulib-tests/test-read.c:37:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fd = open (filename, O_CREAT | O_WRONLY, 0600);
data/coreutils-8.32/gnulib-tests/test-read.c:43:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fd = open (filename, O_RDONLY);
data/coreutils-8.32/gnulib-tests/test-read.c:47:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[10];
data/coreutils-8.32/gnulib-tests/test-readlink.h:28:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[80];
data/coreutils-8.32/gnulib-tests/test-readlinkat.c:56:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[80];
data/coreutils-8.32/gnulib-tests/test-readtokens.c:34:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  int fd = open (filename, O_CREAT | O_WRONLY, 0600);
data/coreutils-8.32/gnulib-tests/test-readtokens.c:41:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *fp = fopen (filename, "r");
data/coreutils-8.32/gnulib-tests/test-regex.c:37:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char folded_chars[UCHAR_MAX + 1];
data/coreutils-8.32/gnulib-tests/test-renameat.c:91:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  dfd1 = open (".", O_RDONLY);
data/coreutils-8.32/gnulib-tests/test-renameat.c:109:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  dfd = open (BASE "sub1", O_RDONLY);
data/coreutils-8.32/gnulib-tests/test-renameat.c:131:15:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      ASSERT (sprintf (strchr (file1, '\0') - 2, "%02d", i) == 2);
data/coreutils-8.32/gnulib-tests/test-renameat.c:132:15:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      ASSERT (sprintf (strchr (file2, '\0') - 2, "%02d", i + 1) == 2);
data/coreutils-8.32/gnulib-tests/test-renameat.c:137:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  dfd2 = open ("..", O_RDONLY);
data/coreutils-8.32/gnulib-tests/test-renameat.c:147:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  dfd = open (".", O_RDONLY);
data/coreutils-8.32/gnulib-tests/test-renameatu.c:94:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  dfd1 = open (".", O_RDONLY);
data/coreutils-8.32/gnulib-tests/test-renameatu.c:112:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  dfd = open (BASE "sub1", O_RDONLY);
data/coreutils-8.32/gnulib-tests/test-renameatu.c:134:15:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      ASSERT (sprintf (strchr (file1, '\0') - 2, "%02d", i) == 2);
data/coreutils-8.32/gnulib-tests/test-renameatu.c:135:15:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      ASSERT (sprintf (strchr (file2, '\0') - 2, "%02d", i + 1) == 2);
data/coreutils-8.32/gnulib-tests/test-renameatu.c:140:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  dfd2 = open ("..", O_RDONLY);
data/coreutils-8.32/gnulib-tests/test-renameatu.c:150:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  dfd = open (".", O_RDONLY);
data/coreutils-8.32/gnulib-tests/test-sameacls.c:535:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char acl1[1000];
data/coreutils-8.32/gnulib-tests/test-sameacls.c:538:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char text1[1000];
data/coreutils-8.32/gnulib-tests/test-sameacls.c:541:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char acl2[1000];
data/coreutils-8.32/gnulib-tests/test-sameacls.c:544:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char text2[1000];
data/coreutils-8.32/gnulib-tests/test-sameacls.c:598:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  union { struct acl a; char room[4096]; } acl1;
data/coreutils-8.32/gnulib-tests/test-sameacls.c:599:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  union { struct acl a; char room[4096]; } acl2;
data/coreutils-8.32/gnulib-tests/test-select-fd.c:34:20:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
          int fd = atoi (argv[2]);
data/coreutils-8.32/gnulib-tests/test-select-fd.c:39:35:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
              FILE *result_file = fopen (result_file_name, "wb");
data/coreutils-8.32/gnulib-tests/test-select.h:354:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[3];
data/coreutils-8.32/gnulib-tests/test-select.h:395:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[3];
data/coreutils-8.32/gnulib-tests/test-setlocale_null-mt-all.c:69:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[SETLOCALE_NULL_ALL_MAX];
data/coreutils-8.32/gnulib-tests/test-setlocale_null-mt-all.c:89:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[SETLOCALE_NULL_ALL_MAX];
data/coreutils-8.32/gnulib-tests/test-setlocale_null-mt-one.c:69:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[SETLOCALE_NULL_MAX];
data/coreutils-8.32/gnulib-tests/test-setlocale_null-mt-one.c:89:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[SETLOCALE_NULL_MAX];
data/coreutils-8.32/gnulib-tests/test-setlocale_null.c:25:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char buf[SETLOCALE_NULL_ALL_MAX];
data/coreutils-8.32/gnulib-tests/test-sha1.c:38:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[SHA1_DIGEST_SIZE];
data/coreutils-8.32/gnulib-tests/test-sigprocmask.c:48:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char command[80];
data/coreutils-8.32/gnulib-tests/test-sigprocmask.c:69:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (command, "sh -c 'sleep 1; kill -%d %d' &", SIGINT, (int) pid);
data/coreutils-8.32/gnulib-tests/test-snprintf.c:33:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[8];
data/coreutils-8.32/gnulib-tests/test-snprintf.c:42:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (buf, "DEADBEEF", 8);
data/coreutils-8.32/gnulib-tests/test-snprintf.c:65:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char result[100];
data/coreutils-8.32/gnulib-tests/test-stat-time.c:37:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char filename_stamp1[50];
data/coreutils-8.32/gnulib-tests/test-stat-time.c:38:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char filename_testfile[50];
data/coreutils-8.32/gnulib-tests/test-stat-time.c:39:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char filename_stamp2[50];
data/coreutils-8.32/gnulib-tests/test-stat-time.c:40:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char filename_stamp3[50];
data/coreutils-8.32/gnulib-tests/test-stat-time.c:52:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (filename_stamp1,   "t-stt-%ld-stamp1", t);
data/coreutils-8.32/gnulib-tests/test-stat-time.c:53:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (filename_testfile, "t-stt-%ld-testfile", t);
data/coreutils-8.32/gnulib-tests/test-stat-time.c:54:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (filename_stamp2,   "t-stt-%ld-stamp2", t);
data/coreutils-8.32/gnulib-tests/test-stat-time.c:55:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (filename_stamp3,   "t-stt-%ld-stamp3", t);
data/coreutils-8.32/gnulib-tests/test-stat-time.c:83:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  int fd = open (filename, flags | O_WRONLY, 0500);
data/coreutils-8.32/gnulib-tests/test-stdalign.c:31:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
typedef struct { char a[1]; } struct1;
data/coreutils-8.32/gnulib-tests/test-stdalign.c:32:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
typedef struct { char a[2]; } struct2;
data/coreutils-8.32/gnulib-tests/test-stdalign.c:33:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
typedef struct { char a[3]; } struct3;
data/coreutils-8.32/gnulib-tests/test-stdalign.c:34:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
typedef struct { char a[4]; } struct4;
data/coreutils-8.32/gnulib-tests/test-stdbool.c:59:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char a[true == 1 ? 1 : -1];
data/coreutils-8.32/gnulib-tests/test-stdbool.c:60:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char b[false == 0 ? 1 : -1];
data/coreutils-8.32/gnulib-tests/test-stdbool.c:61:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char c[__bool_true_false_are_defined == 1 ? 1 : -1];
data/coreutils-8.32/gnulib-tests/test-stdbool.c:63:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char d[(bool) 0.5 == true ? 1 : -1];
data/coreutils-8.32/gnulib-tests/test-stdbool.c:72:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char f[(_Bool) 0.0 == false ? 1 : -1];
data/coreutils-8.32/gnulib-tests/test-stdbool.c:74:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char g[true];
data/coreutils-8.32/gnulib-tests/test-stdbool.c:75:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char h[sizeof (_Bool)];
data/coreutils-8.32/gnulib-tests/test-stdbool.c:77:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char i[sizeof s.t];
data/coreutils-8.32/gnulib-tests/test-stdbool.c:81:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char o[sizeof n == m * sizeof n[0] ? 1 : -1];
data/coreutils-8.32/gnulib-tests/test-stdbool.c:82:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
data/coreutils-8.32/gnulib-tests/test-strerror_r.c:31:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[100];
data/coreutils-8.32/gnulib-tests/test-strerror_r.c:97:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf2[sizeof buf] = "";
data/coreutils-8.32/gnulib-tests/test-strerror_r.c:123:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy (buf, "BADFACE");
data/coreutils-8.32/gnulib-tests/test-sys_utsname.c:30:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
  strcpy (buf.sysname, "Linux");
data/coreutils-8.32/gnulib-tests/test-sys_utsname.c:31:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
  strcpy (buf.nodename, "hobbybox");
data/coreutils-8.32/gnulib-tests/test-sys_utsname.c:32:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
  strcpy (buf.release, "3.141.592");
data/coreutils-8.32/gnulib-tests/test-sys_utsname.c:33:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
  strcpy (buf.version, "GENERIC");
data/coreutils-8.32/gnulib-tests/test-sys_utsname.c:34:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
  strcpy (buf.machine, "i586");
data/coreutils-8.32/gnulib-tests/test-unlinkat.c:84:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  dfd = open (".", O_RDONLY);
data/coreutils-8.32/gnulib-tests/test-userspec.c:125:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (t, pw->pw_name, len);
data/coreutils-8.32/gnulib-tests/test-utimens.c:45:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
do_fdutimens (char const *name, struct timespec const times[2])
data/coreutils-8.32/gnulib-tests/test-utimens.c:48:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  int fd = open (name, O_WRONLY);
data/coreutils-8.32/gnulib-tests/test-utimens.c:50:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fd = open (name, O_RDONLY);
data/coreutils-8.32/gnulib-tests/test-utimensat.c:24:40:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
SIGNATURE_CHECK (utimensat, int, (int, char const *, struct timespec const[2],
data/coreutils-8.32/gnulib-tests/test-utimensat.c:50:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
do_utimensat (char const *name, struct timespec const times[2])
data/coreutils-8.32/gnulib-tests/test-utimensat.c:57:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
do_lutimensat (char const *name, struct timespec const times[2])
data/coreutils-8.32/gnulib-tests/test-utimensat.c:88:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  dfd = open (".", O_RDONLY);
data/coreutils-8.32/gnulib-tests/test-vasnprintf.c:32:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[8];
data/coreutils-8.32/gnulib-tests/test-vasnprintf.c:50:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (buf, "DEADBEEF", 8);
data/coreutils-8.32/gnulib-tests/test-vasnprintf.c:69:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (buf, "DEADBEEF", 8);
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3505:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char input[5000];
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3536:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy (block, "abcdefgh", i);
data/coreutils-8.32/gnulib-tests/test-wcrtomb-w32.c:34:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[64];
data/coreutils-8.32/gnulib-tests/test-wcrtomb-w32.c:40:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name_with_codepage[1024];
data/coreutils-8.32/gnulib-tests/test-wcrtomb-w32.c:307:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  int codepage = atoi (argv[argc - 1]);
data/coreutils-8.32/gnulib-tests/test-wcrtomb.c:37:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[64];
data/coreutils-8.32/gnulib-tests/test-wcrtomb.c:57:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[64];
data/coreutils-8.32/gnulib-tests/test-write.c:37:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fd = open (filename, O_CREAT | O_WRONLY, 0600);
data/coreutils-8.32/gnulib-tests/test-write.c:43:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fd = open (filename, O_WRONLY);
data/coreutils-8.32/gnulib-tests/test-write.c:50:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[64];
data/coreutils-8.32/gnulib-tests/test-write.c:51:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    int rfd = open (filename, O_RDONLY);
data/coreutils-8.32/gnulib-tests/test-yesno.c:53:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    i = atoi (argv[1]);
data/coreutils-8.32/gnulib-tests/tmpdir.c:119:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char dirbuf[PATH_MAX];
data/coreutils-8.32/gnulib-tests/tmpdir.c:156:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (tmpl, dir, dlen);
data/coreutils-8.32/gnulib-tests/tmpfile.c:83:1:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
tmpfile (void)
data/coreutils-8.32/gnulib-tests/tmpfile.c:85:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char dir[PATH_MAX];
data/coreutils-8.32/gnulib-tests/tmpfile.c:95:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char xtemplate[PATH_MAX];
data/coreutils-8.32/gnulib-tests/tmpfile.c:105:15:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
              memcpy (&xtemplate[len - 6], "XXXXXX", 6);
data/coreutils-8.32/gnulib-tests/tmpfile.c:149:1:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
tmpfile (void)
data/coreutils-8.32/gnulib-tests/tmpfile.c:151:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[PATH_MAX];
data/coreutils-8.32/gnulib-tests/wctob.c:29:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[64];
data/coreutils-8.32/gnulib-tests/zerosize-ptr.h:67:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  int fd = open ("/dev/zero", O_RDONLY, 0666);
data/coreutils-8.32/lib/acl-internal.h:287:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  union { struct acl a; char room[4096]; } u;
data/coreutils-8.32/lib/af_alg.c:159:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char buf[BLOCKSIZE];
data/coreutils-8.32/lib/alloca.c:122:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char align[ALIGN_SIZE];       /* To force sizeof(header).  */
data/coreutils-8.32/lib/areadlink-with-size.c:74:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char stackbuf[stackbuf_size];
data/coreutils-8.32/lib/areadlink-with-size.c:105:24:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                return memcpy (buffer, buf, link_length + 1);
data/coreutils-8.32/lib/at-func.c:89:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char proc_buf[OPENAT_BUFFER_SIZE];
data/coreutils-8.32/lib/at-func2.c:83:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char proc_buf1[OPENAT_BUFFER_SIZE];
data/coreutils-8.32/lib/at-func2.c:89:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char proc_buf2[OPENAT_BUFFER_SIZE];
data/coreutils-8.32/lib/backupfile.c:123:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              char tmp[sizeof "."];
data/coreutils-8.32/lib/backupfile.c:124:15:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
              memcpy (tmp, base, sizeof ".");
data/coreutils-8.32/lib/backupfile.c:129:15:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
              memcpy (base, tmp, sizeof ".");
data/coreutils-8.32/lib/backupfile.c:224:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char tmp[sizeof "."];
data/coreutils-8.32/lib/backupfile.c:225:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (tmp, base, sizeof ".");
data/coreutils-8.32/lib/backupfile.c:230:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (base, tmp, sizeof ".");
data/coreutils-8.32/lib/backupfile.c:231:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      strcpy (base + baselen, ".~1~");
data/coreutils-8.32/lib/backupfile.c:293:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (q, p, versionlen + 2);
data/coreutils-8.32/lib/backupfile.c:341:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (s, file, filelen + 1);
data/coreutils-8.32/lib/backupfile.c:344:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy (s + filelen, simple_backup_suffix, simple_backup_suffix_size);
data/coreutils-8.32/lib/backupfile.c:356:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy (s + filelen, simple_backup_suffix,
data/coreutils-8.32/lib/base32.c:68:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static const char b32str[32] =
data/coreutils-8.32/lib/base32.c:209:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const signed char b32[0x100] = {
data/coreutils-8.32/lib/base32.h:34:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[8];
data/coreutils-8.32/lib/base64.c:62:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char b64c[64] =
data/coreutils-8.32/lib/base64.c:252:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const signed char b64[0x100] = {
data/coreutils-8.32/lib/base64.h:38:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[4];
data/coreutils-8.32/lib/basename.c:51:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (p + 2, base, length);
data/coreutils-8.32/lib/btowc.c:31:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[1];
data/coreutils-8.32/lib/canonicalize.c:163:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (rname, name, prefix_len);
data/coreutils-8.32/lib/canonicalize.c:222:18:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          dest = memcpy (dest, start, end - start);
data/coreutils-8.32/lib/canonicalize.c:291:28:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
              name = end = memcpy (extra_buf, buf, n);
data/coreutils-8.32/lib/canonicalize.c:298:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy (rname, buf, pfxlen);
data/coreutils-8.32/lib/careadlinkat.c:73:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char stack_buf[1024];
data/coreutils-8.32/lib/careadlinkat.c:124:15:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
              memcpy (b, buf, link_size);
data/coreutils-8.32/lib/chown.c:91:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    int fd = open (file, O_RDONLY | open_flags);
data/coreutils-8.32/lib/chown.c:94:27:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            && 0 <= (fd = open (file, O_WRONLY | open_flags))))
data/coreutils-8.32/lib/count-leading-zeros.h:79:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static const char de_Bruijn_lookup[32] = {
data/coreutils-8.32/lib/diacrit.c:35:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char diacrit_base[256] =
data/coreutils-8.32/lib/diacrit.c:103:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char diacrit_diac[256] =
data/coreutils-8.32/lib/dirent-private.h:37:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char dir_name_mask[1];
data/coreutils-8.32/lib/dirent.in.h:41:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char d_name[1];
data/coreutils-8.32/lib/dirname-lgpl.c:81:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (dir, file, length);
data/coreutils-8.32/lib/dup.c:66:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char path[_MAX_PATH];
data/coreutils-8.32/lib/dup.c:70:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        dupfd = open (path, O_RDONLY);
data/coreutils-8.32/lib/dup2.c:118:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  tempfd = open ("NUL", O_RDONLY);
data/coreutils-8.32/lib/dup2.c:126:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char path[_MAX_PATH];
data/coreutils-8.32/lib/dup2.c:130:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      return open(path, O_RDONLY);
data/coreutils-8.32/lib/error.c:180:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char errbuf[1024];
data/coreutils-8.32/lib/euidaccess.c:215:10:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  mode = atoi (argv[2]);
data/coreutils-8.32/lib/exclude.c:560:19:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                  memcpy (tmp, pattern, len);
data/coreutils-8.32/lib/exclude.c:561:19:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                  strcpy (tmp + len, "(/.*)?");
data/coreutils-8.32/lib/exclude.c:686:20:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  else if (! (in = fopen (file_name, "r")))
data/coreutils-8.32/lib/fchmodat.c:103:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[sizeof fmt - sizeof "%d" + INT_BUFSIZE_BOUND (int)];
data/coreutils-8.32/lib/fcntl--.h:23:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#undef open
data/coreutils-8.32/lib/fcntl--.h:24:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#define open open_safer
data/coreutils-8.32/lib/fcntl.c:61:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char fds_to_close[OPEN_MAX_MAX / CHAR_BIT];
data/coreutils-8.32/lib/fcntl.in.h:143:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#   undef open
data/coreutils-8.32/lib/fcntl.in.h:144:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#   define open rpl_open
data/coreutils-8.32/lib/fcntl.in.h:146:19:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
_GL_FUNCDECL_RPL (open, int, (const char *filename, int flags, ...)
data/coreutils-8.32/lib/fcntl.in.h:148:19:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
_GL_CXXALIAS_RPL (open, int, (const char *filename, int flags, ...));
data/coreutils-8.32/lib/fcntl.in.h:150:19:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
_GL_CXXALIAS_SYS (open, int, (const char *filename, int flags, ...));
data/coreutils-8.32/lib/fcntl.in.h:155:19:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
_GL_CXXALIASWARN (open);
data/coreutils-8.32/lib/fcntl.in.h:158:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
# undef open
data/coreutils-8.32/lib/fcntl.in.h:160:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
_GL_WARN_ON_USE (open, "open is not always POSIX compliant - "
data/coreutils-8.32/lib/fd-reopen.c:34:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  int fd = open (file, flags, mode);
data/coreutils-8.32/lib/fdopendir.c:71:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char path[_MAX_PATH];
data/coreutils-8.32/lib/fdopendir.c:182:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[OPENAT_BUFFER_SIZE];
data/coreutils-8.32/lib/fdutimensat.c:43:31:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
fdutimensat (int fd, int dir, char const *file, struct timespec const ts[2],
data/coreutils-8.32/lib/file-has-acl.c:404:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char aclbuf[1024];
data/coreutils-8.32/lib/file-has-acl.c:465:29:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      union { struct acl a; char room[4096]; } u;
data/coreutils-8.32/lib/filenamecat-lgpl.c:31:47:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
# define mempcpy(D, S, N) ((void *) ((char *) memcpy (D, S, N) + (N)))
data/coreutils-8.32/lib/fnmatch.c:172:49:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#   define MEMPCPY(D, S, N) ((void *) ((char *) memcpy (D, S, N) + (N)))
data/coreutils-8.32/lib/fnmatch.c:215:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char s[CHAR_CLASS_MAX_LENGTH + 1];
data/coreutils-8.32/lib/fnmatch_loop.c:472:29:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                            char str[c1];
data/coreutils-8.32/lib/fnmatch_loop.c:693:33:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                char str[c1];
data/coreutils-8.32/lib/fopen-safer.c:33:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE *fp = fopen (file, mode);
data/coreutils-8.32/lib/fopen.c:32:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  return fopen (filename, mode);
data/coreutils-8.32/lib/fopen.c:83:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fd = open (filename, O_RDONLY);
data/coreutils-8.32/lib/freadseek.c:124:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[4096];
data/coreutils-8.32/lib/freopen-safer.c:42:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  int value = open ("/dev/null", O_RDONLY);
data/coreutils-8.32/lib/freopen.c:78:24:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
          int nullfd = open (null_device, O_RDONLY | O_CLOEXEC);
data/coreutils-8.32/lib/fseeko.c:62:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      FILE *tmp = fopen ("/dev/null", "r");
data/coreutils-8.32/lib/ftello.c:76:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      FILE *tmp = fopen ("/dev/null", "r");
data/coreutils-8.32/lib/ftoastr.c:82:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char width_0_buffer[LENGTH == 1 ? FLT_BUFSIZE_BOUND
data/coreutils-8.32/lib/ftoastr.c:112:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char format[sizeof "%-+ 0*.*Lg"];
data/coreutils-8.32/lib/ftruncate.c:90:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          static char zero_bytes[1024];
data/coreutils-8.32/lib/fts.c:169:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
# undef open
data/coreutils-8.32/lib/fts.c:170:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
# define open __open
data/coreutils-8.32/lib/fts.c:353:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            : open (dir, open_flags));
data/coreutils-8.32/lib/fts.c:404:22:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            int fd = open (".", O_SEARCH);
data/coreutils-8.32/lib/fts.c:1927:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(p->fts_name, name, namelen);
data/coreutils-8.32/lib/fts_.h:254:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char fts_name[__FLEXIBLE_ARRAY_MEMBER]; /* file name */
data/coreutils-8.32/lib/getaddrinfo.c:281:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy (&sinp->sin6_addr, he->h_addr_list[0], sizeof sinp->sin6_addr);
data/coreutils-8.32/lib/getaddrinfo.c:305:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy (&sinp->sin_addr, he->h_addr_list[0], sizeof sinp->sin_addr);
data/coreutils-8.32/lib/getcwd-lgpl.c:80:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmp[4032];
data/coreutils-8.32/lib/getcwd.c:160:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char dots[DEEP_NESTING * sizeof ".." + BIG_FILE_NAME_COMPONENT_LENGTH + 1];
data/coreutils-8.32/lib/getcwd.c:200:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char big_buffer[BIG_FILE_NAME_LENGTH + 1];
data/coreutils-8.32/lib/getcwd.c:377:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy (dotlist + dotlen, d->d_name, _D_ALLOC_NAMLEN (d));
data/coreutils-8.32/lib/getcwd.c:413:22:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
              dirp = memcpy (tmp + allocated - (oldsize - dirroom),
data/coreutils-8.32/lib/getcwd.c:420:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (dirp, d->d_name, namlen);
data/coreutils-8.32/lib/getloadavg.c:511:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char ldavgbuf[3 * (INT_STRLEN_BOUND (int) + sizeof ".00 ")];
data/coreutils-8.32/lib/getloadavg.c:515:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fd = open (LINUX_LDAV_FILE, O_RDONLY);
data/coreutils-8.32/lib/getloadavg.c:572:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp = fopen (NETBSD_LDAV_FILE, "r");
data/coreutils-8.32/lib/getloadavg.c:877:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      int fd = open ("/dev/kmem", O_RDONLY | O_CLOEXEC);
data/coreutils-8.32/lib/getlogin.c:34:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char login_name[1024];
data/coreutils-8.32/lib/getndelim2.c:190:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy (read_pos, buffer, copy_len);
data/coreutils-8.32/lib/getpass.c:99:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  tty = fopen ("/dev/tty", "w+");
data/coreutils-8.32/lib/getpass.c:193:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char getpassbuf[PASS_MAX + 1];
data/coreutils-8.32/lib/getprogname.c:152:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char status64[1216];
data/coreutils-8.32/lib/getprogname.c:222:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char filename[50];
data/coreutils-8.32/lib/getprogname.c:225:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (filename, "/proc/pinfo/%d", (int) getpid ());
data/coreutils-8.32/lib/getprogname.c:226:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fd = open (filename, O_RDONLY);
data/coreutils-8.32/lib/getprogname.c:243:22:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
              return memcpy (namecopy, name, namelen);
data/coreutils-8.32/lib/gettext.h:227:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char msg_ctxt_id[msgctxt_len + msgid_len];
data/coreutils-8.32/lib/gettext.h:229:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[1024];
data/coreutils-8.32/lib/gettext.h:238:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (msg_ctxt_id, msgctxt, msgctxt_len - 1);
data/coreutils-8.32/lib/gettext.h:240:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (msg_ctxt_id + msgctxt_len, msgid, msgid_len);
data/coreutils-8.32/lib/gettext.h:275:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char msg_ctxt_id[msgctxt_len + msgid_len];
data/coreutils-8.32/lib/gettext.h:277:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[1024];
data/coreutils-8.32/lib/gettext.h:286:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (msg_ctxt_id, msgctxt, msgctxt_len - 1);
data/coreutils-8.32/lib/gettext.h:288:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (msg_ctxt_id + msgctxt_len, msgid, msgid_len);
data/coreutils-8.32/lib/getusershell.c:93:21:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      shellstream = fopen (SHELLS_FILE, "r");
data/coreutils-8.32/lib/group-member.c:109:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      gid = atoi (argv[i]);
data/coreutils-8.32/lib/hard-locale.c:29:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char locale[SETLOCALE_NULL_MAX];
data/coreutils-8.32/lib/human.c:89:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[2 * INT_STRLEN_BOUND (uintmax_t) + 1];
data/coreutils-8.32/lib/human.c:91:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (buf, number, numberlen);
data/coreutils-8.32/lib/human.c:109:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (d, buf + i, grouplen);
data/coreutils-8.32/lib/human.c:114:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (d, thousands_sep, thousands_seplen);
data/coreutils-8.32/lib/human.c:232:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf (buf, "%.0Lf", adjust_value (inexact_style, damt));
data/coreutils-8.32/lib/human.c:250:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf (buf, "%.1Lf", adjust_value (inexact_style, damt));
data/coreutils-8.32/lib/human.c:258:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf (buf, "%.0Lf",
data/coreutils-8.32/lib/human.c:318:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy (p, decimal_point, decimal_pointlen);
data/coreutils-8.32/lib/human.c:339:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy (p, decimal_point, decimal_pointlen);
data/coreutils-8.32/lib/iconv_open-aix.h:33:43:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
struct mapping { int standard_name; const char vendor_name[10 + 1]; };
data/coreutils-8.32/lib/iconv_open-aix.h:86:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str6[sizeof("EUC-TW")];
data/coreutils-8.32/lib/iconv_open-aix.h:87:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str7[sizeof("EUC-KR")];
data/coreutils-8.32/lib/iconv_open-aix.h:88:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str8[sizeof("CP852")];
data/coreutils-8.32/lib/iconv_open-aix.h:89:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str9[sizeof("EUC-JP")];
data/coreutils-8.32/lib/iconv_open-aix.h:90:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str10[sizeof("ISO-8859-2")];
data/coreutils-8.32/lib/iconv_open-aix.h:91:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str11[sizeof("CP857")];
data/coreutils-8.32/lib/iconv_open-aix.h:92:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str12[sizeof("CP850")];
data/coreutils-8.32/lib/iconv_open-aix.h:93:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str13[sizeof("ISO-8859-7")];
data/coreutils-8.32/lib/iconv_open-aix.h:94:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str14[sizeof("CP932")];
data/coreutils-8.32/lib/iconv_open-aix.h:95:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str15[sizeof("GB2312")];
data/coreutils-8.32/lib/iconv_open-aix.h:96:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str16[sizeof("BIG5")];
data/coreutils-8.32/lib/iconv_open-aix.h:97:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str17[sizeof("CP437")];
data/coreutils-8.32/lib/iconv_open-aix.h:98:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str19[sizeof("ISO-8859-5")];
data/coreutils-8.32/lib/iconv_open-aix.h:99:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str20[sizeof("ISO-8859-15")];
data/coreutils-8.32/lib/iconv_open-aix.h:100:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str21[sizeof("ISO-8859-3")];
data/coreutils-8.32/lib/iconv_open-aix.h:101:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str22[sizeof("ISO-8859-13")];
data/coreutils-8.32/lib/iconv_open-aix.h:102:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str23[sizeof("CP1046")];
data/coreutils-8.32/lib/iconv_open-aix.h:103:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str24[sizeof("ISO-8859-8")];
data/coreutils-8.32/lib/iconv_open-aix.h:104:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str25[sizeof("CP856")];
data/coreutils-8.32/lib/iconv_open-aix.h:105:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str26[sizeof("CP1125")];
data/coreutils-8.32/lib/iconv_open-aix.h:106:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str27[sizeof("ISO-8859-6")];
data/coreutils-8.32/lib/iconv_open-aix.h:107:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str28[sizeof("CP865")];
data/coreutils-8.32/lib/iconv_open-aix.h:108:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str29[sizeof("CP922")];
data/coreutils-8.32/lib/iconv_open-aix.h:109:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str30[sizeof("CP1252")];
data/coreutils-8.32/lib/iconv_open-aix.h:110:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str31[sizeof("ISO-8859-9")];
data/coreutils-8.32/lib/iconv_open-aix.h:111:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str33[sizeof("CP943")];
data/coreutils-8.32/lib/iconv_open-aix.h:112:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str34[sizeof("ISO-8859-4")];
data/coreutils-8.32/lib/iconv_open-aix.h:113:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str35[sizeof("ISO-8859-1")];
data/coreutils-8.32/lib/iconv_open-aix.h:114:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str38[sizeof("CP1129")];
data/coreutils-8.32/lib/iconv_open-aix.h:115:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str40[sizeof("CP869")];
data/coreutils-8.32/lib/iconv_open-aix.h:116:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str41[sizeof("CP1124")];
data/coreutils-8.32/lib/iconv_open-aix.h:117:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str44[sizeof("CP861")];
data/coreutils-8.32/lib/iconv_open-hpux.h:33:43:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
struct mapping { int standard_name; const char vendor_name[9 + 1]; };
data/coreutils-8.32/lib/iconv_open-hpux.h:86:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str6[sizeof("CP1256")];
data/coreutils-8.32/lib/iconv_open-hpux.h:87:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str7[sizeof("CP1250")];
data/coreutils-8.32/lib/iconv_open-hpux.h:88:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str8[sizeof("CP1251")];
data/coreutils-8.32/lib/iconv_open-hpux.h:89:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str9[sizeof("CP850")];
data/coreutils-8.32/lib/iconv_open-hpux.h:90:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str10[sizeof("TIS-620")];
data/coreutils-8.32/lib/iconv_open-hpux.h:91:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str11[sizeof("CP1254")];
data/coreutils-8.32/lib/iconv_open-hpux.h:92:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str12[sizeof("ISO-8859-6")];
data/coreutils-8.32/lib/iconv_open-hpux.h:93:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str13[sizeof("EUC-TW")];
data/coreutils-8.32/lib/iconv_open-hpux.h:94:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str14[sizeof("ISO-8859-1")];
data/coreutils-8.32/lib/iconv_open-hpux.h:95:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str15[sizeof("ISO-8859-9")];
data/coreutils-8.32/lib/iconv_open-hpux.h:96:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str16[sizeof("CP1255")];
data/coreutils-8.32/lib/iconv_open-hpux.h:97:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str17[sizeof("BIG5")];
data/coreutils-8.32/lib/iconv_open-hpux.h:98:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str18[sizeof("CP855")];
data/coreutils-8.32/lib/iconv_open-hpux.h:99:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str19[sizeof("CP1257")];
data/coreutils-8.32/lib/iconv_open-hpux.h:100:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str20[sizeof("EUC-KR")];
data/coreutils-8.32/lib/iconv_open-hpux.h:101:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str21[sizeof("CP857")];
data/coreutils-8.32/lib/iconv_open-hpux.h:102:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str22[sizeof("ISO-8859-5")];
data/coreutils-8.32/lib/iconv_open-hpux.h:103:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str23[sizeof("ISO-8859-15")];
data/coreutils-8.32/lib/iconv_open-hpux.h:104:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str24[sizeof("CP866")];
data/coreutils-8.32/lib/iconv_open-hpux.h:105:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str25[sizeof("ISO-8859-7")];
data/coreutils-8.32/lib/iconv_open-hpux.h:106:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str26[sizeof("CP861")];
data/coreutils-8.32/lib/iconv_open-hpux.h:107:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str27[sizeof("CP869")];
data/coreutils-8.32/lib/iconv_open-hpux.h:108:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str28[sizeof("CP874")];
data/coreutils-8.32/lib/iconv_open-hpux.h:109:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str29[sizeof("CP864")];
data/coreutils-8.32/lib/iconv_open-hpux.h:110:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str30[sizeof("CP1252")];
data/coreutils-8.32/lib/iconv_open-hpux.h:111:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str31[sizeof("CP437")];
data/coreutils-8.32/lib/iconv_open-hpux.h:112:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str32[sizeof("CP852")];
data/coreutils-8.32/lib/iconv_open-hpux.h:113:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str33[sizeof("CP775")];
data/coreutils-8.32/lib/iconv_open-hpux.h:114:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str34[sizeof("CP865")];
data/coreutils-8.32/lib/iconv_open-hpux.h:115:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str35[sizeof("EUC-JP")];
data/coreutils-8.32/lib/iconv_open-hpux.h:116:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str36[sizeof("ISO-8859-2")];
data/coreutils-8.32/lib/iconv_open-hpux.h:117:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str37[sizeof("SHIFT_JIS")];
data/coreutils-8.32/lib/iconv_open-hpux.h:118:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str38[sizeof("CP1258")];
data/coreutils-8.32/lib/iconv_open-hpux.h:119:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str39[sizeof("UTF-8")];
data/coreutils-8.32/lib/iconv_open-hpux.h:120:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str40[sizeof("HP-KANA8")];
data/coreutils-8.32/lib/iconv_open-hpux.h:121:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str41[sizeof("HP-ROMAN8")];
data/coreutils-8.32/lib/iconv_open-hpux.h:122:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str42[sizeof("HP-HEBREW8")];
data/coreutils-8.32/lib/iconv_open-hpux.h:123:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str43[sizeof("GB2312")];
data/coreutils-8.32/lib/iconv_open-hpux.h:124:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str44[sizeof("ISO-8859-8")];
data/coreutils-8.32/lib/iconv_open-hpux.h:125:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str45[sizeof("HP-TURKISH8")];
data/coreutils-8.32/lib/iconv_open-hpux.h:126:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str46[sizeof("HP-GREEK8")];
data/coreutils-8.32/lib/iconv_open-hpux.h:127:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str47[sizeof("HP-ARABIC8")];
data/coreutils-8.32/lib/iconv_open-hpux.h:128:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str48[sizeof("CP862")];
data/coreutils-8.32/lib/iconv_open-hpux.h:129:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str49[sizeof("CP1253")];
data/coreutils-8.32/lib/iconv_open-irix.h:33:43:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
struct mapping { int standard_name; const char vendor_name[10 + 1]; };
data/coreutils-8.32/lib/iconv_open-irix.h:86:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str5[sizeof("CP855")];
data/coreutils-8.32/lib/iconv_open-irix.h:87:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str6[sizeof("EUC-TW")];
data/coreutils-8.32/lib/iconv_open-irix.h:88:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str7[sizeof("EUC-KR")];
data/coreutils-8.32/lib/iconv_open-irix.h:89:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str8[sizeof("CP1251")];
data/coreutils-8.32/lib/iconv_open-irix.h:90:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str9[sizeof("SHIFT_JIS")];
data/coreutils-8.32/lib/iconv_open-irix.h:91:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str10[sizeof("ISO-8859-5")];
data/coreutils-8.32/lib/iconv_open-irix.h:92:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str11[sizeof("ISO-8859-15")];
data/coreutils-8.32/lib/iconv_open-irix.h:93:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str12[sizeof("ISO-8859-1")];
data/coreutils-8.32/lib/iconv_open-irix.h:94:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str13[sizeof("EUC-JP")];
data/coreutils-8.32/lib/iconv_open-irix.h:95:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str14[sizeof("KOI8-R")];
data/coreutils-8.32/lib/iconv_open-irix.h:96:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str15[sizeof("ISO-8859-2")];
data/coreutils-8.32/lib/iconv_open-irix.h:97:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str16[sizeof("GB2312")];
data/coreutils-8.32/lib/iconv_open-irix.h:98:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str17[sizeof("ISO-8859-9")];
data/coreutils-8.32/lib/iconv_open-irix.h:99:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str18[sizeof("ISO-8859-8")];
data/coreutils-8.32/lib/iconv_open-irix.h:100:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str19[sizeof("ISO-8859-7")];
data/coreutils-8.32/lib/iconv_open-irix.h:101:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str20[sizeof("ISO-8859-6")];
data/coreutils-8.32/lib/iconv_open-irix.h:102:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str21[sizeof("ISO-8859-4")];
data/coreutils-8.32/lib/iconv_open-irix.h:103:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str22[sizeof("ISO-8859-3")];
data/coreutils-8.32/lib/iconv_open-irix.h:104:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str23[sizeof("TIS-620")];
data/coreutils-8.32/lib/iconv_open-osf.h:33:43:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
struct mapping { int standard_name; const char vendor_name[10 + 1]; };
data/coreutils-8.32/lib/iconv_open-osf.h:86:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str6[sizeof("CP1255")];
data/coreutils-8.32/lib/iconv_open-osf.h:87:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str7[sizeof("CP775")];
data/coreutils-8.32/lib/iconv_open-osf.h:88:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str8[sizeof("CP1250")];
data/coreutils-8.32/lib/iconv_open-osf.h:89:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str9[sizeof("EUC-TW")];
data/coreutils-8.32/lib/iconv_open-osf.h:90:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str10[sizeof("EUC-KR")];
data/coreutils-8.32/lib/iconv_open-osf.h:91:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str11[sizeof("TIS-620")];
data/coreutils-8.32/lib/iconv_open-osf.h:92:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str12[sizeof("ISO-8859-5")];
data/coreutils-8.32/lib/iconv_open-osf.h:93:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str13[sizeof("ISO-8859-15")];
data/coreutils-8.32/lib/iconv_open-osf.h:94:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str14[sizeof("BIG5")];
data/coreutils-8.32/lib/iconv_open-osf.h:95:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str15[sizeof("CP855")];
data/coreutils-8.32/lib/iconv_open-osf.h:96:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str16[sizeof("CP1258")];
data/coreutils-8.32/lib/iconv_open-osf.h:97:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str17[sizeof("CP850")];
data/coreutils-8.32/lib/iconv_open-osf.h:98:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str18[sizeof("CP865")];
data/coreutils-8.32/lib/iconv_open-osf.h:99:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str19[sizeof("EUC-JP")];
data/coreutils-8.32/lib/iconv_open-osf.h:100:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str20[sizeof("CP1257")];
data/coreutils-8.32/lib/iconv_open-osf.h:101:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str21[sizeof("CP1256")];
data/coreutils-8.32/lib/iconv_open-osf.h:102:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str22[sizeof("ISO-8859-8")];
data/coreutils-8.32/lib/iconv_open-osf.h:103:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str23[sizeof("SHIFT_JIS")];
data/coreutils-8.32/lib/iconv_open-osf.h:104:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str25[sizeof("ISO-8859-9")];
data/coreutils-8.32/lib/iconv_open-osf.h:105:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str26[sizeof("ISO-8859-7")];
data/coreutils-8.32/lib/iconv_open-osf.h:106:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str27[sizeof("ISO-8859-6")];
data/coreutils-8.32/lib/iconv_open-osf.h:107:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str29[sizeof("CP857")];
data/coreutils-8.32/lib/iconv_open-osf.h:108:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str30[sizeof("CP1252")];
data/coreutils-8.32/lib/iconv_open-osf.h:109:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str31[sizeof("CP869")];
data/coreutils-8.32/lib/iconv_open-osf.h:110:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str32[sizeof("CP949")];
data/coreutils-8.32/lib/iconv_open-osf.h:111:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str33[sizeof("CP866")];
data/coreutils-8.32/lib/iconv_open-osf.h:112:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str34[sizeof("CP437")];
data/coreutils-8.32/lib/iconv_open-osf.h:113:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str35[sizeof("CP1251")];
data/coreutils-8.32/lib/iconv_open-osf.h:114:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str36[sizeof("ISO-8859-2")];
data/coreutils-8.32/lib/iconv_open-osf.h:115:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str37[sizeof("CP1254")];
data/coreutils-8.32/lib/iconv_open-osf.h:116:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str38[sizeof("CP874")];
data/coreutils-8.32/lib/iconv_open-osf.h:117:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str39[sizeof("CP852")];
data/coreutils-8.32/lib/iconv_open-osf.h:118:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str40[sizeof("CP1253")];
data/coreutils-8.32/lib/iconv_open-osf.h:119:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str41[sizeof("ISO-8859-1")];
data/coreutils-8.32/lib/iconv_open-osf.h:120:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str42[sizeof("CP862")];
data/coreutils-8.32/lib/iconv_open-osf.h:121:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str43[sizeof("ISO-8859-4")];
data/coreutils-8.32/lib/iconv_open-osf.h:122:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str46[sizeof("ISO-8859-3")];
data/coreutils-8.32/lib/iconv_open-osf.h:123:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str47[sizeof("CP861")];
data/coreutils-8.32/lib/iconv_open-solaris.h:33:43:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
struct mapping { int standard_name; const char vendor_name[10 + 1]; };
data/coreutils-8.32/lib/iconv_open-solaris.h:100:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str5[sizeof("ASCII")];
data/coreutils-8.32/lib/iconv_open-solaris.h:101:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str6[sizeof("CP1251")];
data/coreutils-8.32/lib/iconv_open-solaris.h:102:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str7[sizeof("$   abc")];
data/coreutils-8.32/lib/iconv_open-solaris.h:103:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str10[sizeof("ISO-8859-1")];
data/coreutils-8.32/lib/iconv_open-solaris.h:104:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str11[sizeof("ISO-8859-15")];
data/coreutils-8.32/lib/iconv_open-solaris.h:105:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str12[sizeof("ISO-8859-9")];
data/coreutils-8.32/lib/iconv_open-solaris.h:106:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str13[sizeof("ISO-8859-8")];
data/coreutils-8.32/lib/iconv_open-solaris.h:107:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str14[sizeof("ISO-8859-7")];
data/coreutils-8.32/lib/iconv_open-solaris.h:108:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str15[sizeof("ISO-8859-6")];
data/coreutils-8.32/lib/iconv_open-solaris.h:109:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str16[sizeof("ISO-8859-5")];
data/coreutils-8.32/lib/iconv_open-solaris.h:110:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str17[sizeof("ISO-8859-4")];
data/coreutils-8.32/lib/iconv_open-solaris.h:111:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str18[sizeof("ISO-8859-3")];
data/coreutils-8.32/lib/iconv_open-solaris.h:112:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str19[sizeof("ISO-8859-2")];
data/coreutils-8.32/lib/iconv_open-zos.h:33:43:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
struct mapping { int standard_name; const char vendor_name[10 + 1]; };
data/coreutils-8.32/lib/iconv_open-zos.h:97:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str3[sizeof("GBK")];
data/coreutils-8.32/lib/iconv_open-zos.h:98:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str5[sizeof("ASCII")];
data/coreutils-8.32/lib/iconv_open-zos.h:99:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str7[sizeof("CP1253")];
data/coreutils-8.32/lib/iconv_open-zos.h:100:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str8[sizeof("EUC-KR")];
data/coreutils-8.32/lib/iconv_open-zos.h:101:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str9[sizeof("CP1257")];
data/coreutils-8.32/lib/iconv_open-zos.h:102:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str10[sizeof("CP857")];
data/coreutils-8.32/lib/iconv_open-zos.h:103:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str11[sizeof("ISO-8859-8")];
data/coreutils-8.32/lib/iconv_open-zos.h:104:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str12[sizeof("ISO-8859-3")];
data/coreutils-8.32/lib/iconv_open-zos.h:105:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str13[sizeof("ISO-8859-13")];
data/coreutils-8.32/lib/iconv_open-zos.h:106:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str14[sizeof("ISO-8859-7")];
data/coreutils-8.32/lib/iconv_open-zos.h:107:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str15[sizeof("CP437")];
data/coreutils-8.32/lib/iconv_open-zos.h:108:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str16[sizeof("CP1129")];
data/coreutils-8.32/lib/iconv_open-zos.h:109:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str17[sizeof("CP869")];
data/coreutils-8.32/lib/iconv_open-zos.h:110:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str18[sizeof("ISO-8859-9")];
data/coreutils-8.32/lib/iconv_open-zos.h:111:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str19[sizeof("CP922")];
data/coreutils-8.32/lib/iconv_open-zos.h:112:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str20[sizeof("CP1252")];
data/coreutils-8.32/lib/iconv_open-zos.h:113:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str21[sizeof("CP852")];
data/coreutils-8.32/lib/iconv_open-zos.h:114:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str22[sizeof("CP1250")];
data/coreutils-8.32/lib/iconv_open-zos.h:115:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str23[sizeof("CP850")];
data/coreutils-8.32/lib/iconv_open-zos.h:116:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str24[sizeof("CP862")];
data/coreutils-8.32/lib/iconv_open-zos.h:117:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str25[sizeof("ISO-8859-2")];
data/coreutils-8.32/lib/iconv_open-zos.h:118:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str26[sizeof("CP932")];
data/coreutils-8.32/lib/iconv_open-zos.h:119:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str27[sizeof("GB2312")];
data/coreutils-8.32/lib/iconv_open-zos.h:120:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str28[sizeof("CP1255")];
data/coreutils-8.32/lib/iconv_open-zos.h:121:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str29[sizeof("CP855")];
data/coreutils-8.32/lib/iconv_open-zos.h:122:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str30[sizeof("KOI8-R")];
data/coreutils-8.32/lib/iconv_open-zos.h:123:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str31[sizeof("CP1125")];
data/coreutils-8.32/lib/iconv_open-zos.h:124:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str32[sizeof("CP865")];
data/coreutils-8.32/lib/iconv_open-zos.h:125:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str33[sizeof("ISO-8859-5")];
data/coreutils-8.32/lib/iconv_open-zos.h:126:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str34[sizeof("ISO-8859-15")];
data/coreutils-8.32/lib/iconv_open-zos.h:127:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str35[sizeof("CP1256")];
data/coreutils-8.32/lib/iconv_open-zos.h:128:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str36[sizeof("CP856")];
data/coreutils-8.32/lib/iconv_open-zos.h:129:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str37[sizeof("KOI8-U")];
data/coreutils-8.32/lib/iconv_open-zos.h:130:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str38[sizeof("CP1254")];
data/coreutils-8.32/lib/iconv_open-zos.h:131:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str39[sizeof("CP866")];
data/coreutils-8.32/lib/iconv_open-zos.h:132:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str40[sizeof("ISO-8859-6")];
data/coreutils-8.32/lib/iconv_open-zos.h:133:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str41[sizeof("CP1124")];
data/coreutils-8.32/lib/iconv_open-zos.h:134:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str42[sizeof("CP864")];
data/coreutils-8.32/lib/iconv_open-zos.h:135:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str43[sizeof("ISO-8859-4")];
data/coreutils-8.32/lib/iconv_open-zos.h:136:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str44[sizeof("CP1251")];
data/coreutils-8.32/lib/iconv_open-zos.h:137:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str45[sizeof("CP775")];
data/coreutils-8.32/lib/iconv_open-zos.h:138:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str46[sizeof("CP943")];
data/coreutils-8.32/lib/iconv_open-zos.h:139:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str47[sizeof("CP1131")];
data/coreutils-8.32/lib/iconv_open-zos.h:140:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str48[sizeof("CP861")];
data/coreutils-8.32/lib/iconv_open-zos.h:141:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str49[sizeof("ISO-8859-1")];
data/coreutils-8.32/lib/iconv_open-zos.h:142:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str50[sizeof("EUC-JP")];
data/coreutils-8.32/lib/iconv_open-zos.h:143:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str52[sizeof("CP949")];
data/coreutils-8.32/lib/iconv_open-zos.h:144:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str55[sizeof("CP874")];
data/coreutils-8.32/lib/iconv_open-zos.h:145:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str64[sizeof("CP1046")];
data/coreutils-8.32/lib/iconv_open.c:49:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char fromcode_upper[32];
data/coreutils-8.32/lib/iconv_open.c:50:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char tocode_upper[32];
data/coreutils-8.32/lib/idcache.c:45:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[FLEXIBLE_ARRAY_MEMBER];
data/coreutils-8.32/lib/inet_ntop.c:127:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char tmp[sizeof "255.255.255.255"];
data/coreutils-8.32/lib/inet_ntop.c:130:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  len = sprintf (tmp, "%u.%u.%u.%u", src[0], src[1], src[2], src[3]);
data/coreutils-8.32/lib/inet_ntop.c:161:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char tmp[sizeof "ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255"], *tp;
data/coreutils-8.32/lib/inet_ntop.c:234:19:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        int len = sprintf (tp, "%x", words[i]);
data/coreutils-8.32/lib/isatty.c:102:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char buf[1024];
data/coreutils-8.32/lib/lchmod.c:53:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  int fd = open (file, O_PATH | O_NOFOLLOW | O_CLOEXEC);
data/coreutils-8.32/lib/lchmod.c:81:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[sizeof fmt - sizeof "%d" + INT_BUFSIZE_BOUND (int)];
data/coreutils-8.32/lib/localcharset.c:88:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char alias[11+1];
data/coreutils-8.32/lib/localcharset.c:89:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char canonical[11+1];
data/coreutils-8.32/lib/localcharset.c:579:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char locale[17+1];
data/coreutils-8.32/lib/localcharset.c:580:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char canonical[11+1];
data/coreutils-8.32/lib/localcharset.c:856:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char resultbuf[2 + 10 + 1];
data/coreutils-8.32/lib/localcharset.c:883:19:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                  memcpy (resultbuf, dot, modifier - dot);
data/coreutils-8.32/lib/localcharset.c:902:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[2 + 10 + 1];
data/coreutils-8.32/lib/localcharset.c:904:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf (buf, "CP%u", GetACP ());
data/coreutils-8.32/lib/localcharset.c:917:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[2 + 10 + 1];
data/coreutils-8.32/lib/localcharset.c:918:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char resultbuf[2 + 10 + 1];
data/coreutils-8.32/lib/localcharset.c:939:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf (buf, "CP%u", GetACP ());
data/coreutils-8.32/lib/localcharset.c:954:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char resultbuf[2 + 10 + 1];
data/coreutils-8.32/lib/localcharset.c:986:15:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
              memcpy (resultbuf, dot, modifier - dot);
data/coreutils-8.32/lib/localcharset.c:1004:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char buf[2 + 10 + 1];
data/coreutils-8.32/lib/localcharset.c:1006:11:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
          sprintf (buf, "CP%u", cp[0]);
data/coreutils-8.32/lib/mbchar.h:175:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[MBCHAR_BUF_SIZE]; /* room for the bytes, used for file input only */
data/coreutils-8.32/lib/mbchar.h:272:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (&new_mbc->buf[0], &old_mbc->buf[0], old_mbc->bytes);
data/coreutils-8.32/lib/mbiter.h:195:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy (&new_iter->state, &old_iter->state, sizeof (mbstate_t));
data/coreutils-8.32/lib/mbrtowc-impl.h:41:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[4];
data/coreutils-8.32/lib/mbrtowc.c:66:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char internal_state[4];
data/coreutils-8.32/lib/mbsstr.c:265:19:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                  memcpy (&rhaystack, &iter_haystack, sizeof (mbui_iterator_t));
data/coreutils-8.32/lib/mbuiter.h:202:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy (&new_iter->state, &old_iter->state, sizeof (mbstate_t));
data/coreutils-8.32/lib/md5.c:70:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const unsigned char fillbuf[64] = { 0x80, 0 /* , 0, 0, ...  */ };
data/coreutils-8.32/lib/md5.c:93:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (cp, &v, sizeof v);
data/coreutils-8.32/lib/md5.c:128:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (&((char *) ctx->buffer)[bytes], fillbuf, (size - 2) * 4 - bytes);
data/coreutils-8.32/lib/md5.c:252:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (&((char *) ctx->buffer)[left_over], buffer, add);
data/coreutils-8.32/lib/md5.c:262:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (ctx->buffer,
data/coreutils-8.32/lib/md5.c:279:32:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            md5_process_block (memcpy (ctx->buffer, buffer, 64), 64, ctx);
data/coreutils-8.32/lib/md5.c:297:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (&((char *) ctx->buffer)[left_over], buffer, len);
data/coreutils-8.32/lib/md5.c:305:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (ctx->buffer, &ctx->buffer[16], left_over);
data/coreutils-8.32/lib/mempcpy.c:27:19:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  return (char *) memcpy (dest, src, n) + n;
data/coreutils-8.32/lib/mkstemp-safer.c:33:20:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
  return fd_safer (mkstemp (templ));
data/coreutils-8.32/lib/mkstemp.c:47:1:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
mkstemp (char *xtemplate)
data/coreutils-8.32/lib/mountlist.c:128:30:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#  define setmntent(fp,mode) fopen (fp, mode)
data/coreutils-8.32/lib/mountlist.c:206:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char drive[4];
data/coreutils-8.32/lib/mountlist.c:207:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf (drive, "%c:\\", fs_name[0]);
data/coreutils-8.32/lib/mountlist.c:463:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp = fopen (mountinfo, "r");
data/coreutils-8.32/lib/mountlist.c:797:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp = fopen (table, "r");
data/coreutils-8.32/lib/mountlist.c:813:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char typebuf[FSTYPSZ];
data/coreutils-8.32/lib/mountlist.c:855:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp = fopen (table, "r");
data/coreutils-8.32/lib/mountlist.c:905:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    lockfd = open (MNTTAB_LOCK, O_RDONLY);
data/coreutils-8.32/lib/mountlist.c:927:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp = fopen (table, "r");
data/coreutils-8.32/lib/mountlist.c:1039:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char node[9 + NAME_MAX];
data/coreutils-8.32/lib/mountlist.c:1055:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy (node, "/dev/fs/");
data/coreutils-8.32/lib/mpsort.c:78:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (tmp, base + a, (alim - a) * sizeof *base);
data/coreutils-8.32/lib/mpsort.c:140:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy (base + i, tmp + t, (tlim - t) * sizeof *base);
data/coreutils-8.32/lib/nl_langinfo.c:48:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char result[2 + 10 + 1];
data/coreutils-8.32/lib/nl_langinfo.c:49:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[2 + 10 + 1];
data/coreutils-8.32/lib/nl_langinfo.c:50:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char locale[SETLOCALE_NULL_MAX];
data/coreutils-8.32/lib/nl_langinfo.c:78:29:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                  codeset = memcpy (buf, codeset_start, codesetlen);
data/coreutils-8.32/lib/nl_langinfo.c:95:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf (buf + 2, "%u", GetACP ());
data/coreutils-8.32/lib/nl_langinfo.c:102:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (buf, "CP", 2);
data/coreutils-8.32/lib/nl_langinfo.c:200:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[100];
data/coreutils-8.32/lib/nl_langinfo.c:241:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        static char result[80];
data/coreutils-8.32/lib/nl_langinfo.c:249:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        static char result[80];
data/coreutils-8.32/lib/nl_langinfo.c:264:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        static char result[7][50];
data/coreutils-8.32/lib/nl_langinfo.c:271:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          return (char *) days[item - DAY_1];
data/coreutils-8.32/lib/nl_langinfo.c:283:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        static char result[7][30];
data/coreutils-8.32/lib/nl_langinfo.c:289:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          return (char *) abdays[item - ABDAY_1];
data/coreutils-8.32/lib/nl_langinfo.c:311:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          static char result[12][50];
data/coreutils-8.32/lib/nl_langinfo.c:314:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            return (char *) months[item - MON_1];
data/coreutils-8.32/lib/nl_langinfo.c:331:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          static char result[12][50];
data/coreutils-8.32/lib/nl_langinfo.c:339:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              return (char *) months[item - ALTMON_1];
data/coreutils-8.32/lib/nl_langinfo.c:357:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        static char result[12][30];
data/coreutils-8.32/lib/nl_langinfo.c:364:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          return (char *) abmonths[item - ABMON_1];
data/coreutils-8.32/lib/nstrftime.c:98:26:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
# define MEMCPY(d, s, n) memcpy (d, s, n)
data/coreutils-8.32/lib/nstrftime.c:881:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char ufmt[5];
data/coreutils-8.32/lib/nstrftime.c:883:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char ubuf[1024]; /* enough for any single format in practice */
data/coreutils-8.32/lib/obstack.c:212:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (object_base, h->object_base, obj_size);
data/coreutils-8.32/lib/obstack.h:171:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char contents[__FLEXIBLE_ARRAY_MEMBER]; /* objects begin here */
data/coreutils-8.32/lib/obstack.h:330:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
       memcpy (__o->next_free, where, __len);				      \
data/coreutils-8.32/lib/obstack.h:340:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
       memcpy (__o->next_free, where, __len);				      \
data/coreutils-8.32/lib/obstack.h:468:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
   memcpy ((h)->next_free, where, (h)->temp.i),				      \
data/coreutils-8.32/lib/obstack.h:476:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
   memcpy ((h)->next_free, where, (h)->temp.i),				      \
data/coreutils-8.32/lib/open-safer.c:45:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  return fd_safer (open (file, flags, mode));
data/coreutils-8.32/lib/open.c:33:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  return open (filename, flags, mode);
data/coreutils-8.32/lib/open.c:55:1:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
open (const char *filename, int flags, ...)
data/coreutils-8.32/lib/open.c:159:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
          fd = open ("/dev/null", flags, mode);
data/coreutils-8.32/lib/openat-priv.h:47:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char *openat_proc_name (char buf[OPENAT_BUFFER_SIZE], int fd, char const *file);
data/coreutils-8.32/lib/openat-priv.h:47:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char *openat_proc_name (char buf[OPENAT_BUFFER_SIZE], int fd, char const *file);
data/coreutils-8.32/lib/openat-proc.c:43:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char *
data/coreutils-8.32/lib/openat-proc.c:44:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
openat_proc_name (char buf[OPENAT_BUFFER_SIZE], int fd, char const *file)
data/coreutils-8.32/lib/openat-proc.c:76:28:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        int proc_self_fd = open ("/proc/self/fd",
data/coreutils-8.32/lib/openat-proc.c:87:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char dotdot_buf[PROC_SELF_FD_DIR_SIZE_BOUND + sizeof "../fd" - 1];
data/coreutils-8.32/lib/openat-proc.c:112:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dir[_MAX_PATH];
data/coreutils-8.32/lib/openat.c:221:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    return open (file, flags, mode);
data/coreutils-8.32/lib/openat.c:224:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[OPENAT_BUFFER_SIZE];
data/coreutils-8.32/lib/openat.c:228:27:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        int open_result = open (proc_file, flags, mode);
data/coreutils-8.32/lib/openat.c:265:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      err = open (file, flags, mode);
data/coreutils-8.32/lib/openat.c:292:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  int fd = open ("/", O_SEARCH);
data/coreutils-8.32/lib/openat.c:296:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[OPENAT_BUFFER_SIZE];
data/coreutils-8.32/lib/opendir.c:61:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    int fd = open (dir_name, O_RDONLY);
data/coreutils-8.32/lib/opendir.c:77:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char dir_name_mask[MAX_PATH + 1 + 1 + 1];
data/coreutils-8.32/lib/opendir.c:150:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy (&dirp->entry, &entry, sizeof (WIN32_FIND_DATA));
data/coreutils-8.32/lib/parse-datetime.c:471:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char const *
data/coreutils-8.32/lib/parse-datetime.c:472:31:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
time_zone_str (int time_zone, char time_zone_buf[TIME_ZONE_BUFSIZE])
data/coreutils-8.32/lib/parse-datetime.c:477:8:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  p += sprintf (time_zone_buf, "%c%02d", sign, hour);
data/coreutils-8.32/lib/parse-datetime.c:551:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char tmp[DBGBUFSIZE];
data/coreutils-8.32/lib/parse-datetime.c:571:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char time_zone_buf[TIME_ZONE_BUFSIZE];
data/coreutils-8.32/lib/parse-datetime.c:1492:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];
data/coreutils-8.32/lib/parse-datetime.c:1686:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char yymsgbuf[128];
data/coreutils-8.32/lib/parse-datetime.c:2969:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char const *
data/coreutils-8.32/lib/parse-datetime.c:2970:27:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
tm_year_str (int tm_year, char buf[TM_YEAR_BUFSIZE])
data/coreutils-8.32/lib/parse-datetime.c:3224:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char buff[20];
data/coreutils-8.32/lib/parse-datetime.c:3335:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char time_zone_buf[TIME_ZONE_BUFSIZE];
data/coreutils-8.32/lib/parse-datetime.c:3344:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char tm_year_buf[TM_YEAR_BUFSIZE];
data/coreutils-8.32/lib/parse-datetime.c:3375:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char tmp[DBGBUFSIZE];
data/coreutils-8.32/lib/parse-datetime.c:3452:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char time_zone_buf[TIME_ZONE_BUFSIZE];
data/coreutils-8.32/lib/parse-datetime.c:3453:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char dbg_tm[DBGBUFSIZE];
data/coreutils-8.32/lib/parse-datetime.c:3461:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char tz1buf[TZBUFSIZE];
data/coreutils-8.32/lib/parse-datetime.c:3779:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              char tz2buf[sizeof "XXX" - 1 + TIME_ZONE_BUFSIZE];
data/coreutils-8.32/lib/parse-datetime.c:3809:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char dbg_ord[DBGBUFSIZE];
data/coreutils-8.32/lib/parse-datetime.c:3951:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                  char tm_year_buf[TM_YEAR_BUFSIZE];
data/coreutils-8.32/lib/parse-datetime.c:4114:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buff[BUFSIZ];
data/coreutils-8.32/lib/parse-datetime.c:4134:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char tm_year_buf[TM_YEAR_BUFSIZE];
data/coreutils-8.32/lib/posixtm.c:215:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[16];
data/coreutils-8.32/lib/posixtm.c:217:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy (b - 2, "59");
data/coreutils-8.32/lib/printf-parse.c:122:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (memory, a->arg, a->count * sizeof (argument));        \
data/coreutils-8.32/lib/printf-parse.c:593:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy (memory, d->dir, d->count * sizeof (DIRECTIVE));
data/coreutils-8.32/lib/propername.c:215:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy (locale_code_translit, locale_code, len);
data/coreutils-8.32/lib/propername.c:216:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy (locale_code_translit + len, "//TRANSLIT", 10 + 1);
data/coreutils-8.32/lib/pthread_sigmask.c:47:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (&omask_copy, &omask, sizeof omask);
data/coreutils-8.32/lib/pthread_sigmask.c:70:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy (old_mask, &omask, sizeof omask);
data/coreutils-8.32/lib/putenv.c:81:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy (name_, name, len);
data/coreutils-8.32/lib/putenv.c:145:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (name_x, string, name_end - string + 1);
data/coreutils-8.32/lib/putenv.c:186:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (new_environ + 1, environ, (size + 1) * sizeof *new_environ);
data/coreutils-8.32/lib/quotearg.c:842:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char slot0[256];
data/coreutils-8.32/lib/randint.c:130:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          unsigned char buf[sizeof randnum];
data/coreutils-8.32/lib/randread.c:99:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char c[RANDREAD_BUFFER_SIZE];
data/coreutils-8.32/lib/randread.c:114:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char b[ISAAC_BYTES];
data/coreutils-8.32/lib/randread.c:157:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  int fd = open (NAME_OF_NONCE_DEVICE, O_RDONLY | O_BINARY);
data/coreutils-8.32/lib/randread.c:174:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (buf + seeded, &v, nbytes);                    \
data/coreutils-8.32/lib/randread.c:288:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (p, isaac->data.b + ISAAC_BYTES - inbytes, size);
data/coreutils-8.32/lib/randread.c:293:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (p, isaac->data.b + ISAAC_BYTES - inbytes, inbytes);
data/coreutils-8.32/lib/read-file.c:140:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE *stream = fopen (filename, mode);
data/coreutils-8.32/lib/readtokens.c:184:26:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      tokens[n_tokens] = memcpy (tmp, token->buffer, token_length + 1);
data/coreutils-8.32/lib/readutmp.c:135:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE *f = fopen (file, "r");
data/coreutils-8.32/lib/regcomp.c:312:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	      unsigned char buf[MB_LEN_MAX];
data/coreutils-8.32/lib/regcomp.c:395:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		  char buf[256];
data/coreutils-8.32/lib/regcomp.c:545:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (errbuf, msg, cpy_size);
data/coreutils-8.32/lib/regcomp.c:3170:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      unsigned char start_name_buf[BRACKET_NAME_BUF_SIZE];
data/coreutils-8.32/lib/regcomp.c:3171:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      unsigned char end_name_buf[BRACKET_NAME_BUF_SIZE];
data/coreutils-8.32/lib/regcomp.c:3493:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      unsigned char char_buf[2];
data/coreutils-8.32/lib/regex.h:644:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		    const char *_Restrict_ __String, size_t __nmatch,
data/coreutils-8.32/lib/regex_internal.c:214:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char buf[MB_LEN_MAX];
data/coreutils-8.32/lib/regex_internal.c:217:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char buf[64];
data/coreutils-8.32/lib/regex_internal.c:287:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[MB_LEN_MAX];
data/coreutils-8.32/lib/regex_internal.c:290:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[64];
data/coreutils-8.32/lib/regex_internal.c:331:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		    memcpy (pstr->mbs + byte_idx, buf, mbclen);
data/coreutils-8.32/lib/regex_internal.c:339:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (pstr->mbs + byte_idx,
data/coreutils-8.32/lib/regex_internal.c:400:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		  memcpy (pstr->mbs + byte_idx, buf, mbclen);
data/coreutils-8.32/lib/regex_internal.c:425:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		    memcpy (pstr->mbs + byte_idx, buf, mbcdlen);
data/coreutils-8.32/lib/regex_internal.c:444:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		  memcpy (pstr->mbs + byte_idx, p, mbclen);
data/coreutils-8.32/lib/regex_internal.c:447:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	      memcpy (pstr->mbs + byte_idx, p, mbclen);
data/coreutils-8.32/lib/regex_internal.c:739:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			  unsigned char buf[6];
data/coreutils-8.32/lib/regex_internal.c:1039:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (dest->elems, src->elems, src->nelem * sizeof (Idx));
data/coreutils-8.32/lib/regex_internal.c:1133:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (dest->elems, dest->elems + sbase, delta * sizeof (Idx));
data/coreutils-8.32/lib/regex_internal.c:1177:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (dest->elems + id, src1->elems + i1,
data/coreutils-8.32/lib/regex_internal.c:1183:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (dest->elems + id, src2->elems + i2,
data/coreutils-8.32/lib/regex_internal.c:1214:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (dest->elems, src->elems, src->nelem * sizeof (Idx));
data/coreutils-8.32/lib/regex_internal.c:1235:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (dest->elems + sbase, src->elems, (is + 1) * sizeof (Idx));
data/coreutils-8.32/lib/regex_internal.c:1263:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	      memcpy (dest->elems, dest->elems + sbase,
data/coreutils-8.32/lib/regex_internal.h:758:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (dest, src, sizeof (bitset_t));
data/coreutils-8.32/lib/regexec.c:344:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (__mempcpy (s, string1, length1), string2, length2);
data/coreutils-8.32/lib/regexec.c:346:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (s, string1, length1);
data/coreutils-8.32/lib/regexec.c:347:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (s + length1, string2, length2);
data/coreutils-8.32/lib/regexec.c:1339:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (fs->stack[num].regs, regs, sizeof (regmatch_t) * nregs);
data/coreutils-8.32/lib/regexec.c:1351:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (regs, fs->stack[num].regs, sizeof (regmatch_t) * nregs);
data/coreutils-8.32/lib/regexec.c:1403:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (prev_idx_match, pmatch, sizeof (regmatch_t) * nmatch);
data/coreutils-8.32/lib/regexec.c:1511:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	      memcpy (prev_idx_match, pmatch, sizeof (regmatch_t) * nmatch);
data/coreutils-8.32/lib/regexec.c:1522:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (pmatch, prev_idx_match, sizeof (regmatch_t) * nmatch);
data/coreutils-8.32/lib/save-cwd.c:66:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  cwd->desc = open (".", O_SEARCH | O_CLOEXEC);
data/coreutils-8.32/lib/savedir.c:145:15:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
              memcpy (name_space + used, entry, entry_size);
data/coreutils-8.32/lib/savewd.c:106:34:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
savewd_chdir (struct savewd *wd, char const *dir, int options,
data/coreutils-8.32/lib/savewd.c:117:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      fd = open (dir,
data/coreutils-8.32/lib/savewd.h:111:38:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
int savewd_chdir (struct savewd *wd, char const *dir, int options,
data/coreutils-8.32/lib/select.c:55:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char in[FD_SETSIZE / CHAR_BIT];
data/coreutils-8.32/lib/select.c:56:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char out[FD_SETSIZE / CHAR_BIT];
data/coreutils-8.32/lib/select.c:261:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char anyfds_in[FD_SETSIZE / CHAR_BIT];
data/coreutils-8.32/lib/select.c:418:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (&handle_rfds, rfds, sizeof (fd_set));
data/coreutils-8.32/lib/select.c:419:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (&handle_wfds, wfds, sizeof (fd_set));
data/coreutils-8.32/lib/select.c:420:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (&handle_xfds, xfds, sizeof (fd_set));
data/coreutils-8.32/lib/select.c:494:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (&handle_rfds, rfds, sizeof (fd_set));
data/coreutils-8.32/lib/select.c:495:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (&handle_wfds, wfds, sizeof (fd_set));
data/coreutils-8.32/lib/select.c:496:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (&handle_xfds, xfds, sizeof (fd_set));
data/coreutils-8.32/lib/set-permissions.c:350:29:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      union { struct acl a; char room[128]; } u;
data/coreutils-8.32/lib/set-permissions.c:370:33:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      union { nfs4_acl_int_t a; char room[128]; } u;
data/coreutils-8.32/lib/setenv.c:179:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (new_value, name, namelen);
data/coreutils-8.32/lib/setenv.c:181:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (&new_value[namelen + 1], value, vallen);
data/coreutils-8.32/lib/setenv.c:200:15:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
              memcpy (new_environ[size], new_value, namelen + 1 + vallen);
data/coreutils-8.32/lib/setenv.c:202:15:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
              memcpy (new_environ[size], name, namelen);
data/coreutils-8.32/lib/setenv.c:204:15:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
              memcpy (&new_environ[size][namelen + 1], value, vallen);
data/coreutils-8.32/lib/setenv.c:217:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy ((char *) new_environ, (char *) __environ,
data/coreutils-8.32/lib/setenv.c:247:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (new_value, name, namelen);
data/coreutils-8.32/lib/setenv.c:249:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (&new_value[namelen + 1], value, vallen);
data/coreutils-8.32/lib/setenv.c:268:15:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
              memcpy (np, new_value, namelen + 1 + vallen);
data/coreutils-8.32/lib/setenv.c:270:15:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
              memcpy (np, name, namelen);
data/coreutils-8.32/lib/setenv.c:272:15:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
              memcpy (&np[namelen + 1], value, vallen);
data/coreutils-8.32/lib/setenv.c:380:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (tmp + 1, value, len + 1);
data/coreutils-8.32/lib/setlocale_null.c:157:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (buf, result, length + 1);
data/coreutils-8.32/lib/setlocale_null.c:167:15:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
              memcpy (buf, result, bufsize - 1);
data/coreutils-8.32/lib/setlocale_null.c:322:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[SETLOCALE_NULL_ALL_MAX];
data/coreutils-8.32/lib/setlocale_null.c:323:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char resultbuf[SETLOCALE_NULL_ALL_MAX];
data/coreutils-8.32/lib/setlocale_null.c:365:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[SETLOCALE_NULL_MAX];
data/coreutils-8.32/lib/setlocale_null.c:366:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char resultbuf[LC_INDICES_COUNT][SETLOCALE_NULL_MAX];
data/coreutils-8.32/lib/sha1.c:55:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const unsigned char fillbuf[64] = { 0x80, 0 /* , 0, 0, ...  */ };
data/coreutils-8.32/lib/sha1.c:80:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (cp, &v, sizeof v);
data/coreutils-8.32/lib/sha1.c:116:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (&((char *) ctx->buffer)[bytes], fillbuf, (size - 2) * 4 - bytes);
data/coreutils-8.32/lib/sha1.c:239:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (&((char *) ctx->buffer)[left_over], buffer, add);
data/coreutils-8.32/lib/sha1.c:249:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (ctx->buffer,
data/coreutils-8.32/lib/sha1.c:266:33:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            sha1_process_block (memcpy (ctx->buffer, buffer, 64), 64, ctx);
data/coreutils-8.32/lib/sha1.c:284:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (&((char *) ctx->buffer)[left_over], buffer, len);
data/coreutils-8.32/lib/sha1.c:292:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (ctx->buffer, &ctx->buffer[16], left_over);
data/coreutils-8.32/lib/sha256.c:54:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const unsigned char fillbuf[64] = { 0x80, 0 /* , 0, 0, ...  */ };
data/coreutils-8.32/lib/sha256.c:100:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (cp, &v, sizeof v);
data/coreutils-8.32/lib/sha256.c:151:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (&((char *) ctx->buffer)[bytes], fillbuf, (size - 2) * 4 - bytes);
data/coreutils-8.32/lib/sha256.c:318:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (&((char *) ctx->buffer)[left_over], buffer, add);
data/coreutils-8.32/lib/sha256.c:328:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (ctx->buffer,
data/coreutils-8.32/lib/sha256.c:345:35:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            sha256_process_block (memcpy (ctx->buffer, buffer, 64), 64, ctx);
data/coreutils-8.32/lib/sha256.c:363:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (&((char *) ctx->buffer)[left_over], buffer, len);
data/coreutils-8.32/lib/sha256.c:371:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (ctx->buffer, &ctx->buffer[16], left_over);
data/coreutils-8.32/lib/sha512.c:54:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const unsigned char fillbuf[128] = { 0x80, 0 /* , 0, 0, ...  */ };
data/coreutils-8.32/lib/sha512.c:100:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (cp, &v, sizeof v);
data/coreutils-8.32/lib/sha512.c:152:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (&((char *) ctx->buffer)[bytes], fillbuf, (size - 2) * 8 - bytes);
data/coreutils-8.32/lib/sha512.c:319:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (&((char *) ctx->buffer)[left_over], buffer, add);
data/coreutils-8.32/lib/sha512.c:329:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (ctx->buffer,
data/coreutils-8.32/lib/sha512.c:346:35:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            sha512_process_block (memcpy (ctx->buffer, buffer, 128), 128, ctx);
data/coreutils-8.32/lib/sha512.c:364:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (&((char *) ctx->buffer)[left_over], buffer, len);
data/coreutils-8.32/lib/sha512.c:372:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (ctx->buffer, &ctx->buffer[16], left_over);
data/coreutils-8.32/lib/sig2str.c:41:34:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static struct numname { int num; char const name[8]; } numname_table[] =
data/coreutils-8.32/lib/sig2str.c:335:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy (signame, "RTMIN");
data/coreutils-8.32/lib/sig2str.c:340:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy (signame, "RTMAX");
data/coreutils-8.32/lib/sig2str.c:346:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf (signame + 5, "%+d", delta);
data/coreutils-8.32/lib/snprintf.c:57:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (str, output, pruned_len);
data/coreutils-8.32/lib/stat-w32.c:196:15:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
              memcpy (&buf->st_ino, &id.FileId, sizeof (ino_t));
data/coreutils-8.32/lib/stat-w32.c:249:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              char fpath[PATH_MAX];
data/coreutils-8.32/lib/stat.c:172:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (malloca_rname, name, rlen);
data/coreutils-8.32/lib/stdio--.h:24:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
# undef fopen
data/coreutils-8.32/lib/stdio--.h:25:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
# define fopen fopen_safer
data/coreutils-8.32/lib/stdio--.h:34:9:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
# undef tmpfile
data/coreutils-8.32/lib/stdio--.h:35:10:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
# define tmpfile tmpfile_safer
data/coreutils-8.32/lib/stdio-impl.h:56:35:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                         unsigned char _ubuf[3]; \
data/coreutils-8.32/lib/stdio-impl.h:57:35:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                         unsigned char _nbuf[1]; \
data/coreutils-8.32/lib/stdio-impl.h:95:35:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                         unsigned char _ubuf[3]; \
data/coreutils-8.32/lib/stdio-impl.h:96:35:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                         unsigned char _nbuf[1]; \
data/coreutils-8.32/lib/stdio.in.h:301:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#   undef fopen
data/coreutils-8.32/lib/stdio.in.h:302:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#   define fopen rpl_fopen
data/coreutils-8.32/lib/stdio.in.h:304:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
_GL_FUNCDECL_RPL (fopen, FILE *,
data/coreutils-8.32/lib/stdio.in.h:307:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
_GL_CXXALIAS_RPL (fopen, FILE *,
data/coreutils-8.32/lib/stdio.in.h:310:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
_GL_CXXALIAS_SYS (fopen, FILE *,
data/coreutils-8.32/lib/stdio.in.h:314:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
_GL_CXXALIASWARN (fopen);
data/coreutils-8.32/lib/stdio.in.h:317:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
# undef fopen
data/coreutils-8.32/lib/stdio.in.h:319:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
_GL_WARN_ON_USE (fopen, "fopen on native Windows platforms is not POSIX compliant - "
data/coreutils-8.32/lib/stdio.in.h:1218:12:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
#   define tmpfile rpl_tmpfile
data/coreutils-8.32/lib/stdio.in.h:1220:19:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
_GL_FUNCDECL_RPL (tmpfile, FILE *, (void));
data/coreutils-8.32/lib/stdio.in.h:1221:19:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
_GL_CXXALIAS_RPL (tmpfile, FILE *, (void));
data/coreutils-8.32/lib/stdio.in.h:1223:19:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
_GL_CXXALIAS_SYS (tmpfile, FILE *, (void));
data/coreutils-8.32/lib/stdio.in.h:1226:19:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
_GL_CXXALIASWARN (tmpfile);
data/coreutils-8.32/lib/stdio.in.h:1229:9:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
# undef tmpfile
data/coreutils-8.32/lib/stdio.in.h:1231:18:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
_GL_WARN_ON_USE (tmpfile, "tmpfile is not usable on mingw - "
data/coreutils-8.32/lib/stdlib--.h:23:8:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
#undef mkstemp
data/coreutils-8.32/lib/stdlib--.h:24:9:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
#define mkstemp mkstemp_safer
data/coreutils-8.32/lib/stdlib.in.h:425:12:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
#   define mkstemp rpl_mkstemp
data/coreutils-8.32/lib/stdlib.in.h:427:19:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
_GL_FUNCDECL_RPL (mkstemp, int, (char * /*template*/) _GL_ARG_NONNULL ((1)));
data/coreutils-8.32/lib/stdlib.in.h:428:19:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
_GL_CXXALIAS_RPL (mkstemp, int, (char * /*template*/));
data/coreutils-8.32/lib/stdlib.in.h:431:19:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
_GL_FUNCDECL_SYS (mkstemp, int, (char * /*template*/) _GL_ARG_NONNULL ((1)));
data/coreutils-8.32/lib/stdlib.in.h:433:19:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
_GL_CXXALIAS_SYS (mkstemp, int, (char * /*template*/));
data/coreutils-8.32/lib/stdlib.in.h:435:19:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
_GL_CXXALIASWARN (mkstemp);
data/coreutils-8.32/lib/stdlib.in.h:437:9:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
# undef mkstemp
data/coreutils-8.32/lib/stdlib.in.h:439:18:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
_GL_WARN_ON_USE (mkstemp, "mkstemp is unportable - "
data/coreutils-8.32/lib/strdup.c:47:19:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  return (char *) memcpy (new, s, len);
data/coreutils-8.32/lib/strerror.c:39:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char buf[STACKBUF_LEN];
data/coreutils-8.32/lib/strerror.c:69:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (buf, msg, len + 1);
data/coreutils-8.32/lib/striconv.c:63:33:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    union { unsigned int align; char buf[tmpbufsize]; } tmp;
data/coreutils-8.32/lib/strndup.c:35:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  return memcpy (new, s, len);
data/coreutils-8.32/lib/strsignal.c:73:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *_sys_siglist[NSIG];
data/coreutils-8.32/lib/strsignal.c:84:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char local_buf[BUFFERSIZ];
data/coreutils-8.32/lib/strtod.c:95:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char pointbuf[5];
data/coreutils-8.32/lib/strtod.c:96:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (pointbuf, "%#.0f", 1.0);
data/coreutils-8.32/lib/sys_socket.in.h:116:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char __ss_padding[_SS_PADSIZE];
data/coreutils-8.32/lib/sys_stat.in.h:796:44:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
_GL_FUNCDECL_RPL (utimensat, int, (int fd, char const *name,
data/coreutils-8.32/lib/sys_stat.in.h:799:44:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
_GL_CXXALIAS_RPL (utimensat, int, (int fd, char const *name,
data/coreutils-8.32/lib/sys_stat.in.h:803:44:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
_GL_FUNCDECL_SYS (utimensat, int, (int fd, char const *name,
data/coreutils-8.32/lib/sys_stat.in.h:807:44:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
_GL_CXXALIAS_SYS (utimensat, int, (int fd, char const *name,
data/coreutils-8.32/lib/sys_utsname.in.h:72:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char nodename[_UTSNAME_NODENAME_LENGTH];
data/coreutils-8.32/lib/sys_utsname.in.h:75:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char sysname[_UTSNAME_SYSNAME_LENGTH];
data/coreutils-8.32/lib/sys_utsname.in.h:77:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char release[_UTSNAME_RELEASE_LENGTH];
data/coreutils-8.32/lib/sys_utsname.in.h:79:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char version[_UTSNAME_VERSION_LENGTH];
data/coreutils-8.32/lib/sys_utsname.in.h:82:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char machine[_UTSNAME_MACHINE_LENGTH];
data/coreutils-8.32/lib/tempname.c:72:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
# define __open open
data/coreutils-8.32/lib/tempname.c:172:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (tmpl, "%.*s/%.*sXXXXXX", (int) dlen, dir, (int) plen, pfx);
data/coreutils-8.32/lib/time-internal.h:30:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char *tzname_copy[2];
data/coreutils-8.32/lib/time-internal.h:48:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char abbrs[FLEXIBLE_ARRAY_MEMBER];
data/coreutils-8.32/lib/time_rz.c:88:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (abbrs, abbr, abbr_size);
data/coreutils-8.32/lib/uname.c:64:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (&version, &versionex, sizeof (OSVERSIONINFO));
data/coreutils-8.32/lib/uname.c:75:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy (buf->nodename, "localhost");
data/coreutils-8.32/lib/uname.c:183:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf (buf->release, "Windows CE %u.%u",
data/coreutils-8.32/lib/uname.c:208:13:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
            strcpy (buf->machine, "x86_64");
data/coreutils-8.32/lib/uname.c:211:13:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
            strcpy (buf->machine, "ia64");
data/coreutils-8.32/lib/uname.c:214:13:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
            strcpy (buf->machine, "i386");
data/coreutils-8.32/lib/uname.c:220:13:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
            strcpy (buf->machine, "i686");
data/coreutils-8.32/lib/uname.c:223:13:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
            strcpy (buf->machine, "mips");
data/coreutils-8.32/lib/uname.c:227:13:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
            strcpy (buf->machine, "alpha");
data/coreutils-8.32/lib/uname.c:230:13:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
            strcpy (buf->machine, "powerpc");
data/coreutils-8.32/lib/uname.c:233:13:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
            strcpy (buf->machine, "sh");
data/coreutils-8.32/lib/uname.c:236:13:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
            strcpy (buf->machine, "arm");
data/coreutils-8.32/lib/uname.c:239:13:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
            strcpy (buf->machine, "unknown");
data/coreutils-8.32/lib/uname.c:249:13:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
            strcpy (buf->machine, "x86_64");
data/coreutils-8.32/lib/uname.c:252:13:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
            strcpy (buf->machine, "ia64");
data/coreutils-8.32/lib/uname.c:256:15:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
              sprintf (buf->machine, "i%u",
data/coreutils-8.32/lib/uname.c:259:15:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
              strcpy (buf->machine, "unknown");
data/coreutils-8.32/lib/unicodeio.c:77:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char inbuf[6];
data/coreutils-8.32/lib/unicodeio.c:116:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char outbuf[25];
data/coreutils-8.32/lib/uniwidth/width.c:35:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const unsigned char nonspacing_table_data[38*64] = {
data/coreutils-8.32/lib/uniwidth/width.c:379:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const signed char nonspacing_table_ind[248] = {
data/coreutils-8.32/lib/unlink.c:72:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (short_name, name, len);
data/coreutils-8.32/lib/unlinkat.c:71:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (short_name, name, len);
data/coreutils-8.32/lib/userspec.c:188:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              char buf[INT_BUFSIZE_BOUND (uintmax_t)];
data/coreutils-8.32/lib/utime.c:33:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
_gl_utimens_windows (const char *name, struct timespec ts[2])
data/coreutils-8.32/lib/utime.c:77:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (malloca_rname, name, rlen);
data/coreutils-8.32/lib/utime.in.h:83:39:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern int _gl_utimens_windows (const char *filename, struct timespec ts[2]);
data/coreutils-8.32/lib/utimens.c:170:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
fdutimens (int fd, char const *file, struct timespec const timespec[2])
data/coreutils-8.32/lib/utimens.c:505:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
utimens (char const *file, struct timespec const timespec[2])
data/coreutils-8.32/lib/utimens.c:515:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
lutimens (char const *file, struct timespec const timespec[2])
data/coreutils-8.32/lib/utimens.h:21:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
int fdutimens (int, char const *, struct timespec const [2]);
data/coreutils-8.32/lib/utimens.h:22:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
int utimens (char const *, struct timespec const [2]);
data/coreutils-8.32/lib/utimens.h:23:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
int lutimens (char const *, struct timespec const [2]);
data/coreutils-8.32/lib/utimens.h:37:35:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
int fdutimensat (int fd, int dir, char const *name, struct timespec const [2],
data/coreutils-8.32/lib/utimens.h:42:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
lutimensat (int dir, char const *file, struct timespec const times[2])
data/coreutils-8.32/lib/utimensat.c:44:34:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static int local_utimensat (int, char const *, struct timespec const[2], int);
data/coreutils-8.32/lib/utimensat.c:50:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
rpl_utimensat (int fd, char const *file, struct timespec const times[2],
data/coreutils-8.32/lib/vasnprintf.c:151:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#  define DCHAR_CPY memcpy
data/coreutils-8.32/lib/vasnprintf.c:295:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char pointbuf[5];
data/coreutils-8.32/lib/vasnprintf.c:296:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (pointbuf, "%#.0f", 1.0);
data/coreutils-8.32/lib/vasnprintf.c:520:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (r_ptr, a_ptr, a_len * sizeof (mp_limb_t));
data/coreutils-8.32/lib/vasnprintf.c:656:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (r_ptr, a_ptr, a_len * sizeof (mp_limb_t));
data/coreutils-8.32/lib/vasnprintf.c:2666:27:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                          char cbuf[64]; /* Assume MB_CUR_MAX <= 64.  */
data/coreutils-8.32/lib/vasnprintf.c:2711:27:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                          char cbuf[64]; /* Assume MB_CUR_MAX <= 64.  */
data/coreutils-8.32/lib/vasnprintf.c:2761:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                        char cbuf[64]; /* Assume MB_CUR_MAX <= 64.  */
data/coreutils-8.32/lib/vasnprintf.c:2774:25:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                        memcpy (tmpptr, cbuf, count);
data/coreutils-8.32/lib/vasnprintf.c:2842:27:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                          char cbuf[64]; /* Assume MB_CUR_MAX <= 64.  */
data/coreutils-8.32/lib/vasnprintf.c:2855:27:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                          memcpy (result + length, cbuf, count);
data/coreutils-8.32/lib/vasnprintf.c:2871:27:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                          char cbuf[64]; /* Assume MB_CUR_MAX <= 64.  */
data/coreutils-8.32/lib/vasnprintf.c:2893:27:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                          memcpy (result + length, cbuf, count);
data/coreutils-8.32/lib/vasnprintf.c:3174:35:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                                  sprintf ((char *) p, "%+d", exponent);
data/coreutils-8.32/lib/vasnprintf.c:3180:35:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                  char expbuf[6 + 1];
data/coreutils-8.32/lib/vasnprintf.c:3182:35:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                                  sprintf (expbuf, "%+d", exponent);
data/coreutils-8.32/lib/vasnprintf.c:3325:35:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                                  sprintf ((char *) p, "%+d", exponent);
data/coreutils-8.32/lib/vasnprintf.c:3331:35:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                  char expbuf[6 + 1];
data/coreutils-8.32/lib/vasnprintf.c:3333:35:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                                  sprintf (expbuf, "%+d", exponent);
data/coreutils-8.32/lib/vasnprintf.c:3400:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy (result + length, tmp, count * sizeof (DCHAR_T));
data/coreutils-8.32/lib/vasnprintf.c:3785:37:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                                    sprintf ((char *) p, "%+.2d", exponent);
data/coreutils-8.32/lib/vasnprintf.c:3791:37:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                    char expbuf[6 + 1];
data/coreutils-8.32/lib/vasnprintf.c:3793:37:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                                    sprintf (expbuf, "%+.2d", exponent);
data/coreutils-8.32/lib/vasnprintf.c:3966:45:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                                            sprintf ((char *) p, "%+.2d", exponent);
data/coreutils-8.32/lib/vasnprintf.c:3972:45:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                            char expbuf[6 + 1];
data/coreutils-8.32/lib/vasnprintf.c:3974:45:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                                            sprintf (expbuf, "%+.2d", exponent);
data/coreutils-8.32/lib/vasnprintf.c:4264:39:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                      char expbuf[6 + 1];
data/coreutils-8.32/lib/vasnprintf.c:4457:47:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                              char expbuf[6 + 1];
data/coreutils-8.32/lib/vasnprintf.c:4583:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy (result + length, tmp, count * sizeof (DCHAR_T));
data/coreutils-8.32/lib/vasnprintf.c:4791:29:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                            memcpy (fbp, dp->width_start, n * sizeof (TCHAR_T));
data/coreutils-8.32/lib/vasnprintf.c:4812:29:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                            memcpy (fbp, dp->precision_start, n * sizeof (TCHAR_T));
data/coreutils-8.32/lib/vasnprintf.c:5526:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy (result + length, tmp, count * sizeof (DCHAR_T));
data/coreutils-8.32/lib/version-etc.c:204:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *authtab[10];
data/coreutils-8.32/lib/vfprintf.c:38:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[2000];
data/coreutils-8.32/lib/windows-tls.c:228:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy (new_table, dtor_table,
data/coreutils-8.32/lib/xmalloc.c:113:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  return memcpy (xmalloc (s), p, s);
data/coreutils-8.32/lib/xstrtol-error.c:55:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char option_buffer[2];
data/coreutils-8.32/lib/xvasprintf.c:67:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (p, next, len);
data/coreutils-8.32/src/basenc.c:233:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char octets[5];
data/coreutils-8.32/src/basenc.c:343:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (ctx->inbuf, in, inlen);
data/coreutils-8.32/src/basenc.c:396:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char base32_norm_to_hex[32+9] = {
data/coreutils-8.32/src/basenc.c:418:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char base32_hex_to_norm[32+9] = {
data/coreutils-8.32/src/basenc.c:503:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char base16[16] = "0123456789ABCDEF";
data/coreutils-8.32/src/basenc.c:594:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char const z85_encoding[85] =
data/coreutils-8.32/src/basenc.c:605:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char quad[4];
data/coreutils-8.32/src/basenc.c:684:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static unsigned char z85_decoding[93] = {
data/coreutils-8.32/src/basenc.c:1241:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      input_fh = fopen (infile, "rb");
data/coreutils-8.32/src/blake2/b2sum.c:265:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char hash[BLAKE2B_OUTBYTES] = {0};
data/coreutils-8.32/src/blake2/b2sum.c:359:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      f = fopen( argv[i], "rb" );
data/coreutils-8.32/src/blake2/blake2-impl.h:44:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&w, src, sizeof w);
data/coreutils-8.32/src/blake2/blake2-impl.h:59:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&w, src, sizeof w);
data/coreutils-8.32/src/blake2/blake2-impl.h:78:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&w, src, sizeof w);
data/coreutils-8.32/src/blake2/blake2-impl.h:90:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(dst, &w, sizeof w);
data/coreutils-8.32/src/blake2/blake2-impl.h:101:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(dst, &w, sizeof w);
data/coreutils-8.32/src/blake2/blake2-impl.h:114:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(dst, &w, sizeof w);
data/coreutils-8.32/src/blake2/blake2b-ref.c:150:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy( block, key, keylen );
data/coreutils-8.32/src/blake2/blake2b-ref.c:235:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy( S->buf + left, in, fill ); /* Fill buffer */
data/coreutils-8.32/src/blake2/blake2b-ref.c:246:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy( S->buf + S->buflen, in, inlen );
data/coreutils-8.32/src/blake2/blake2b-ref.c:271:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy( out, buffer, S->outlen );
data/coreutils-8.32/src/cat.c:61:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char line_buf[LINE_COUNTER_BUF_LEN] =
data/coreutils-8.32/src/cat.c:672:24:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
          input_desc = open (infile, file_open_mode);
data/coreutils-8.32/src/chmod.c:145:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char perms[12];		/* "-rwxrwxrwx" ls-style modes. */
data/coreutils-8.32/src/chmod.c:146:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char old_perms[12];
data/coreutils-8.32/src/chmod.c:308:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char new_perms[12];
data/coreutils-8.32/src/chmod.c:309:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char naively_expected_perms[12];
data/coreutils-8.32/src/chmod.c:478:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy (mode + mode_comma_len, arg, arg_len + 1);
data/coreutils-8.32/src/chown-core.c:83:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[INT_BUFSIZE_BOUND (intmax_t)];
data/coreutils-8.32/src/chown-core.c:97:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[INT_BUFSIZE_BOUND (intmax_t)];
data/coreutils-8.32/src/cksum.c:179:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char buf[BUFLEN];
data/coreutils-8.32/src/cksum.c:184:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char length_buf[INT_BUFSIZE_BOUND (uintmax_t)];
data/coreutils-8.32/src/cksum.c:195:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      fp = fopen (file, (O_BINARY ? "rb" : "r"));
data/coreutils-8.32/src/comm.c:290:55:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      streams[i] = (STREQ (infiles[i], "-") ? stdin : fopen (infiles[i], "r"));
data/coreutils-8.32/src/comm.c:395:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf1[INT_BUFSIZE_BOUND (uintmax_t)];
data/coreutils-8.32/src/comm.c:396:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf2[INT_BUFSIZE_BOUND (uintmax_t)];
data/coreutils-8.32/src/comm.c:397:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf3[INT_BUFSIZE_BOUND (uintmax_t)];
data/coreutils-8.32/src/copy.c:393:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char fallback[1024];
data/coreutils-8.32/src/copy.c:1067:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  source_desc = open (src_name,
data/coreutils-8.32/src/copy.c:1100:19:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      dest_desc = open (dst_name, open_flags);
data/coreutils-8.32/src/copy.c:1157:19:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      dest_desc = open (dst_name, open_flags | O_EXCL,
data/coreutils-8.32/src/copy.c:1179:31:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                  dest_desc = open (dst_name, open_flags,
data/coreutils-8.32/src/copy.c:1713:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char perms[12];		/* "-rwxrwxrwx " ls-style modes. */
data/coreutils-8.32/src/cp.c:385:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (dst_dir, dir, dirlen);
data/coreutils-8.32/src/csplit.c:507:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (p, hold_area, hold_count);
data/coreutils-8.32/src/csplit.c:716:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[INT_BUFSIZE_BOUND (uintmax_t)];
data/coreutils-8.32/src/csplit.c:776:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[INT_BUFSIZE_BOUND (uintmax_t)];
data/coreutils-8.32/src/csplit.c:939:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf (filename_space + strlen (prefix), "%0*u", digits, num);
data/coreutils-8.32/src/csplit.c:963:23:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      output_stream = fopen (output_filename, "w");
data/coreutils-8.32/src/csplit.c:1037:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              char buf[INT_BUFSIZE_BOUND (uintmax_t)];
data/coreutils-8.32/src/csplit.c:1199:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              char buf[INT_BUFSIZE_BOUND (uintmax_t)];
data/coreutils-8.32/src/cut.c:452:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      stream = fopen (file, "r");
data/coreutils-8.32/src/cut.c:586:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char dummy[2];
data/coreutils-8.32/src/date.c:306:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      in_stream = fopen (input_filename, "r");
data/coreutils-8.32/src/date.c:599:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[INT_BUFSIZE_BOUND (intmax_t)];
data/coreutils-8.32/src/dd.c:281:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char symbol[sizeof LONGEST_SYMBOL];
data/coreutils-8.32/src/dd.c:394:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static unsigned char trans_table[256];
data/coreutils-8.32/src/dd.c:700:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char hbuf[LONGEST_HUMAN_READABLE + 1];
data/coreutils-8.32/src/dd.c:728:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char hbuf[LONGEST_HUMAN_READABLE + 1];
data/coreutils-8.32/src/dd.c:774:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char hbuf[3][LONGEST_HUMAN_READABLE + sizeof slash_s];
data/coreutils-8.32/src/dd.c:810:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char delta_s_buf[24];
data/coreutils-8.32/src/dd.c:2012:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (obuf + oc, start, nfree);
data/coreutils-8.32/src/df.c:570:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char buf[LONGEST_HUMAN_READABLE + 1];
data/coreutils-8.32/src/df.c:610:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char buf[INT_BUFSIZE_BOUND (uintmax_t)];
data/coreutils-8.32/src/df.c:1112:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[LONGEST_HUMAN_READABLE + 2];
data/coreutils-8.32/src/df.c:1773:24:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
              int fd = open (argv[i], O_RDONLY | O_NOCTTY);
data/coreutils-8.32/src/du.c:387:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[INT_BUFSIZE_BOUND (intmax_t)];
data/coreutils-8.32/src/du.c:399:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[LONGEST_HUMAN_READABLE + 1];
data/coreutils-8.32/src/du.c:725:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char *cwd_only[2];
data/coreutils-8.32/src/env.c:258:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (varname, str+2, i);
data/coreutils-8.32/src/env.c:407:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
  strcpy (dest, "DUMMY");
data/coreutils-8.32/src/env.c:590:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char signame[SIG2STR_MAX];
data/coreutils-8.32/src/env.c:658:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char signame[SIG2STR_MAX];
data/coreutils-8.32/src/env.c:672:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char signame[SIG2STR_MAX];
data/coreutils-8.32/src/env.c:746:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char signame[SIG2STR_MAX];
data/coreutils-8.32/src/env.c:761:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char signame[SIG2STR_MAX];
data/coreutils-8.32/src/expand-common.c:364:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fp = fopen (file, "r");
data/coreutils-8.32/src/expand.c:213:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              char tab_stop[2];
data/coreutils-8.32/src/expr.c:120:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[INT_BUFSIZE_BOUND (intmax_t)];
data/coreutils-8.32/src/expr.c:142:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[INT_BUFSIZE_BOUND (intmax_t)];
data/coreutils-8.32/src/expr.c:696:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char fastmap[UCHAR_MAX + 1];
data/coreutils-8.32/src/extent-scan.c:94:32:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      union { struct fiemap f; char c[4096]; } fiemap_buf;
data/coreutils-8.32/src/factor.c:200:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const unsigned char factor_clz_tab[129] =
data/coreutils-8.32/src/factor.c:245:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char e[MAX_NFACTS];
data/coreutils-8.32/src/factor.c:878:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const unsigned char  binvert_table[128] =
data/coreutils-8.32/src/factor.c:2425:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (lbuf.buf, tlend, tend - tlend);
data/coreutils-8.32/src/factor.c:2435:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[INT_BUFSIZE_BOUND (uintmax_t)];
data/coreutils-8.32/src/factor.c:2443:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (lbuf.end, umaxstr, width);
data/coreutils-8.32/src/fmt.c:216:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char parabuf[MAXCHARS];
data/coreutils-8.32/src/fmt.c:427:27:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
              in_stream = fopen (file, "r");
data/coreutils-8.32/src/fold.c:136:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    istream = fopen (filename, "r");
data/coreutils-8.32/src/fold.c:259:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char optargbuf[2];
data/coreutils-8.32/src/force-link.c:50:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char *
data/coreutils-8.32/src/force-link.c:51:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
samedir_template (char const *dstname, char buf[smallsize])
data/coreutils-8.32/src/force-link.c:51:40:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
samedir_template (char const *dstname, char buf[smallsize])
data/coreutils-8.32/src/force-link.c:105:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[smallsize];
data/coreutils-8.32/src/force-link.c:160:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[smallsize];
data/coreutils-8.32/src/getlimits.c:105:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[BUFSIZE];                                                    \
data/coreutils-8.32/src/getlimits.c:117:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char limit[1 + MAX (INT_BUFSIZE_BOUND (intmax_t),
data/coreutils-8.32/src/group-list.c:96:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char buf[INT_BUFSIZE_BOUND (uintmax_t)];
data/coreutils-8.32/src/head.c:196:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[BUFSIZ];
data/coreutils-8.32/src/head.c:227:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[INT_BUFSIZE_BOUND (offset)];
data/coreutils-8.32/src/head.c:274:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char umax_buf[INT_BUFSIZE_BOUND (n_elide_0)];
data/coreutils-8.32/src/head.c:296:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char *b[2];
data/coreutils-8.32/src/head.c:503:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[BUFSIZ];
data/coreutils-8.32/src/head.c:557:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (&last->buffer[last->nbytes], tmp->buffer, tmp->nbytes);
data/coreutils-8.32/src/head.c:651:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[BUFSIZ];
data/coreutils-8.32/src/head.c:776:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[BUFSIZ];
data/coreutils-8.32/src/head.c:801:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[BUFSIZ];
data/coreutils-8.32/src/head.c:886:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      fd = open (filename, O_RDONLY | O_BINARY);
data/coreutils-8.32/src/head.c:1077:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char umax_buf[INT_BUFSIZE_BOUND (n_units)];
data/coreutils-8.32/src/id.c:316:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char buf[INT_BUFSIZE_BOUND (uintmax_t)];
data/coreutils-8.32/src/id.c:327:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char buf[INT_BUFSIZE_BOUND (uintmax_t)];
data/coreutils-8.32/src/install.c:149:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char a_buff[CMP_BLOCK_SIZE];
data/coreutils-8.32/src/install.c:150:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char b_buff[CMP_BLOCK_SIZE];
data/coreutils-8.32/src/install.c:244:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  src_fd = open (src_name, O_RDONLY | O_BINARY);
data/coreutils-8.32/src/install.c:248:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  dest_fd = open (dest_name, O_RDONLY | O_BINARY);
data/coreutils-8.32/src/join.c:97:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char *g_names[2];
data/coreutils-8.32/src/join.c:956:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
add_file_name (char *name, char *names[2],
data/coreutils-8.32/src/join.c:956:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
add_file_name (char *name, char *names[2],
data/coreutils-8.32/src/join.c:1179:43:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp1 = STREQ (g_names[0], "-") ? stdin : fopen (g_names[0], "r");
data/coreutils-8.32/src/join.c:1182:43:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp2 = STREQ (g_names[1], "-") ? stdin : fopen (g_names[1], "r");
data/coreutils-8.32/src/kill.c:130:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char signame[SIG2STR_MAX];
data/coreutils-8.32/src/kill.c:227:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char signame[SIG2STR_MAX];
data/coreutils-8.32/src/ln.c:363:28:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                  backup = memcpy (alloc, dest, destdirlen);
data/coreutils-8.32/src/longlong.h:2219:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern const unsigned char __GMP_DECLSPEC __clz_tab[129];
data/coreutils-8.32/src/ls.c:759:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char const *long_time_format[2] =
data/coreutils-8.32/src/ls.c:1254:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char RFC3986[256];
data/coreutils-8.32/src/ls.c:1278:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char abformat[2][12][ABFORMAT_SIZE];
data/coreutils-8.32/src/ls.c:1288:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
abmon_init (char abmon[12][ABFORMAT_SIZE])
data/coreutils-8.32/src/ls.c:1325:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char const *pb[2];
data/coreutils-8.32/src/ls.c:1331:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char abmon[12][ABFORMAT_SIZE];
data/coreutils-8.32/src/ls.c:2684:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char label[3];		/* Indicator label */
data/coreutils-8.32/src/ls.c:2700:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
  strcpy (label, "??");
data/coreutils-8.32/src/ls.c:3042:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[LONGEST_HUMAN_READABLE + 1];
data/coreutils-8.32/src/ls.c:3270:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char test[2];
data/coreutils-8.32/src/ls.c:3515:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char buf[LONGEST_HUMAN_READABLE + 1];
data/coreutils-8.32/src/ls.c:3556:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char b[INT_BUFSIZE_BOUND (uintmax_t)];
data/coreutils-8.32/src/ls.c:3563:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              char buf[INT_BUFSIZE_BOUND (uintmax_t)];
data/coreutils-8.32/src/ls.c:3576:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              char buf[LONGEST_HUMAN_READABLE + 1];
data/coreutils-8.32/src/ls.c:3590:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[INT_BUFSIZE_BOUND (uintmax_t)];
data/coreutils-8.32/src/ls.c:4081:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[TIME_STAMP_LEN_MAXIMUM + 1];
data/coreutils-8.32/src/ls.c:4164:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[INT_BUFSIZE_BOUND (id)];
data/coreutils-8.32/src/ls.c:4165:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf (buf, "%lu", id);
data/coreutils-8.32/src/ls.c:4202:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char modebuf[12];
data/coreutils-8.32/src/ls.c:4203:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf
data/coreutils-8.32/src/ls.c:4259:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char hbuf[INT_BUFSIZE_BOUND (uintmax_t)];
data/coreutils-8.32/src/ls.c:4269:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char hbuf[LONGEST_HUMAN_READABLE + 1];
data/coreutils-8.32/src/ls.c:4286:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char hbuf[INT_BUFSIZE_BOUND (uintmax_t)];
data/coreutils-8.32/src/ls.c:4319:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char majorbuf[INT_BUFSIZE_BOUND (uintmax_t)];
data/coreutils-8.32/src/ls.c:4320:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char minorbuf[INT_BUFSIZE_BOUND (uintmax_t)];
data/coreutils-8.32/src/ls.c:4333:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char hbuf[LONGEST_HUMAN_READABLE + 1];
data/coreutils-8.32/src/ls.c:4391:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char hbuf[INT_BUFSIZE_BOUND (intmax_t)];
data/coreutils-8.32/src/ls.c:4458:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (buf, name, len + 1);
data/coreutils-8.32/src/ls.c:4622:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char smallbuf[BUFSIZ];
data/coreutils-8.32/src/ls.c:4655:14:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        p += sprintf (p, "%%%02x", to_uchar (*str++));
data/coreutils-8.32/src/ls.c:4666:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char smallbuf[BUFSIZ];
data/coreutils-8.32/src/ls.c:4782:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[MAX (LONGEST_HUMAN_READABLE + 1, INT_BUFSIZE_BOUND (uintmax_t))];
data/coreutils-8.32/src/ls.c:5003:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[MAX (LONGEST_HUMAN_READABLE + 1, INT_BUFSIZE_BOUND (uintmax_t))];
data/coreutils-8.32/src/make-prime-list.c:188:11:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  limit = atoi (argv[1]);
data/coreutils-8.32/src/md5sum.c:614:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      fp = fopen (filename, (O_BINARY && *binary ? "rb" : "r"));
data/coreutils-8.32/src/md5sum.c:661:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char bin_buffer_unaligned[DIGEST_BIN_BYTES + DIGEST_ALIGN];
data/coreutils-8.32/src/md5sum.c:677:26:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      checkfile_stream = fopen (checkfile_name, "r");
data/coreutils-8.32/src/md5sum.c:863:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char bin_buffer_unaligned[DIGEST_BIN_BYTES + DIGEST_ALIGN];
data/coreutils-8.32/src/mktemp.c:236:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (dest_name, template, len);
data/coreutils-8.32/src/mktemp.c:237:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (dest_name + len, suffix, suffix_len + 1);
data/coreutils-8.32/src/mv.c:231:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char const *dir[2];
data/coreutils-8.32/src/nl.c:88:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char body_fastmap[UCHAR_MAX + 1];
data/coreutils-8.32/src/nl.c:89:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char header_fastmap[UCHAR_MAX + 1];
data/coreutils-8.32/src/nl.c:90:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char footer_fastmap[UCHAR_MAX + 1];
data/coreutils-8.32/src/nl.c:432:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      stream = fopen (file, "r");
data/coreutils-8.32/src/nohup.c:141:19:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                : open (file, flags, mode));
data/coreutils-8.32/src/nohup.c:152:27:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                        : open (in_home, flags, mode));
data/coreutils-8.32/src/numfmt.c:726:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char fmt[64];
data/coreutils-8.32/src/numfmt.c:839:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (t_string, n_string, n_len);
data/coreutils-8.32/src/numfmt.c:1197:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[128];
data/coreutils-8.32/src/od.c:111:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char fmt_string[FMT_BYTES_ALLOCATED]; /* Of the style "%*d".  */
data/coreutils-8.32/src/od.c:168:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char const charname[33][4] =
data/coreutils-8.32/src/od.c:448:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char b[sizeof (T)];                                         \
data/coreutils-8.32/src/od.c:451:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            u.b[j] = ((const char *) p)[sizeof (T) - 1 - j];            \
data/coreutils-8.32/src/od.c:467:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char buf[BUFSIZE];                                      \
data/coreutils-8.32/src/od.c:512:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[2];
data/coreutils-8.32/src/od.c:543:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[4];
data/coreutils-8.32/src/od.c:922:23:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
          in_stream = fopen (input_filename, (O_BINARY ? "rb" : "r"));
data/coreutils-8.32/src/od.c:1070:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              char buf[BUFSIZ];
data/coreutils-8.32/src/od.c:1124:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[MAX_ADDRESS_LENGTH + 2];
data/coreutils-8.32/src/od.c:1377:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char *block[2];
data/coreutils-8.32/src/paste.c:212:33:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
          fileptr[files_open] = fopen (fnamptr[files_open], "r");
data/coreutils-8.32/src/paste.c:366:21:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
          fileptr = fopen (*fnamptr, "r");
data/coreutils-8.32/src/pinky.c:150:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char buf[INT_STRLEN_BOUND (long int) + 2];
data/coreutils-8.32/src/pinky.c:163:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf (buf, "%02d:%02d", hours, minutes);
data/coreutils-8.32/src/pinky.c:168:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf (buf, "%lud", days);
data/coreutils-8.32/src/pinky.c:177:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char buf[INT_STRLEN_BOUND (intmax_t) + sizeof "-%m-%d %H:%M"];
data/coreutils-8.32/src/pinky.c:209:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char line[sizeof (utmp_ent->ut_line) + DEV_DIR_LEN + 1];
data/coreutils-8.32/src/pinky.c:235:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char name[UT_USER_SIZE + 1];
data/coreutils-8.32/src/pinky.c:273:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char ut_host[sizeof (utmp_ent->ut_host) + 1];
data/coreutils-8.32/src/pinky.c:350:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[1024];
data/coreutils-8.32/src/pinky.c:356:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      stream = fopen (project, "r");
data/coreutils-8.32/src/pinky.c:374:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[1024];
data/coreutils-8.32/src/pinky.c:380:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      stream = fopen (plan, "r");
data/coreutils-8.32/src/pr.c:1478:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      p->fp = fopen (name, "r");
data/coreutils-8.32/src/pr.c:1656:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char secbuf[INT_BUFSIZE_BOUND (intmax_t)];
data/coreutils-8.32/src/pr.c:2017:15:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  num_width = sprintf (number_buff, "%*d", chars_per_number, line_number);
data/coreutils-8.32/src/pr.c:2355:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char page_text[256 + INT_STRLEN_BOUND (page_number)];
data/coreutils-8.32/src/pr.c:2623:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char esc_buff[4];
data/coreutils-8.32/src/pr.c:2655:11:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
          sprintf (esc_buff, "%03o", uc);
data/coreutils-8.32/src/pr.c:2673:15:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
              sprintf (esc_buff, "%03o", uc);
data/coreutils-8.32/src/printf.c:488:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char ok[UCHAR_MAX + 1];	/* ok['x'] is true if %x is allowed.  */
data/coreutils-8.32/src/ptx.c:101:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char fastmap[UCHAR_MAX + 1];
data/coreutils-8.32/src/ptx.c:136:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static unsigned char folded_chars[CHAR_SET_SIZE];
data/coreutils-8.32/src/ptx.c:149:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char word_fastmap[CHAR_SET_SIZE];
data/coreutils-8.32/src/ptx.c:248:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char edited_flag[CHAR_SET_SIZE];
data/coreutils-8.32/src/ptx.c:1215:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char ordinal_string[INT_BUFSIZE_BOUND (intmax_t)];
data/coreutils-8.32/src/pwd.c:114:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (p->start, p->buf + n_free, n_used);
data/coreutils-8.32/src/pwd.c:122:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (p->start + 1, s, s_len);
data/coreutils-8.32/src/pwd.c:134:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (p, "../", 3);
data/coreutils-8.32/src/relpath.c:73:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (*pbuf, str, slen + 1);
data/coreutils-8.32/src/selinux.c:207:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fd = open (path, O_RDONLY | O_NOFOLLOW);
data/coreutils-8.32/src/selinux.c:304:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *ftspath[2] = { newpath ? newpath : path, NULL };
data/coreutils-8.32/src/seq.c:280:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy (ldfmt, fmt, length_modifier_offset);
data/coreutils-8.32/src/seq.c:374:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char format_buf[sizeof "%0.Lf" + 2 * INT_STRLEN_BOUND (int)];
data/coreutils-8.32/src/seq.c:396:15:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
              sprintf (format_buf, "%%0%d.%dLf", w, prec);
data/coreutils-8.32/src/seq.c:402:11:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
          sprintf (format_buf, "%%.%dLf", prec);
data/coreutils-8.32/src/seq.c:482:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  char *p = memcpy (p0 + inc_size - p_len, a, p_len + 1);
data/coreutils-8.32/src/seq.c:488:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      q = memcpy (q0 + inc_size - q_len, b, q_len + 1);
data/coreutils-8.32/src/shred.c:230:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char r[3];
data/coreutils-8.32/src/shred.c:258:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy (r + i, r, i);
data/coreutils-8.32/src/shred.c:260:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy (r + i, r, size - i);
data/coreutils-8.32/src/shred.c:274:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
passname (unsigned char const *data, char name[PASS_NAME_SIZE])
data/coreutils-8.32/src/shred.c:274:38:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
passname (unsigned char const *data, char name[PASS_NAME_SIZE])
data/coreutils-8.32/src/shred.c:277:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf (name, "%02x%02x%02x", data[0], data[1], data[2]);
data/coreutils-8.32/src/shred.c:279:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy (name, "random", PASS_NAME_SIZE);
data/coreutils-8.32/src/shred.c:421:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char pass_string[PASS_NAME_SIZE];	/* Name of current pass */
data/coreutils-8.32/src/shred.c:426:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char previous_offset_buf[LONGEST_HUMAN_READABLE + 1];
data/coreutils-8.32/src/shred.c:496:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                  char buf[INT_BUFSIZE_BOUND (uintmax_t)];
data/coreutils-8.32/src/shred.c:555:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char offset_buf[LONGEST_HUMAN_READABLE + 1];
data/coreutils-8.32/src/shred.c:556:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char size_buf[LONGEST_HUMAN_READABLE + 1];
data/coreutils-8.32/src/shred.c:746:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (d, p, k * sizeof (int));
data/coreutils-8.32/src/shred.c:1056:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    dir_fd = open (dir, O_RDONLY | O_DIRECTORY | O_NOCTTY | O_NONBLOCK);
data/coreutils-8.32/src/shred.c:1087:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy (oldname + (base - newname), base, len + 1);
data/coreutils-8.32/src/shred.c:1133:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fd = open (name, O_WRONLY | O_NOCTTY | O_BINARY);
data/coreutils-8.32/src/shred.c:1137:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fd = open (name, O_WRONLY | O_NOCTTY | O_BINARY);
data/coreutils-8.32/src/sort.c:277:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char fold_toupper[UCHAR_LIM];
data/coreutils-8.32/src/sort.c:386:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char errbuf[INT_BUFSIZE_BOUND (errnum)];
data/coreutils-8.32/src/sort.c:662:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[FLEXIBLE_ARRAY_MEMBER];
data/coreutils-8.32/src/sort.c:855:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (file, temp_dir, len);
data/coreutils-8.32/src/sort.c:856:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (file + len, slashbase, sizeof slashbase);
data/coreutils-8.32/src/sort.c:960:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
          int fd = open (file, O_RDONLY | O_CLOEXEC);
data/coreutils-8.32/src/sort.c:1184:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  tempfd = open (temp->name, O_RDONLY);
data/coreutils-8.32/src/sort.c:1370:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char max_nmerge_buf[INT_BUFSIZE_BOUND (max_nmerge)];
data/coreutils-8.32/src/sort.c:1874:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char const unit_order[UCHAR_LIM] =
data/coreutils-8.32/src/sort.c:2097:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char buf[MD5_DIGEST_SIZE];
data/coreutils-8.32/src/sort.c:2142:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char stackbuf[4000];
data/coreutils-8.32/src/sort.c:2435:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char tmp[INT_BUFSIZE_BOUND (uintmax_t)];
data/coreutils-8.32/src/sort.c:2439:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char obuf[INT_BUFSIZE_BOUND (sword) * 2 + 4]; /* +# -#  */
data/coreutils-8.32/src/sort.c:2440:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char nbuf[INT_BUFSIZE_BOUND (sword) * 2 + 5]; /* -k #,#  */
data/coreutils-8.32/src/sort.c:2514:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char opts[sizeof short_options];
data/coreutils-8.32/src/sort.c:2567:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char stackbuf[4000];
data/coreutils-8.32/src/sort.c:2848:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char hr_buf[INT_BUFSIZE_BOUND (disorder_line_number)];
data/coreutils-8.32/src/sort.c:2884:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (temp.text, line->text, line->length);
data/coreutils-8.32/src/sort.c:3026:15:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
              memcpy (saved.text, smallest->text, saved.length);
data/coreutils-8.32/src/sort.c:3778:19:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      int outfd = open (outfile, oflags, MODE_RW_UGO);
data/coreutils-8.32/src/sort.c:4068:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char opts[sizeof short_options];
data/coreutils-8.32/src/sort.c:4408:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char str[2];
data/coreutils-8.32/src/split.c:389:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy (outfile, outbase, outbase_length);
data/coreutils-8.32/src/split.c:400:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy (outfile_mid + suffix_length, additional_suffix, addsuf_length);
data/coreutils-8.32/src/split.c:412:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (outfile_mid + suffix_length - i, numeric_suffix_start, i);
data/coreutils-8.32/src/split.c:464:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      int fd = open (name, O_WRONLY | O_CREAT | O_BINARY, MODE_RW_UGO);
data/coreutils-8.32/src/split.c:567:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              char signame[MAX (SIG2STR_MAX, INT_BUFSIZE_BOUND (int))];
data/coreutils-8.32/src/split.c:569:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf (signame, "%d", sig);
data/coreutils-8.32/src/split.c:831:15:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
              memcpy (hold + n_hold, sob, n_buf);
data/coreutils-8.32/src/split.c:1085:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
              fd = open (files[i_check].of_name,
data/coreutils-8.32/src/split.c:1460:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              char buffer[INT_BUFSIZE_BOUND (uintmax_t)];
data/coreutils-8.32/src/split.c:1600:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char buffer[INT_BUFSIZE_BOUND (uintmax_t)];
data/coreutils-8.32/src/stat.c:615:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        static char buf[sizeof "UNKNOWN (0x%lx)" - 3
data/coreutils-8.32/src/stat.c:617:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf (buf, "UNKNOWN (0x%lx)", type);
data/coreutils-8.32/src/stat.c:627:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char modebuf[12];
data/coreutils-8.32/src/stat.c:639:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char str[INT_BUFSIZE_BOUND (intmax_t)
data/coreutils-8.32/src/stat.c:652:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char secbuf[INT_BUFSIZE_BOUND (intmax_t)];
data/coreutils-8.32/src/stat.c:777:52:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                         + (frac_left_adjust ? 0 : sprintf (dst, "%d", w)));
data/coreutils-8.32/src/stat.c:1140:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy (dest, b, len);
data/coreutils-8.32/src/stty.c:2269:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char buf[10];
data/coreutils-8.32/src/sum.c:94:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char hbuf[LONGEST_HUMAN_READABLE + 1];
data/coreutils-8.32/src/sum.c:105:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      fp = fopen (file, (O_BINARY ? "rb" : "r"));
data/coreutils-8.32/src/sum.c:155:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char buf[8192];
data/coreutils-8.32/src/sum.c:157:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char hbuf[LONGEST_HUMAN_READABLE + 1];
data/coreutils-8.32/src/sum.c:174:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      fd = open (file, O_RDONLY | O_BINARY);
data/coreutils-8.32/src/sync.c:105:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fd = open (file, open_flags);
data/coreutils-8.32/src/sync.c:112:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fd = open (file, O_WRONLY | O_NONBLOCK);
data/coreutils-8.32/src/system.h:459:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      DEST = memcpy (tmp_dest_, s_, len_);	\
data/coreutils-8.32/src/system.h:544:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (&word, p, sizeof word);
data/coreutils-8.32/src/tac.c:112:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char compiled_separator_fastmap[UCHAR_MAX + 1];
data/coreutils-8.32/src/tac.c:161:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char buffer[WRITESIZE];
data/coreutils-8.32/src/tac.c:176:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (buffer + bytes_in_buffer, start, bytes_available);
data/coreutils-8.32/src/tac.c:184:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (buffer + bytes_in_buffer, start, bytes_to_add);
data/coreutils-8.32/src/tac.c:455:16:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
      int fd = mkstemp (tempfile);
data/coreutils-8.32/src/tac.c:579:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      fd = open (filename, O_RDONLY | O_BINARY);
data/coreutils-8.32/src/tac.c:678:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (G_buffer, separator, sentinel_length + 1);
data/coreutils-8.32/src/tail.c:458:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buffer[BUFSIZ];
data/coreutils-8.32/src/tail.c:497:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[INT_BUFSIZE_BOUND (offset)];
data/coreutils-8.32/src/tail.c:538:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[BUFSIZ];
data/coreutils-8.32/src/tail.c:628:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[BUFSIZ];
data/coreutils-8.32/src/tail.c:672:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (&last->buffer[last->nbytes], tmp->buffer, tmp->nbytes);
data/coreutils-8.32/src/tail.c:767:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[BUFSIZ];
data/coreutils-8.32/src/tail.c:799:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (&last->buffer[last->nbytes], tmp->buffer, tmp->nbytes);
data/coreutils-8.32/src/tail.c:866:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[BUFSIZ];
data/coreutils-8.32/src/tail.c:906:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buffer[BUFSIZ];
data/coreutils-8.32/src/tail.c:989:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            : open (f->name, O_RDONLY | (blocking ? 0 : O_NONBLOCK)));
data/coreutils-8.32/src/tail.c:1997:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fd = open (f->name, O_RDONLY | O_BINARY);
data/coreutils-8.32/src/tee.c:188:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[BUFSIZ];
data/coreutils-8.32/src/tee.c:214:24:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      descriptors[i] = fopen (files[i], mode_string);
data/coreutils-8.32/src/test.c:299:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char lbuf[INT_BUFSIZE_BOUND (uintmax_t)];
data/coreutils-8.32/src/test.c:300:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char rbuf[INT_BUFSIZE_BOUND (uintmax_t)];
data/coreutils-8.32/src/timeout.c:210:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char signame[MAX (SIG2STR_MAX, INT_BUFSIZE_BOUND (int))];
data/coreutils-8.32/src/timeout.c:439:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char signame[SIG2STR_MAX];
data/coreutils-8.32/src/tr.c:244:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char io_buf[BUFSIZ];
data/coreutils-8.32/src/tr.c:267:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char xlate[N_CHARS];
data/coreutils-8.32/src/tr.c:569:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf (buf, "\\%03o", c);
data/coreutils-8.32/src/tr.c:591:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[5];
data/coreutils-8.32/src/tr.c:628:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf (buf, "\\%03o", c);
data/coreutils-8.32/src/truncate.c:332:24:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
          int ref_fd = open (ref_file, O_RDONLY);
data/coreutils-8.32/src/truncate.c:360:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      if ((fd = open (fname, oflags, MODE_RW_UGO)) == -1)
data/coreutils-8.32/src/uname.c:306:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        static char processor[257];
data/coreutils-8.32/src/uname.c:314:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          static char processor[257];
data/coreutils-8.32/src/uname.c:350:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        static char hardware_platform[257];
data/coreutils-8.32/src/uname.c:359:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          static char hardware_platform[257];
data/coreutils-8.32/src/uniq.c:483:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char const *file[2];
data/coreutils-8.32/src/uptime.c:65:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp = fopen ("/proc/uptime", "r");
data/coreutils-8.32/src/uptime.c:68:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[BUFSIZ];
data/coreutils-8.32/src/wc.c:180:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[INT_BUFSIZE_BOUND (uintmax_t)];
data/coreutils-8.32/src/wc.c:219:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[BUFFER_SIZE + 1];
data/coreutils-8.32/src/wc.c:599:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      int fd = open (file, O_RDONLY | O_BINARY);
data/coreutils-8.32/src/wc.c:768:20:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
          stream = fopen (files_from, "r");
data/coreutils-8.32/src/who.c:90:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char Var[INT_STRLEN_BOUND (Utmp_ent->ut_pid) + 1]; \
data/coreutils-8.32/src/who.c:91:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (Var, "%ld", (long int) (Utmp_ent->ut_pid))
data/coreutils-8.32/src/who.c:209:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          static char idle_hhmm[IDLESTR_LEN];
data/coreutils-8.32/src/who.c:213:11:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
          sprintf (idle_hhmm, "%02d:%02d",
data/coreutils-8.32/src/who.c:227:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char buf[INT_STRLEN_BOUND (intmax_t) + sizeof "-%m-%d %H:%M"];
data/coreutils-8.32/src/who.c:256:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char mesg[3] = { ' ', 'x', '\0' };
data/coreutils-8.32/src/who.c:258:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char x_idle[1 + IDLESTR_LEN + 1];
data/coreutils-8.32/src/who.c:259:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char x_pid[1 + INT_STRLEN_BOUND (pid_t) + 1];
data/coreutils-8.32/src/who.c:345:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char idlestr[IDLESTR_LEN + 1];
data/coreutils-8.32/src/who.c:354:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char line[sizeof (utmp_ent->ut_line) + DEV_DIR_LEN + 1];
data/coreutils-8.32/src/who.c:377:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf (idlestr, "%.*s", IDLESTR_LEN, idle_string (last_change, boottime));
data/coreutils-8.32/src/who.c:379:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf (idlestr, "  ?");
data/coreutils-8.32/src/who.c:384:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char ut_host[sizeof (utmp_ent->ut_host) + 1];
data/coreutils-8.32/src/who.c:490:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(sin6.sin6_addr.s6_addr, a, 16);
data/coreutils-8.32/src/who.c:517:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
  strcpy (comment, _("id="));
data/coreutils-8.32/src/yes.c:109:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy (buf + bufused, *operandp, operand_len);
data/coreutils-8.32/src/yes.c:121:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (buf + bufused, buf, copysize);
data/coreutils-8.32/gnulib-tests/localename.c:1406:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (name) == 7 && name[2] == '-')
data/coreutils-8.32/gnulib-tests/localename.c:2576:7:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
      strcat (locval, "_");
data/coreutils-8.32/gnulib-tests/localename.c:2578:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                        locval + strlen (locval), LOCALE_NAME_MAX_LENGTH))
data/coreutils-8.32/gnulib-tests/localename.c:2580:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
         size_t locval_len = strlen (locval);
data/coreutils-8.32/gnulib-tests/localename.c:2616:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (lname, locale_name, sizeof (lname) - 1);
data/coreutils-8.32/gnulib-tests/localename.c:2687:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size = strlen (string) + 1;
data/coreutils-8.32/gnulib-tests/setlocale.c:693:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (locale) < sizeof (llCC_buf))
data/coreutils-8.32/gnulib-tests/setlocale.c:750:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              territory_end = territory_start + strlen (territory_start);
data/coreutils-8.32/gnulib-tests/setlocale.c:785:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                            size_t part1_len = strlen (part1);
data/coreutils-8.32/gnulib-tests/setlocale.c:787:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                            size_t part2_len = strlen (part2) + 1;
data/coreutils-8.32/gnulib-tests/setlocale.c:879:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
          strncpy (lc_messages_name, locale, sizeof (lc_messages_name) - 1);
data/coreutils-8.32/gnulib-tests/setlocale.c:1117:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      locale1_len = strlen (locale1);
data/coreutils-8.32/gnulib-tests/setlocale.c:1124:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      locale2_len = strlen (locale2);
data/coreutils-8.32/gnulib-tests/strerror_r.c:131:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t len = strlen (msg);
data/coreutils-8.32/gnulib-tests/strerror_r.c:217:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (!ret && strlen (buf) == buflen - 1)
data/coreutils-8.32/gnulib-tests/strerror_r.c:222:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        len = strlen (stackbuf);
data/coreutils-8.32/gnulib-tests/strerror_r.c:236:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (ret == ERANGE && strlen (buf) < buflen - 1)
data/coreutils-8.32/gnulib-tests/test-argv-iter.c:38:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      size_t len = strlen (*argv) + 1;
data/coreutils-8.32/gnulib-tests/test-base32.c:141:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ok = base32_decode (b32in, strlen (b32in), out, &len);
data/coreutils-8.32/gnulib-tests/test-base32.c:148:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = base32_encode_alloc (in, strlen (in), &p);
data/coreutils-8.32/gnulib-tests/test-base32.c:163:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ok = base32_decode_ctx (&ctx, b32in, strlen (b32in), out, &len);
data/coreutils-8.32/gnulib-tests/test-base32.c:171:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ok = base32_decode_alloc_ctx (NULL, b32in, strlen (b32in), &p, &len);
data/coreutils-8.32/gnulib-tests/test-base32.c:183:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ok = base32_decode_alloc_ctx (&ctx, newlineb32, strlen (newlineb32), &p, &len);
data/coreutils-8.32/gnulib-tests/test-base32.c:185:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (len == strlen (in));
data/coreutils-8.32/gnulib-tests/test-base32.c:230:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ok = base32_decode_alloc_ctx (&ctx, newlineb32, strlen (newlineb32), &p, &len);
data/coreutils-8.32/gnulib-tests/test-base64.c:118:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ok = base64_decode (b64in, strlen (b64in), out, &len);
data/coreutils-8.32/gnulib-tests/test-base64.c:125:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = base64_encode_alloc (in, strlen (in), &p);
data/coreutils-8.32/gnulib-tests/test-base64.c:140:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ok = base64_decode_ctx (&ctx, b64in, strlen (b64in), out, &len);
data/coreutils-8.32/gnulib-tests/test-base64.c:148:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ok = base64_decode_alloc_ctx (NULL, b64in, strlen (b64in), &p, &len);
data/coreutils-8.32/gnulib-tests/test-base64.c:160:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ok = base64_decode_alloc_ctx (&ctx, newlineb64, strlen (newlineb64), &p, &len);
data/coreutils-8.32/gnulib-tests/test-base64.c:162:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (len == strlen (in));
data/coreutils-8.32/gnulib-tests/test-base64.c:207:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ok = base64_decode_alloc_ctx (&ctx, newlineb64, strlen (newlineb64), &p, &len);
data/coreutils-8.32/gnulib-tests/test-canonicalize.c:70:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            == result1 + strlen (result1) - strlen ("/" BASE "/tra"));
data/coreutils-8.32/gnulib-tests/test-canonicalize.c:70:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            == result1 + strlen (result1) - strlen ("/" BASE "/tra"));
data/coreutils-8.32/gnulib-tests/test-canonicalize.c:160:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (strcmp (result1 + strlen (result1) - strlen ("/" BASE "/huk"),
data/coreutils-8.32/gnulib-tests/test-canonicalize.c:160:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (strcmp (result1 + strlen (result1) - strlen ("/" BASE "/huk"),
data/coreutils-8.32/gnulib-tests/test-canonicalize.c:175:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (strcmp (result1 + strlen (result1) - strlen ("/" BASE "/tra"),
data/coreutils-8.32/gnulib-tests/test-canonicalize.c:175:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (strcmp (result1 + strlen (result1) - strlen ("/" BASE "/tra"),
data/coreutils-8.32/gnulib-tests/test-canonicalize.c:195:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (strcmp (result1 + strlen (result1) - strlen ("/" BASE "/lum"),
data/coreutils-8.32/gnulib-tests/test-canonicalize.c:195:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (strcmp (result1 + strlen (result1) - strlen ("/" BASE "/lum"),
data/coreutils-8.32/gnulib-tests/test-canonicalize.c:272:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (strcmp (result1 + strlen (result1) - strlen ("/" BASE "/zzz"),
data/coreutils-8.32/gnulib-tests/test-canonicalize.c:272:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (strcmp (result1 + strlen (result1) - strlen ("/" BASE "/zzz"),
data/coreutils-8.32/gnulib-tests/test-canonicalize.c:293:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (strcmp (result1 + strlen (result1) - strlen ("/" BASE "/wum"),
data/coreutils-8.32/gnulib-tests/test-canonicalize.c:293:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (strcmp (result1 + strlen (result1) - strlen ("/" BASE "/wum"),
data/coreutils-8.32/gnulib-tests/test-canonicalize.c:307:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (strcmp (result2 + strlen (result2) - 14, "/t-can.zzz/zzz") == 0);
data/coreutils-8.32/gnulib-tests/test-canonicalize.c:318:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (strcmp (result2 + strlen (result1), "/d/2") == 0);
data/coreutils-8.32/gnulib-tests/test-digest.h:133:13:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if (getc (fp) != EOF)
data/coreutils-8.32/gnulib-tests/test-dirname.c:148:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
             && (dirlen == strlen (dir)
data/coreutils-8.32/gnulib-tests/test-dirname.c:149:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                 || (dirlen + 1 == strlen (dir) && dir[dirlen] == '.'))))
data/coreutils-8.32/gnulib-tests/test-dirname.c:155:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                  t->dir, (unsigned long) strlen (t->dir));
data/coreutils-8.32/gnulib-tests/test-dirname.c:164:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
             && (baselen == strlen (base)
data/coreutils-8.32/gnulib-tests/test-dirname.c:165:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                 || (baselen + 1 == strlen (base)
data/coreutils-8.32/gnulib-tests/test-dirname.c:172:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                  t->base, (unsigned long) strlen (t->base));
data/coreutils-8.32/gnulib-tests/test-dup2.c:185:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ASSERT (read (fd, buffer, 1) == 1);
data/coreutils-8.32/gnulib-tests/test-exclude.c:94:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          if (strlen (s) > 3 && memcmp (s, "no-", 3) == 0)
data/coreutils-8.32/gnulib-tests/test-fchdir.c:76:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        size_t len = strlen (cwd) + 1;
data/coreutils-8.32/gnulib-tests/test-fclose.c:69:11:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ASSERT (fgetc (f) == buf[2]);
data/coreutils-8.32/gnulib-tests/test-fflush.c:99:7:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if (fgetc (f) != '6')
data/coreutils-8.32/gnulib-tests/test-fflush.c:140:7:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if (fgetc (f) != '7')
data/coreutils-8.32/gnulib-tests/test-fflush2.c:42:13:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        c = fgetc (stdin);
data/coreutils-8.32/gnulib-tests/test-fflush2.c:45:13:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        c = fgetc (stdin);
data/coreutils-8.32/gnulib-tests/test-fflush2.c:57:13:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        c = fgetc (stdin);
data/coreutils-8.32/gnulib-tests/test-fflush2.c:60:13:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        c = fgetc (stdin);
data/coreutils-8.32/gnulib-tests/test-fflush2.c:77:13:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        c = fgetc (stdin);
data/coreutils-8.32/gnulib-tests/test-fflush2.c:80:13:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        c = fgetc (stdin);
data/coreutils-8.32/gnulib-tests/test-fflush2.c:92:13:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        c = fgetc (stdin);
data/coreutils-8.32/gnulib-tests/test-fflush2.c:95:13:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        c = fgetc (stdin);
data/coreutils-8.32/gnulib-tests/test-fgetc.c:22:18:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
SIGNATURE_CHECK (fgetc, int, (FILE *));
data/coreutils-8.32/gnulib-tests/test-fgetc.c:62:13:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ASSERT (fgetc (fp) == EOF);
data/coreutils-8.32/gnulib-tests/test-fgetc.c:75:17:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ASSERT (fgetc (fp) == EOF);
data/coreutils-8.32/gnulib-tests/test-fgetc.c:88:17:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ASSERT (fgetc (fp) == EOF);
data/coreutils-8.32/gnulib-tests/test-filenamecat.c:58:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      size_t t0len = strlen (t[0]);
data/coreutils-8.32/gnulib-tests/test-filenamecat.c:59:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      size_t reslen = strlen (res);
data/coreutils-8.32/gnulib-tests/test-fpurge.c:92:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      ASSERT (getc (fp) == EOF);
data/coreutils-8.32/gnulib-tests/test-fpurge.c:103:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      ASSERT (getc (fp) == 'h');
data/coreutils-8.32/gnulib-tests/test-fpurge.c:104:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      ASSERT (getc (fp) == EOF);
data/coreutils-8.32/gnulib-tests/test-freadahead.c:56:15:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          c = fgetc (stdin);
data/coreutils-8.32/gnulib-tests/test-freadahead.c:60:16:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          c2 = fgetc (stdin);
data/coreutils-8.32/gnulib-tests/test-freadahead.c:67:16:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          c2 = fgetc (stdin);
data/coreutils-8.32/gnulib-tests/test-freading.c:49:11:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ASSERT (fgetc (fp) == 'f');
data/coreutils-8.32/gnulib-tests/test-freading.c:53:11:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ASSERT (fgetc (fp) == 'b');
data/coreutils-8.32/gnulib-tests/test-freading.c:57:11:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ASSERT (fgetc (fp) == 'a');
data/coreutils-8.32/gnulib-tests/test-freading.c:72:11:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ASSERT (fgetc (fp) == 'f');
data/coreutils-8.32/gnulib-tests/test-freading.c:76:11:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ASSERT (fgetc (fp) == 'b');
data/coreutils-8.32/gnulib-tests/test-freading.c:99:11:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ASSERT (fgetc (fp) == 'f');
data/coreutils-8.32/gnulib-tests/test-freading.c:103:11:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ASSERT (fgetc (fp) == 'b');
data/coreutils-8.32/gnulib-tests/test-freading.c:107:11:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ASSERT (fgetc (fp) == 'x');
data/coreutils-8.32/gnulib-tests/test-freadptr.c:62:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        ASSERT (available1 <= strlen (expected));
data/coreutils-8.32/gnulib-tests/test-freadptr.c:67:15:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      ungetc (fgetc (stdin), stdin);
data/coreutils-8.32/gnulib-tests/test-freadptr.c:79:7:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      fgetc (stdin);
data/coreutils-8.32/gnulib-tests/test-freadseek.c:62:11:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ungetc (fgetc (stdin), stdin);
data/coreutils-8.32/gnulib-tests/test-freadseek.c:71:3:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  fgetc (stdin);
data/coreutils-8.32/gnulib-tests/test-freadseek.c:81:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (freadseek (stdin, strlen (stdin_contents) - position) == 0);
data/coreutils-8.32/gnulib-tests/test-freadseek.c:82:11:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ASSERT (fgetc (stdin) == EOF);
data/coreutils-8.32/gnulib-tests/test-freadseek.c:88:11:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ASSERT (fgetc (stdin) == EOF);
data/coreutils-8.32/gnulib-tests/test-freopen.c:38:11:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ASSERT (getchar () == EOF);
data/coreutils-8.32/gnulib-tests/test-fseek.c:45:16:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      int ch = fgetc (stdin);
data/coreutils-8.32/gnulib-tests/test-fseek.c:49:12:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      ch = fgetc (stdin);
data/coreutils-8.32/gnulib-tests/test-fseek.c:63:15:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      ASSERT (fgetc (stdin) == EOF);
data/coreutils-8.32/gnulib-tests/test-fseeko.c:49:16:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      int ch = fgetc (stdin);
data/coreutils-8.32/gnulib-tests/test-fseeko.c:53:12:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      ch = fgetc (stdin);
data/coreutils-8.32/gnulib-tests/test-fseeko.c:67:15:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      ASSERT (fgetc (stdin) == EOF);
data/coreutils-8.32/gnulib-tests/test-fsync.c:74:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ASSERT (read (fd, buf, sizeof buf) == sizeof buf);
data/coreutils-8.32/gnulib-tests/test-ftell.c:53:8:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ch = fgetc (stdin);
data/coreutils-8.32/gnulib-tests/test-ftell.c:62:8:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ch = fgetc (stdin);
data/coreutils-8.32/gnulib-tests/test-ftell.c:71:8:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ch = fgetc (stdin);
data/coreutils-8.32/gnulib-tests/test-ftell.c:77:8:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ch = fgetc (stdin);
data/coreutils-8.32/gnulib-tests/test-ftell3.c:52:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ASSERT (getc (fp) == 'h');
data/coreutils-8.32/gnulib-tests/test-ftell3.c:53:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ASSERT (getc (fp) == EOF);
data/coreutils-8.32/gnulib-tests/test-ftello.c:55:8:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ch = fgetc (stdin);
data/coreutils-8.32/gnulib-tests/test-ftello.c:66:8:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ch = fgetc (stdin);
data/coreutils-8.32/gnulib-tests/test-ftello.c:77:8:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ch = fgetc (stdin);
data/coreutils-8.32/gnulib-tests/test-ftello.c:84:8:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ch = fgetc (stdin);
data/coreutils-8.32/gnulib-tests/test-ftello3.c:52:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ASSERT (getc (fp) == 'h');
data/coreutils-8.32/gnulib-tests/test-ftello3.c:53:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ASSERT (getc (fp) == EOF);
data/coreutils-8.32/gnulib-tests/test-getcwd-lgpl.c:58:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t len = strlen (pwd1);
data/coreutils-8.32/gnulib-tests/test-getcwd.c:69:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  initial_cwd_len = strlen (cwd);
data/coreutils-8.32/gnulib-tests/test-getcwd.c:152:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  cwd_len = initial_cwd_len = strlen (cwd);
data/coreutils-8.32/gnulib-tests/test-getcwd.c:227:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (c && strlen (c) != cwd_len)
data/coreutils-8.32/gnulib-tests/test-gethostname.c:41:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (NOHOSTNAME) >= HOST_NAME_MAX)
data/coreutils-8.32/gnulib-tests/test-hash.c:73:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t len = strlen (str);
data/coreutils-8.32/gnulib-tests/test-iconv.c:65:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t inbytesleft = strlen (input);
data/coreutils-8.32/gnulib-tests/test-iconv.c:72:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (outptr == buf + strlen (expected));
data/coreutils-8.32/gnulib-tests/test-iconv.c:73:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (memcmp (buf, expected, strlen (expected)) == 0);
data/coreutils-8.32/gnulib-tests/test-iconv.c:100:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t inbytesleft = strlen (input);
data/coreutils-8.32/gnulib-tests/test-iconv.c:107:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (outptr == buf + strlen (expected));
data/coreutils-8.32/gnulib-tests/test-iconv.c:108:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (memcmp (buf, expected, strlen (expected)) == 0);
data/coreutils-8.32/gnulib-tests/test-iconv.c:116:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t inbytesleft = strlen (input);
data/coreutils-8.32/gnulib-tests/test-iconv.c:125:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        ASSERT (inbytesleft == strlen (input) && outptr == buf);
data/coreutils-8.32/gnulib-tests/test-link.h:84:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ASSERT (read (fd, buf, 10) == 10);
data/coreutils-8.32/gnulib-tests/test-link.h:90:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ASSERT (read (fd, buf, 10) == 10);
data/coreutils-8.32/gnulib-tests/test-md5.c:47:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (memcmp (md5_buffer (in1, strlen (in1), buf), out1, MD5_DIGEST_SIZE) != 0)
data/coreutils-8.32/gnulib-tests/test-md5.c:60:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (memcmp (md5_buffer (in2, strlen (in2), buf), out2, MD5_DIGEST_SIZE) != 0)
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:53:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (CODESET)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:60:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (RADIXCHAR)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:61:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (THOUSEP)) >= 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:63:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (D_T_FMT)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:64:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (D_FMT)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:65:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (T_FMT)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:66:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (T_FMT_AMPM)) >= (pass == 0 ? 1 : 0));
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:67:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (AM_STR)) >= (pass == 0 ? 1 : 0));
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:68:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (PM_STR)) >= (pass == 0 ? 1 : 0));
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:69:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (DAY_1)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:70:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (DAY_2)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:71:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (DAY_3)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:72:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (DAY_4)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:73:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (DAY_5)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:74:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (DAY_6)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:75:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (DAY_7)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:76:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (ABDAY_1)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:77:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (ABDAY_2)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:78:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (ABDAY_3)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:79:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (ABDAY_4)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:80:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (ABDAY_5)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:81:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (ABDAY_6)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:82:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (ABDAY_7)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:83:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (MON_1)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:84:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (MON_2)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:85:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (MON_3)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:86:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (MON_4)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:87:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (MON_5)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:88:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (MON_6)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:89:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (MON_7)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:90:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (MON_8)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:91:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (MON_9)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:92:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (MON_10)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:93:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (MON_11)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:94:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (MON_12)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:95:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (ALTMON_1)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:96:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (ALTMON_2)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:97:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (ALTMON_3)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:98:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (ALTMON_4)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:99:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (ALTMON_5)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:100:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (ALTMON_6)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:101:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (ALTMON_7)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:102:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (ALTMON_8)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:103:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (ALTMON_9)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:104:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (ALTMON_10)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:105:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (ALTMON_11)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:106:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (ALTMON_12)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:121:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (ABMON_1)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:122:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (ABMON_2)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:123:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (ABMON_3)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:124:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (ABMON_4)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:125:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (ABMON_5)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:126:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (ABMON_6)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:127:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (ABMON_7)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:128:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (ABMON_8)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:129:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (ABMON_9)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:130:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (ABMON_10)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:131:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (ABMON_11)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:132:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (ABMON_12)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:133:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (ERA)) >= 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:134:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (ERA_D_FMT)) >= 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:135:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (ERA_D_T_FMT)) >= 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:136:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (ERA_T_FMT)) >= 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:141:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (strlen (currency) >= 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:144:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      ASSERT (strlen (currency) >= 1);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:148:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (YESEXPR)) > 0);
data/coreutils-8.32/gnulib-tests/test-nl_langinfo.c:149:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (nl_langinfo (NOEXPR)) > 0);
data/coreutils-8.32/gnulib-tests/test-nstrftime.c:199:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
             || (!tz && n == strlen (LT[i].exp)
data/coreutils-8.32/gnulib-tests/test-open.h:77:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ASSERT (read (fd, &c, 1) == 0);
data/coreutils-8.32/gnulib-tests/test-openat-safer.c:115:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          ASSERT (read (fd, buf, 2) == 2);
data/coreutils-8.32/gnulib-tests/test-perror2.c:103:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        ASSERT (strlen (err) < sizeof buf);
data/coreutils-8.32/gnulib-tests/test-posixtm.c:156:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (8 <= strlen (T[i].in)
data/coreutils-8.32/gnulib-tests/test-quotearg-simple.c:253:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  *len = strlen (p);
data/coreutils-8.32/gnulib-tests/test-quotearg-simple.c:348:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        size_t s_len = strlen (str);
data/coreutils-8.32/gnulib-tests/test-quotearg.h:67:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  compare (results->str1, strlen (results->str1), p, len);
data/coreutils-8.32/gnulib-tests/test-quotearg.h:75:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  compare (results->str3, strlen (results->str3), p, len);
data/coreutils-8.32/gnulib-tests/test-quotearg.h:77:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = strlen (inputs.str4);
data/coreutils-8.32/gnulib-tests/test-quotearg.h:79:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  compare (results->str4, strlen (results->str4), p, len);
data/coreutils-8.32/gnulib-tests/test-quotearg.h:83:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  compare (results->str5, strlen (results->str5), p, len);
data/coreutils-8.32/gnulib-tests/test-quotearg.h:85:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = strlen (inputs.str6);
data/coreutils-8.32/gnulib-tests/test-quotearg.h:87:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  compare (results->str6, strlen (results->str6), p, len);
data/coreutils-8.32/gnulib-tests/test-quotearg.h:89:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = strlen (inputs.str7);
data/coreutils-8.32/gnulib-tests/test-quotearg.h:91:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  compare (results->str7, strlen (results->str7), p, len);
data/coreutils-8.32/gnulib-tests/test-quotearg.h:93:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = strlen (inputs.str8a);
data/coreutils-8.32/gnulib-tests/test-quotearg.h:96:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    compare (results->str8a, strlen (results->str8a), p, len);
data/coreutils-8.32/gnulib-tests/test-quotearg.h:98:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    compare (results->str8b, strlen (results->str8b), p, len);
data/coreutils-8.32/gnulib-tests/test-quotearg.h:117:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  *len = strlen (p);
data/coreutils-8.32/gnulib-tests/test-quotearg.h:126:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  *len = strlen (p);
data/coreutils-8.32/gnulib-tests/test-read.c:22:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
SIGNATURE_CHECK (read, ssize_t, (int, void *, size_t));
data/coreutils-8.32/gnulib-tests/test-read.c:48:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ssize_t ret = read (fd, buf, 10);
data/coreutils-8.32/gnulib-tests/test-read.c:58:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ASSERT (read (-1, &byte, 1) == -1);
data/coreutils-8.32/gnulib-tests/test-read.c:65:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ASSERT (read (99, &byte, 1) == -1);
data/coreutils-8.32/gnulib-tests/test-readlink.h:88:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t len = strlen (BASE "dir");
data/coreutils-8.32/gnulib-tests/test-readlinkat.c:86:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      ssize_t exp = strlen (contents);
data/coreutils-8.32/gnulib-tests/test-readtokens.c:76:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  delim_len = strlen (delim);
data/coreutils-8.32/gnulib-tests/test-rwlock1.c:83:3:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
  usleep (100000);
data/coreutils-8.32/gnulib-tests/test-rwlock1.c:99:3:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
  usleep (100000);
data/coreutils-8.32/gnulib-tests/test-select-stdin.c:80:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          ASSERT (read (0, &c, 1) == 1);
data/coreutils-8.32/gnulib-tests/test-select.h:220:3:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  getchar ();
data/coreutils-8.32/gnulib-tests/test-select.h:367:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      ASSERT (read (c, buf, 3) == 3);
data/coreutils-8.32/gnulib-tests/test-select.h:382:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      ASSERT (read (c, buf, 3) == 3);
data/coreutils-8.32/gnulib-tests/test-select.h:407:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ASSERT (read (rd, buf, 3) == 3);
data/coreutils-8.32/gnulib-tests/test-sha1.c:40:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (memcmp (sha1_buffer (in1, strlen (in1), buf),
data/coreutils-8.32/gnulib-tests/test-snprintf.c:68:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-strerror_r.c:41:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (buf) < sizeof buf);
data/coreutils-8.32/gnulib-tests/test-strerror_r.c:48:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (buf) < sizeof buf);
data/coreutils-8.32/gnulib-tests/test-strerror_r.c:55:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (buf) < sizeof buf);
data/coreutils-8.32/gnulib-tests/test-strerror_r.c:80:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (buf) < sizeof buf);
data/coreutils-8.32/gnulib-tests/test-strerror_r.c:102:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        len = strlen (buf2);
data/coreutils-8.32/gnulib-tests/test-striconv.c:53:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int retval = mem_cd_iconv (input, strlen (input), cd_88591_to_utf8,
data/coreutils-8.32/gnulib-tests/test-striconv.c:56:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (length == strlen (expected));
data/coreutils-8.32/gnulib-tests/test-striconv.c:57:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (result != NULL && memcmp (result, expected, strlen (expected)) == 0);
data/coreutils-8.32/gnulib-tests/test-striconv.c:67:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int retval = mem_cd_iconv (input, strlen (input), cd_utf8_to_88591,
data/coreutils-8.32/gnulib-tests/test-striconv.c:70:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (length == strlen (expected));
data/coreutils-8.32/gnulib-tests/test-striconv.c:71:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (result != NULL && memcmp (result, expected, strlen (expected)) == 0);
data/coreutils-8.32/gnulib-tests/test-striconv.c:80:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int retval = mem_cd_iconv (input, strlen (input), cd_utf8_to_88591,
data/coreutils-8.32/gnulib-tests/test-striconv.c:91:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int retval = mem_cd_iconv (input, strlen (input), cd_utf8_to_88591,
data/coreutils-8.32/gnulib-tests/test-strncat.c:24:18:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
SIGNATURE_CHECK (strncat, char *, (char *, const char *, size_t));
data/coreutils-8.32/gnulib-tests/test-strncat.c:32:19:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
#define U_STRNCAT strncat
data/coreutils-8.32/gnulib-tests/test-strsignal.c:69:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (str));
data/coreutils-8.32/gnulib-tests/test-strsignal.c:74:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (str));
data/coreutils-8.32/gnulib-tests/test-uname.c:46:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (buf.sysname) < sizeof (buf.sysname));
data/coreutils-8.32/gnulib-tests/test-uname.c:47:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (buf.nodename) < sizeof (buf.nodename));
data/coreutils-8.32/gnulib-tests/test-uname.c:48:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (buf.release) < sizeof (buf.release));
data/coreutils-8.32/gnulib-tests/test-uname.c:49:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (buf.version) < sizeof (buf.version));
data/coreutils-8.32/gnulib-tests/test-uname.c:50:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (buf.machine) < sizeof (buf.machine));
data/coreutils-8.32/gnulib-tests/test-userspec.c:120:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        len = strlen (pw->pw_name);
data/coreutils-8.32/gnulib-tests/test-usleep.c:24:18:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
SIGNATURE_CHECK (usleep, int, (useconds_t));
data/coreutils-8.32/gnulib-tests/test-usleep.c:34:11:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
  ASSERT (usleep (1000000) == 0);
data/coreutils-8.32/gnulib-tests/test-usleep.c:37:11:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
  ASSERT (usleep (0) == 0);
data/coreutils-8.32/gnulib-tests/test-vasnprintf.c:80:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      ASSERT (strlen (result) == 126);
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:60:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (pattern) != strlen (string))
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:60:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (pattern) != strlen (string))
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:114:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:124:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:134:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:144:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:160:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:173:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:183:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:194:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:204:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:214:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:223:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (strlen (result) >= 3 + 3
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:224:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strisnan (result, 0, strlen (result) - 3, 0)
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:225:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strcmp (result + strlen (result) - 3, " 33") == 0);
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:226:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:240:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:254:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:267:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:280:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:293:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:306:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:320:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:333:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:346:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:359:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:372:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:385:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:398:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:411:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:424:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:437:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:449:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:460:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (strlen (result) == 50 + 3
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:461:56:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strisnan (result, strspn (result, " "), strlen (result) - 3, 0)
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:462:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strcmp (result + strlen (result) - 3, " 33") == 0);
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:463:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:476:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:489:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:499:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:510:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:520:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:530:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:539:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (strlen (result) >= 3 + 3
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:540:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strisnan (result, 0, strlen (result) - 3, 0)
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:541:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strcmp (result + strlen (result) - 3, " 33") == 0);
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:542:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:553:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (strlen (result) >= 3 + 3
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:554:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strisnan (result, 0, strlen (result) - 3, 0)
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:555:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strcmp (result + strlen (result) - 3, " 33") == 0);
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:556:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:567:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (strlen (result) >= 3 + 3
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:568:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strisnan (result, 0, strlen (result) - 3, 0)
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:569:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strcmp (result + strlen (result) - 3, " 33") == 0);
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:570:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:581:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:592:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:603:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:614:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:625:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:640:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:653:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:666:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:679:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:692:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:705:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:720:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:733:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:746:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:759:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:772:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:785:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:798:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:811:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:824:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:837:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:849:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:860:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (strlen (result) == 50 + 3
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:861:56:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strisnan (result, strspn (result, " "), strlen (result) - 3, 0)
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:862:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strcmp (result + strlen (result) - 3, " 33") == 0);
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:863:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:875:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:885:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:975:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:986:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:996:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1007:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1018:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1029:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1038:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (strlen (result) >= 3 + 3
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1039:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strisnan (result, 0, strlen (result) - 3, 0)
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1040:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strcmp (result + strlen (result) - 3, " 33") == 0);
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1041:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1051:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1061:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1071:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1081:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1091:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1101:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1111:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1122:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1131:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (strlen (result) == 50 + 3
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1132:56:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strisnan (result, strspn (result, " "), strlen (result) - 3, 0)
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1133:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strcmp (result + strlen (result) - 3, " 33") == 0);
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1134:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1144:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1154:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1164:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1174:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1184:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1274:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1285:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1295:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1306:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1317:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1328:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1337:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (strlen (result) >= 3 + 3
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1338:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strisnan (result, 0, strlen (result) - 3, 0)
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1339:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strcmp (result + strlen (result) - 3, " 33") == 0);
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1340:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1351:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (strlen (result) >= 3 + 3
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1352:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strisnan (result, 0, strlen (result) - 3, 0)
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1353:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strcmp (result + strlen (result) - 3, " 33") == 0);
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1354:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1365:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (strlen (result) >= 3 + 3
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1366:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strisnan (result, 0, strlen (result) - 3, 0)
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1367:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strcmp (result + strlen (result) - 3, " 33") == 0);
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1368:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1379:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1390:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1401:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1412:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1423:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1435:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1445:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1455:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1465:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1475:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1485:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1495:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1506:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1515:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (strlen (result) == 50 + 3
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1516:56:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strisnan (result, strspn (result, " "), strlen (result) - 3, 0)
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1517:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strcmp (result + strlen (result) - 3, " 33") == 0);
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1518:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1528:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1538:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1548:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1560:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1570:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1580:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1590:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1601:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1612:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1623:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1632:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (strlen (result) >= 3 + 3
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1633:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strisnan (result, 0, strlen (result) - 3, 1)
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1634:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strcmp (result + strlen (result) - 3, " 33") == 0);
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1635:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1645:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1656:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1666:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1676:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1686:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1696:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1706:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1716:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1726:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1737:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1748:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1759:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1768:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (strlen (result) >= 3 + 3
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1769:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strisnan (result, 0, strlen (result) - 3, 1)
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1770:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strcmp (result + strlen (result) - 3, " 33") == 0);
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1771:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1781:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1792:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1802:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1812:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1822:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1835:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1846:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1938:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                || (strlen (result) == strlen (expected) + 1
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1938:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                || (strlen (result) == strlen (expected) + 1
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1939:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    && memcmp (result, expected, strlen (expected) - 2) == 0
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1940:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    && result[strlen (expected) - 2] == '0'
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1941:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    && strcmp (result + strlen (expected) - 1,
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1942:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                               expected + strlen (expected) - 2)
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1944:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1956:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1967:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1979:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:1990:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2001:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2010:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (strlen (result) >= 3 + 3
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2011:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strisnan (result, 0, strlen (result) - 3, 0)
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2012:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strcmp (result + strlen (result) - 3, " 33") == 0);
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2013:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2024:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2035:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2046:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2057:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2068:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2079:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2090:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2101:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2112:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2121:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (strlen (result) == 50 + 3
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2122:56:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strisnan (result, strspn (result, " "), strlen (result) - 3, 0)
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2123:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strcmp (result + strlen (result) - 3, " 33") == 0);
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2124:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2135:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2146:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2157:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2168:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2179:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2271:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                || (strlen (result) == strlen (expected) + 1
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2271:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                || (strlen (result) == strlen (expected) + 1
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2272:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    && memcmp (result, expected, strlen (expected) - 2) == 0
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2273:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    && result[strlen (expected) - 2] == '0'
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2274:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    && strcmp (result + strlen (expected) - 1,
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2275:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                               expected + strlen (expected) - 2)
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2277:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2289:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2300:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2312:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2323:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2334:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2343:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (strlen (result) >= 3 + 3
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2344:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strisnan (result, 0, strlen (result) - 3, 0)
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2345:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strcmp (result + strlen (result) - 3, " 33") == 0);
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2346:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2357:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (strlen (result) >= 3 + 3
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2358:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strisnan (result, 0, strlen (result) - 3, 0)
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2359:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strcmp (result + strlen (result) - 3, " 33") == 0);
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2360:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2371:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (strlen (result) >= 3 + 3
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2372:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strisnan (result, 0, strlen (result) - 3, 0)
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2373:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strcmp (result + strlen (result) - 3, " 33") == 0);
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2374:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2385:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2396:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2407:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2418:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2429:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2442:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2453:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2464:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2475:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2486:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2497:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2508:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2519:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2530:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2539:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (strlen (result) == 50 + 3
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2540:56:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strisnan (result, strspn (result, " "), strlen (result) - 3, 0)
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2541:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strcmp (result + strlen (result) - 3, " 33") == 0);
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2542:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2553:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2564:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2575:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2587:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2598:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2690:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                || (expected[strlen (expected) - 4] == 'e'
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2691:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    && strlen (result) == strlen (expected) + 1
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2691:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    && strlen (result) == strlen (expected) + 1
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2692:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    && memcmp (result, expected, strlen (expected) - 2) == 0
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2693:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    && result[strlen (expected) - 2] == '0'
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2694:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    && strcmp (result + strlen (expected) - 1,
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2695:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                               expected + strlen (expected) - 2)
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2697:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2708:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2718:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2729:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2740:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2751:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2760:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (strlen (result) >= 3 + 3
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2761:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strisnan (result, 0, strlen (result) - 3, 0)
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2762:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strcmp (result + strlen (result) - 3, " 33") == 0);
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2763:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2773:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2783:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2793:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2803:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2813:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2823:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2834:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2844:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2855:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2864:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (strlen (result) == 50 + 3
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2865:56:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strisnan (result, strspn (result, " "), strlen (result) - 3, 0)
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2866:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strcmp (result + strlen (result) - 3, " 33") == 0);
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2867:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2878:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2888:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2898:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2908:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:2919:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3011:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                || (expected[strlen (expected) - 4] == 'e'
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3012:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    && strlen (result) == strlen (expected) + 1
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3012:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    && strlen (result) == strlen (expected) + 1
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3013:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    && memcmp (result, expected, strlen (expected) - 2) == 0
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3014:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    && result[strlen (expected) - 2] == '0'
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3015:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    && strcmp (result + strlen (expected) - 1,
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3016:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                               expected + strlen (expected) - 2)
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3018:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3029:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3039:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3050:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3061:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3072:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3081:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (strlen (result) >= 3 + 3
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3082:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strisnan (result, 0, strlen (result) - 3, 0)
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3083:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strcmp (result + strlen (result) - 3, " 33") == 0);
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3084:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3095:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (strlen (result) >= 3 + 3
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3096:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strisnan (result, 0, strlen (result) - 3, 0)
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3097:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strcmp (result + strlen (result) - 3, " 33") == 0);
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3098:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3109:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (strlen (result) >= 3 + 3
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3110:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strisnan (result, 0, strlen (result) - 3, 0)
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3111:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strcmp (result + strlen (result) - 3, " 33") == 0);
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3112:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3123:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3134:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3145:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3156:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3167:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3179:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3189:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3199:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3209:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3219:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3229:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3240:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3250:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3261:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3270:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (strlen (result) == 50 + 3
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3271:56:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strisnan (result, strspn (result, " "), strlen (result) - 3, 0)
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3272:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            && strcmp (result + strlen (result) - 3, " 33") == 0);
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3273:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3284:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3294:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3304:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3317:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3330:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3341:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (result[strlen (result) - 1] == '9');
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3342:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3354:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3364:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3374:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3389:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3402:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3416:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3429:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3442:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3455:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3470:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3485:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3500:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3517:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3541:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-vasprintf-posix.c:3564:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        ASSERT (retval == strlen (result));
data/coreutils-8.32/gnulib-tests/test-write.c:53:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ASSERT (read (rfd, buf, sizeof (buf)) == 17);
data/coreutils-8.32/gnulib-tests/tmpdir.c:101:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      plen = strlen (pfx);
data/coreutils-8.32/gnulib-tests/tmpdir.c:142:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  dlen = strlen (dir);
data/coreutils-8.32/gnulib-tests/tmpfile.c:99:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          size_t len = strlen (xtemplate);
data/coreutils-8.32/gnulib-tests/usleep.c:46:1:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
usleep (useconds_t micro)
data/coreutils-8.32/gnulib-tests/usleep.c:47:8:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
#undef usleep
data/coreutils-8.32/gnulib-tests/usleep.c:72:11:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
#  define usleep(x) 0
data/coreutils-8.32/gnulib-tests/usleep.c:74:10:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
  return usleep (micro % 1000000);
data/coreutils-8.32/lib/af_alg.c:92:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          result = read (ofd, resblock, hashlen) == hashlen ? 0 : -EAFNOSUPPORT;
data/coreutils-8.32/lib/af_alg.c:132:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
              if (read (ofd, resblock, hashlen) == hashlen)
data/coreutils-8.32/lib/af_alg.c:200:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if (result == 0 && read (ofd, resblock, hashlen) != hashlen)
data/coreutils-8.32/lib/argmatch.c:90:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  arglen = strlen (arg);
data/coreutils-8.32/lib/argmatch.c:97:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          if (strlen (arglist[i]) == arglen)
data/coreutils-8.32/lib/argmatch.h:181:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t arglen = strlen (arg);                                       \
data/coreutils-8.32/lib/argmatch.h:188:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          if (strlen (g->args[i].arg) == arglen)                        \
data/coreutils-8.32/lib/argmatch.h:261:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          col += strlen (g->docs[i].arg);                               \
data/coreutils-8.32/lib/argmatch.h:266:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              col += (col == 4 ? 0 : 2) + strlen (g->args[j].arg);      \
data/coreutils-8.32/lib/argmatch.h:299:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    && screen_width < col + 2 + strlen (g->args[j].arg)) \
data/coreutils-8.32/lib/backupfile.c:47:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
# define _D_EXACT_NAMLEN(dp) strlen ((dp)->d_name)
data/coreutils-8.32/lib/backupfile.c:125:15:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
              strcpy (base, ".");
data/coreutils-8.32/lib/backupfile.c:226:7:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
      strcpy (base, ".");
data/coreutils-8.32/lib/backupfile.c:318:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t filelen = base_offset + strlen (file + base_offset);
data/coreutils-8.32/lib/backupfile.c:325:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t simple_backup_suffix_size = strlen (simple_backup_suffix) + 1;
data/coreutils-8.32/lib/basename-lgpl.c:63:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  for (len = strlen (name);  1 < len && ISSLASH (name[len - 1]);  len--)
data/coreutils-8.32/lib/canonicalize.c:274:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              n = strlen (buf);
data/coreutils-8.32/lib/canonicalize.c:275:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              len = strlen (end);
data/coreutils-8.32/lib/chdir-long.c:117:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t len = strlen (dir);
data/coreutils-8.32/lib/chown.c:125:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      size_t len = strlen (file);
data/coreutils-8.32/lib/error.c:211:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      size_t len = strlen (message) + 1;
data/coreutils-8.32/lib/exclude.c:341:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      size_t patlen = strlen (pattern);
data/coreutils-8.32/lib/exclude.c:488:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            filename = xmalloc (strlen (f) + 1);
data/coreutils-8.32/lib/exclude.c:550:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              size_t len = strlen (pattern);
data/coreutils-8.32/lib/exclude.c:625:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while ((c = getc (fp)) != EOF)
data/coreutils-8.32/lib/faccessat.c:62:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (result == 0 && file[strlen (file) - 1] == '/')
data/coreutils-8.32/lib/fchownat.c:102:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t len = strlen (file);
data/coreutils-8.32/lib/filenamecat-lgpl.c:52:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t baselen = strlen (base);
data/coreutils-8.32/lib/fnmatch.c:164:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
# define STRLEN(S) strlen (S)
data/coreutils-8.32/lib/fnmatch.c:194:22:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#   define STRLEN(S) wcslen (S)
data/coreutils-8.32/lib/fnmatch.c:342:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  return internal_fnmatch (pattern, string, string + strlen (string),
data/coreutils-8.32/lib/fopen.c:70:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t len = strlen (filename);
data/coreutils-8.32/lib/freadseek.c:105:11:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if (fgetc (fp) == EOF)
data/coreutils-8.32/lib/fstatat.c:84:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = strlen (file);
data/coreutils-8.32/lib/fts.c:82:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
# define _D_EXACT_NAMLEN(dirent) strlen ((dirent)->d_name)
data/coreutils-8.32/lib/fts.c:467:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                size_t len = strlen(*argv);
data/coreutils-8.32/lib/fts.c:565:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                len = strlen(++cp);
data/coreutils-8.32/lib/fts.c:2027:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                if ((len = strlen(*argv)) > max)
data/coreutils-8.32/lib/getcwd-lgpl.c:120:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      size_t actual_size = strlen (result) + 1;
data/coreutils-8.32/lib/getcwd.c:45:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
# define _D_EXACT_NAMLEN(d) strlen ((d)->d_name)
data/coreutils-8.32/lib/getdelim.c:39:41:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
# define getc_maybe_unlocked(fp)        getc(fp)
data/coreutils-8.32/lib/getdelim.c:45:41:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
# define getc_maybe_unlocked(fp)        getc(fp)
data/coreutils-8.32/lib/gethostname.c:55:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (name, uts.nodename, len);
data/coreutils-8.32/lib/gethostname.c:57:3:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
  strcpy (name, "");            /* Hardcode your system name if you want.  */
data/coreutils-8.32/lib/getloadavg.c:518:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  count = read (fd, ldavgbuf, sizeof ldavgbuf - 1);
data/coreutils-8.32/lib/getloadavg.c:834:7:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
      strcpy (name_list[1].n_name, "");
data/coreutils-8.32/lib/getloadavg.c:914:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          || read (channel, (char *) load_ave, sizeof (load_ave))
data/coreutils-8.32/lib/getndelim2.c:131:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          c = getc (stream);
data/coreutils-8.32/lib/getopt.c:214:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	&& namelen == strlen (p->name))
data/coreutils-8.32/lib/getopt.c:301:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  d->__nextchar += strlen (d->__nextchar);
data/coreutils-8.32/lib/getprogname.c:121:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          if (strlen (ucomm) < PST_UCOMMLEN - 1)
data/coreutils-8.32/lib/getprogname.c:135:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              if (strlen (p) > PST_UCOMMLEN - 1
data/coreutils-8.32/lib/getprogname.c:157:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              if (strlen (ucomm) < PST_UCOMMLEN - 1)
data/coreutils-8.32/lib/getprogname.c:171:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                  if (strlen (p) > PST_UCOMMLEN - 1
data/coreutils-8.32/lib/gettext.h:223:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t msgctxt_len = strlen (msgctxt) + 1;
data/coreutils-8.32/lib/gettext.h:224:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t msgid_len = strlen (msgid) + 1;
data/coreutils-8.32/lib/gettext.h:271:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t msgctxt_len = strlen (msgctxt) + 1;
data/coreutils-8.32/lib/gettext.h:272:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t msgid_len = strlen (msgid) + 1;
data/coreutils-8.32/lib/getusershell.c:147:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while ((c = getc (stream)) != EOF && isspace (c))
data/coreutils-8.32/lib/getusershell.c:157:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      c = getc (stream);
data/coreutils-8.32/lib/human.c:84:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t thousands_seplen = strlen (thousands_sep);
data/coreutils-8.32/lib/human.c:178:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t pointlen = strlen (l->decimal_point);
data/coreutils-8.32/lib/human.c:185:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (l->thousands_sep) <= MB_LEN_MAX)
data/coreutils-8.32/lib/human.c:233:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        buflen = strlen (buf);
data/coreutils-8.32/lib/human.c:251:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        buflen = strlen (buf);
data/coreutils-8.32/lib/human.c:260:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            buflen = strlen (buf);
data/coreutils-8.32/lib/idcache.c:87:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      match = xmalloc (FLEXSIZEOF (struct userid, name, strlen (name) + 1));
data/coreutils-8.32/lib/idcache.c:124:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (!pwent && strspn (user, digits) < strlen (user))
data/coreutils-8.32/lib/idcache.c:131:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  tail = xmalloc (FLEXSIZEOF (struct userid, name, strlen (user) + 1));
data/coreutils-8.32/lib/idcache.c:169:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      match = xmalloc (FLEXSIZEOF (struct userid, name, strlen (name) + 1));
data/coreutils-8.32/lib/idcache.c:206:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (!grent && strspn (group, digits) < strlen (group))
data/coreutils-8.32/lib/idcache.c:213:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  tail = xmalloc (FLEXSIZEOF (struct userid, name, strlen (group) + 1));
data/coreutils-8.32/lib/inet_ntop.c:230:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          tp += strlen (tp);
data/coreutils-8.32/lib/isatty.c:116:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              if (strlen (buf) >= 11
data/coreutils-8.32/lib/isatty.c:117:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                  && strcmp (buf + strlen (buf) - 11, "\\mintty.exe") == 0)
data/coreutils-8.32/lib/lchown.c:92:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      size_t len = strlen (file);
data/coreutils-8.32/lib/linebuffer.c:72:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      c = getc (stream);
data/coreutils-8.32/lib/link.c:60:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t len1 = strlen (file1);
data/coreutils-8.32/lib/link.c:61:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t len2 = strlen (file2);
data/coreutils-8.32/lib/link.c:173:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len1 = strlen (file1);
data/coreutils-8.32/lib/link.c:174:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len2 = strlen (file2);
data/coreutils-8.32/lib/linkat.c:307:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t len1 = strlen (file1);
data/coreutils-8.32/lib/linkat.c:308:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t len2 = strlen (file2);
data/coreutils-8.32/lib/localcharset.c:928:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (pdot && 2 + strlen (pdot + 1) + 1 <= sizeof (buf))
data/coreutils-8.32/lib/lstat.c:84:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (S_ISDIR (sbuf->st_mode) || file[strlen (file) - 1] != '/')
data/coreutils-8.32/lib/mbsalign.c:116:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t src_size = strlen (src) + 1;
data/coreutils-8.32/lib/mbslen.c:43:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    return strlen (string);
data/coreutils-8.32/lib/mbsstr.c:350:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                            strlen (needle - 1),
data/coreutils-8.32/lib/mbswidth.c:49:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  return mbsnwidth (string, strlen (string), flags);
data/coreutils-8.32/lib/mbuiter.h:167:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          iter->cur.bytes = strlen (iter->cur.ptr);
data/coreutils-8.32/lib/memcoll.c:44:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      size_t size1 = strlen (s1) + 1;
data/coreutils-8.32/lib/memcoll.c:45:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      size_t size2 = strlen (s2) + 1;
data/coreutils-8.32/lib/mkdir.c:55:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t len = strlen (dir);
data/coreutils-8.32/lib/mkfifo.c:47:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t len = strlen (name);
data/coreutils-8.32/lib/mknod.c:55:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      size_t len = strlen (name);
data/coreutils-8.32/lib/mountlist.c:408:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t len = strlen (str) + 1;
data/coreutils-8.32/lib/mountlist.c:688:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                name = xmalloc (1 + strlen (d->d_name) + 1);
data/coreutils-8.32/lib/mountlist.c:1005:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            me->me_devname = xmalloc (strlen (host) + strlen (dir) + 2);
data/coreutils-8.32/lib/mountlist.c:1005:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            me->me_devname = xmalloc (strlen (host) + strlen (dir) + 2);
data/coreutils-8.32/lib/mountlist.c:1007:13:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
            strcat (me->me_devname, ":");
data/coreutils-8.32/lib/nl_langinfo.c:91:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  codesetlen = strlen (codeset);
data/coreutils-8.32/lib/nstrftime.c:99:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
# define STRLEN(s) strlen (s)
data/coreutils-8.32/lib/nstrftime.c:628:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              format_end = f + strlen (f) + 1;
data/coreutils-8.32/lib/nstrftime.c:640:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    len += strlen (f + len);
data/coreutils-8.32/lib/nstrftime.c:919:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                  size_t len = strlen (era->era_name);
data/coreutils-8.32/lib/nstrftime.c:1397:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          cpy (strlen (zone), zone);
data/coreutils-8.32/lib/open.c:115:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      size_t len = strlen (filename);
data/coreutils-8.32/lib/open.c:182:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      size_t len = strlen (filename);
data/coreutils-8.32/lib/openat-proc.c:98:56:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        size_t bufsize = PROC_SELF_FD_DIR_SIZE_BOUND + strlen (file);
data/coreutils-8.32/lib/openat-proc.c:118:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    dirlen = strlen (dir);
data/coreutils-8.32/lib/openat-proc.c:119:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    bufsize = dirlen + 1 + strlen (file) + 1; /* 1 for '/', 1 for null */
data/coreutils-8.32/lib/openat.c:105:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      size_t len = strlen (filename);
data/coreutils-8.32/lib/openat.c:148:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      size_t len = strlen (filename);
data/coreutils-8.32/lib/opendir.c:103:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    p = dir_name_mask + strlen (dir_name_mask);
data/coreutils-8.32/lib/opendir.c:139:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            + strlen (dir_name_mask) + 1);
data/coreutils-8.32/lib/parse-datetime.c:1389:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#   define yystrlen strlen
data/coreutils-8.32/lib/parse-datetime.c:3078:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  wordlen = strlen (word);
data/coreutils-8.32/lib/parse-datetime.c:3455:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  char const *input_sentinel = p + strlen (p);
data/coreutils-8.32/lib/posixtm.c:113:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t s_len = strlen (s);
data/coreutils-8.32/lib/propername.c:133:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              p = tsub_in_string + strlen (tsub);
data/coreutils-8.32/lib/propername.c:172:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            XNMALLOC (strlen (translation) + 2 + strlen (name) + 1 + 1, char);
data/coreutils-8.32/lib/propername.c:172:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            XNMALLOC (strlen (translation) + 2 + strlen (name) + 1 + 1, char);
data/coreutils-8.32/lib/propername.c:213:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        size_t len = strlen (locale_code);
data/coreutils-8.32/lib/propername.c:274:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            XNMALLOC (strlen (translation) + 2 + strlen (name) + 1 + 1, char);
data/coreutils-8.32/lib/propername.c:274:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            XNMALLOC (strlen (translation) + 2 + strlen (name) + 1 + 1, char);
data/coreutils-8.32/lib/pthread_sigmask.c:84:7:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
      usleep (1);
data/coreutils-8.32/lib/putenv.c:75:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = strlen (name);
data/coreutils-8.32/lib/quotearg.c:370:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        quote_string_len = strlen (quote_string);
data/coreutils-8.32/lib/quotearg.c:416:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                  ? (argsize = strlen (arg)) : argsize))
data/coreutils-8.32/lib/quotearg.c:627:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                  argsize = strlen (arg);
data/coreutils-8.32/lib/randread.c:160:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      seeded = read (fd, buf, MIN (bufsize, bytes_bound));
data/coreutils-8.32/lib/read.c:40:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
# undef read
data/coreutils-8.32/lib/read.c:50:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      result = read (fd, buf, count);
data/coreutils-8.32/lib/read.c:62:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#  define read_nothrow read
data/coreutils-8.32/lib/readlink.c:57:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t len = strlen (name);
data/coreutils-8.32/lib/readlinkat.c:37:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t file_len = strlen (file);
data/coreutils-8.32/lib/readtokens.c:98:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  for (c = getc (stream); c >= 0 && get_nth_bit (c, isdelim); c = getc (stream))
data/coreutils-8.32/lib/readtokens.c:98:67:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  for (c = getc (stream); c >= 0 && get_nth_bit (c, isdelim); c = getc (stream))
data/coreutils-8.32/lib/readtokens.c:125:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      c = getc (stream);
data/coreutils-8.32/lib/readtokens0.c:71:15:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      int c = fgetc (in);
data/coreutils-8.32/lib/readutmp.c:54:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (trimmed_name, UT_USER (ut), sizeof (UT_USER (ut)));
data/coreutils-8.32/lib/readutmp.c:59:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  for (p = trimmed_name + strlen (trimmed_name);
data/coreutils-8.32/lib/regcomp.c:491:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ret = re_compile_internal (preg, pattern, strlen (pattern), syntax);
data/coreutils-8.32/lib/regcomp.c:535:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  msg_size = strlen (msg) + 1; /* Includes the null.  */
data/coreutils-8.32/lib/regcomp.c:703:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ret = re_compile_internal (&re_comp_buf, s, strlen (s), re_syntax_options);
data/coreutils-8.32/lib/regcomp.c:771:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (dfa->re_str, pattern, length + 1);
data/coreutils-8.32/lib/regcomp.c:2715:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			 && strlen ((char *) start_elem->opr.name) > 1)
data/coreutils-8.32/lib/regcomp.c:2717:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			    && strlen ((char *) end_elem->opr.name) > 1)))
data/coreutils-8.32/lib/regcomp.c:2825:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t name_len = strlen ((const char *) name);
data/coreutils-8.32/lib/regcomp.c:2906:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  size_t sym_name_len = strlen ((char *) br_elem->opr.name);
data/coreutils-8.32/lib/regcomp.c:3041:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      size_t name_len = strlen ((const char *) name);
data/coreutils-8.32/lib/regcomp.c:3551:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (__glibc_unlikely (strlen ((const char *) name) != 1))
data/coreutils-8.32/lib/regexec.c:210:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      length = strlen (string);
data/coreutils-8.32/lib/rename.c:49:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t src_len = strlen (src);
data/coreutils-8.32/lib/rename.c:50:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t dst_len = strlen (dst);
data/coreutils-8.32/lib/rename.c:148:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      src_len = strlen (src_temp);
data/coreutils-8.32/lib/rename.c:282:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t src_len = strlen (src);
data/coreutils-8.32/lib/rename.c:283:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t dst_len = strlen (dst);
data/coreutils-8.32/lib/rename.c:448:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      src_len = strlen (src_temp);
data/coreutils-8.32/lib/renameatu.c:133:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  src_len = strlen (src);
data/coreutils-8.32/lib/renameatu.c:134:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  dst_len = strlen (dst);
data/coreutils-8.32/lib/rmdir.c:37:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t len = strlen (dir);
data/coreutils-8.32/lib/safe-read.c:47:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
# define rw read
data/coreutils-8.32/lib/savedir.c:31:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
# define _D_EXACT_NAMLEN(dp)    strlen ((dp)->d_name)
data/coreutils-8.32/lib/select.c:123:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  BOOL read, write, except;
data/coreutils-8.32/lib/select.c:230:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if (read && (rbits->in[fd / CHAR_BIT] & (1 << (fd & (CHAR_BIT - 1)))))
data/coreutils-8.32/lib/setenv.c:118:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t namelen = strlen (name);
data/coreutils-8.32/lib/setenv.c:119:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t vallen = value != NULL ? strlen (value) + 1 : 0;
data/coreutils-8.32/lib/setenv.c:376:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          size_t len = strlen (value);
data/coreutils-8.32/lib/setlocale_null.c:111:23:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      size_t length = wcslen (result);
data/coreutils-8.32/lib/setlocale_null.c:154:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      size_t length = strlen (result);
data/coreutils-8.32/lib/stat.c:126:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t len = strlen (name);
data/coreutils-8.32/lib/stat.c:421:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could ca