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/tar-1.32+dfsg/gnu/_Noreturn.h
Examining data/tar-1.32+dfsg/gnu/acl-errno-valid.c
Examining data/tar-1.32+dfsg/gnu/acl-internal.c
Examining data/tar-1.32+dfsg/gnu/acl-internal.h
Examining data/tar-1.32+dfsg/gnu/acl.h
Examining data/tar-1.32+dfsg/gnu/acl_entries.c
Examining data/tar-1.32+dfsg/gnu/alignof.h
Examining data/tar-1.32+dfsg/gnu/alloca.c
Examining data/tar-1.32+dfsg/gnu/alloca.in.h
Examining data/tar-1.32+dfsg/gnu/allocator.c
Examining data/tar-1.32+dfsg/gnu/allocator.h
Examining data/tar-1.32+dfsg/gnu/anytostr.c
Examining data/tar-1.32+dfsg/gnu/areadlink-with-size.c
Examining data/tar-1.32+dfsg/gnu/areadlink.c
Examining data/tar-1.32+dfsg/gnu/areadlink.h
Examining data/tar-1.32+dfsg/gnu/areadlinkat-with-size.c
Examining data/tar-1.32+dfsg/gnu/areadlinkat.c
Examining data/tar-1.32+dfsg/gnu/arg-nonnull.h
Examining data/tar-1.32+dfsg/gnu/argmatch.c
Examining data/tar-1.32+dfsg/gnu/argmatch.h
Examining data/tar-1.32+dfsg/gnu/argp-ba.c
Examining data/tar-1.32+dfsg/gnu/argp-eexst.c
Examining data/tar-1.32+dfsg/gnu/argp-fmtstream.c
Examining data/tar-1.32+dfsg/gnu/argp-fmtstream.h
Examining data/tar-1.32+dfsg/gnu/argp-fs-xinl.c
Examining data/tar-1.32+dfsg/gnu/argp-help.c
Examining data/tar-1.32+dfsg/gnu/argp-namefrob.h
Examining data/tar-1.32+dfsg/gnu/argp-parse.c
Examining data/tar-1.32+dfsg/gnu/argp-pin.c
Examining data/tar-1.32+dfsg/gnu/argp-pv.c
Examining data/tar-1.32+dfsg/gnu/argp-pvh.c
Examining data/tar-1.32+dfsg/gnu/argp-version-etc.c
Examining data/tar-1.32+dfsg/gnu/argp-version-etc.h
Examining data/tar-1.32+dfsg/gnu/argp-xinl.c
Examining data/tar-1.32+dfsg/gnu/argp.h
Examining data/tar-1.32+dfsg/gnu/asnprintf.c
Examining data/tar-1.32+dfsg/gnu/asprintf.c
Examining data/tar-1.32+dfsg/gnu/assure.h
Examining data/tar-1.32+dfsg/gnu/at-func.c
Examining data/tar-1.32+dfsg/gnu/at-func2.c
Examining data/tar-1.32+dfsg/gnu/backup-find.c
Examining data/tar-1.32+dfsg/gnu/backup-internal.h
Examining data/tar-1.32+dfsg/gnu/backupfile.c
Examining data/tar-1.32+dfsg/gnu/backupfile.h
Examining data/tar-1.32+dfsg/gnu/basename-lgpl.c
Examining data/tar-1.32+dfsg/gnu/basename.c
Examining data/tar-1.32+dfsg/gnu/bitrotate.c
Examining data/tar-1.32+dfsg/gnu/bitrotate.h
Examining data/tar-1.32+dfsg/gnu/btowc.c
Examining data/tar-1.32+dfsg/gnu/c++defs.h
Examining data/tar-1.32+dfsg/gnu/c-ctype.c
Examining data/tar-1.32+dfsg/gnu/c-ctype.h
Examining data/tar-1.32+dfsg/gnu/c-strcase.h
Examining data/tar-1.32+dfsg/gnu/c-strcasecmp.c
Examining data/tar-1.32+dfsg/gnu/c-strcaseeq.h
Examining data/tar-1.32+dfsg/gnu/c-strncasecmp.c
Examining data/tar-1.32+dfsg/gnu/canonicalize-lgpl.c
Examining data/tar-1.32+dfsg/gnu/careadlinkat.c
Examining data/tar-1.32+dfsg/gnu/careadlinkat.h
Examining data/tar-1.32+dfsg/gnu/cdefs.h
Examining data/tar-1.32+dfsg/gnu/chdir-long.c
Examining data/tar-1.32+dfsg/gnu/chdir-long.h
Examining data/tar-1.32+dfsg/gnu/chmodat.c
Examining data/tar-1.32+dfsg/gnu/chown.c
Examining data/tar-1.32+dfsg/gnu/chownat.c
Examining data/tar-1.32+dfsg/gnu/cloexec.c
Examining data/tar-1.32+dfsg/gnu/cloexec.h
Examining data/tar-1.32+dfsg/gnu/close-stream.c
Examining data/tar-1.32+dfsg/gnu/close-stream.h
Examining data/tar-1.32+dfsg/gnu/close.c
Examining data/tar-1.32+dfsg/gnu/closedir.c
Examining data/tar-1.32+dfsg/gnu/closeout.c
Examining data/tar-1.32+dfsg/gnu/closeout.h
Examining data/tar-1.32+dfsg/gnu/creat-safer.c
Examining data/tar-1.32+dfsg/gnu/dirent--.h
Examining data/tar-1.32+dfsg/gnu/dirent-private.h
Examining data/tar-1.32+dfsg/gnu/dirent-safer.h
Examining data/tar-1.32+dfsg/gnu/dirent.in.h
Examining data/tar-1.32+dfsg/gnu/dirfd.c
Examining data/tar-1.32+dfsg/gnu/dirname-lgpl.c
Examining data/tar-1.32+dfsg/gnu/dirname.c
Examining data/tar-1.32+dfsg/gnu/dirname.h
Examining data/tar-1.32+dfsg/gnu/dosname.h
Examining data/tar-1.32+dfsg/gnu/dup-safer-flag.c
Examining data/tar-1.32+dfsg/gnu/dup-safer.c
Examining data/tar-1.32+dfsg/gnu/dup.c
Examining data/tar-1.32+dfsg/gnu/dup2.c
Examining data/tar-1.32+dfsg/gnu/errno.in.h
Examining data/tar-1.32+dfsg/gnu/error.c
Examining data/tar-1.32+dfsg/gnu/error.h
Examining data/tar-1.32+dfsg/gnu/euidaccess.c
Examining data/tar-1.32+dfsg/gnu/exclude.c
Examining data/tar-1.32+dfsg/gnu/exclude.h
Examining data/tar-1.32+dfsg/gnu/exitfail.c
Examining data/tar-1.32+dfsg/gnu/exitfail.h
Examining data/tar-1.32+dfsg/gnu/faccessat.c
Examining data/tar-1.32+dfsg/gnu/fchdir.c
Examining data/tar-1.32+dfsg/gnu/fchmodat.c
Examining data/tar-1.32+dfsg/gnu/fchown-stub.c
Examining data/tar-1.32+dfsg/gnu/fchownat.c
Examining data/tar-1.32+dfsg/gnu/fcntl--.h
Examining data/tar-1.32+dfsg/gnu/fcntl-safer.h
Examining data/tar-1.32+dfsg/gnu/fcntl.c
Examining data/tar-1.32+dfsg/gnu/fcntl.in.h
Examining data/tar-1.32+dfsg/gnu/fd-hook.c
Examining data/tar-1.32+dfsg/gnu/fd-hook.h
Examining data/tar-1.32+dfsg/gnu/fd-safer-flag.c
Examining data/tar-1.32+dfsg/gnu/fd-safer.c
Examining data/tar-1.32+dfsg/gnu/fdopendir.c
Examining data/tar-1.32+dfsg/gnu/fdutimensat.c
Examining data/tar-1.32+dfsg/gnu/file-has-acl.c
Examining data/tar-1.32+dfsg/gnu/fileblocks.c
Examining data/tar-1.32+dfsg/gnu/filename.h
Examining data/tar-1.32+dfsg/gnu/filenamecat-lgpl.c
Examining data/tar-1.32+dfsg/gnu/filenamecat.h
Examining data/tar-1.32+dfsg/gnu/flexmember.h
Examining data/tar-1.32+dfsg/gnu/float+.h
Examining data/tar-1.32+dfsg/gnu/float.c
Examining data/tar-1.32+dfsg/gnu/float.in.h
Examining data/tar-1.32+dfsg/gnu/fnmatch.c
Examining data/tar-1.32+dfsg/gnu/fnmatch.in.h
Examining data/tar-1.32+dfsg/gnu/fnmatch_loop.c
Examining data/tar-1.32+dfsg/gnu/fpending.c
Examining data/tar-1.32+dfsg/gnu/fpending.h
Examining data/tar-1.32+dfsg/gnu/fprintftime.c
Examining data/tar-1.32+dfsg/gnu/fprintftime.h
Examining data/tar-1.32+dfsg/gnu/fseek.c
Examining data/tar-1.32+dfsg/gnu/fseeko.c
Examining data/tar-1.32+dfsg/gnu/fstat.c
Examining data/tar-1.32+dfsg/gnu/fstatat.c
Examining data/tar-1.32+dfsg/gnu/full-write.c
Examining data/tar-1.32+dfsg/gnu/full-write.h
Examining data/tar-1.32+dfsg/gnu/futimens.c
Examining data/tar-1.32+dfsg/gnu/get-permissions.c
Examining data/tar-1.32+dfsg/gnu/getcwd-lgpl.c
Examining data/tar-1.32+dfsg/gnu/getcwd.c
Examining data/tar-1.32+dfsg/gnu/getdelim.c
Examining data/tar-1.32+dfsg/gnu/getdtablesize.c
Examining data/tar-1.32+dfsg/gnu/getfilecon.c
Examining data/tar-1.32+dfsg/gnu/getgroups.c
Examining data/tar-1.32+dfsg/gnu/getline.c
Examining data/tar-1.32+dfsg/gnu/getopt-cdefs.in.h
Examining data/tar-1.32+dfsg/gnu/getopt-core.h
Examining data/tar-1.32+dfsg/gnu/getopt-ext.h
Examining data/tar-1.32+dfsg/gnu/getopt-pfx-core.h
Examining data/tar-1.32+dfsg/gnu/getopt-pfx-ext.h
Examining data/tar-1.32+dfsg/gnu/getopt.c
Examining data/tar-1.32+dfsg/gnu/getopt.in.h
Examining data/tar-1.32+dfsg/gnu/getopt1.c
Examining data/tar-1.32+dfsg/gnu/getopt_int.h
Examining data/tar-1.32+dfsg/gnu/getpagesize.c
Examining data/tar-1.32+dfsg/gnu/getprogname.c
Examining data/tar-1.32+dfsg/gnu/getprogname.h
Examining data/tar-1.32+dfsg/gnu/gettext.h
Examining data/tar-1.32+dfsg/gnu/gettime.c
Examining data/tar-1.32+dfsg/gnu/gettimeofday.c
Examining data/tar-1.32+dfsg/gnu/group-member.c
Examining data/tar-1.32+dfsg/gnu/hard-locale.c
Examining data/tar-1.32+dfsg/gnu/hard-locale.h
Examining data/tar-1.32+dfsg/gnu/hash.c
Examining data/tar-1.32+dfsg/gnu/hash.h
Examining data/tar-1.32+dfsg/gnu/human.c
Examining data/tar-1.32+dfsg/gnu/human.h
Examining data/tar-1.32+dfsg/gnu/imaxtostr.c
Examining data/tar-1.32+dfsg/gnu/intprops.h
Examining data/tar-1.32+dfsg/gnu/inttostr.c
Examining data/tar-1.32+dfsg/gnu/inttostr.h
Examining data/tar-1.32+dfsg/gnu/inttypes.in.h
Examining data/tar-1.32+dfsg/gnu/iswblank.c
Examining data/tar-1.32+dfsg/gnu/itold.c
Examining data/tar-1.32+dfsg/gnu/langinfo.in.h
Examining data/tar-1.32+dfsg/gnu/lchown.c
Examining data/tar-1.32+dfsg/gnu/libc-config.h
Examining data/tar-1.32+dfsg/gnu/limits.in.h
Examining data/tar-1.32+dfsg/gnu/link.c
Examining data/tar-1.32+dfsg/gnu/linkat.c
Examining data/tar-1.32+dfsg/gnu/localcharset.c
Examining data/tar-1.32+dfsg/gnu/localcharset.h
Examining data/tar-1.32+dfsg/gnu/locale.in.h
Examining data/tar-1.32+dfsg/gnu/localeconv.c
Examining data/tar-1.32+dfsg/gnu/localtime-buffer.c
Examining data/tar-1.32+dfsg/gnu/localtime-buffer.h
Examining data/tar-1.32+dfsg/gnu/lseek.c
Examining data/tar-1.32+dfsg/gnu/lstat.c
Examining data/tar-1.32+dfsg/gnu/malloc.c
Examining data/tar-1.32+dfsg/gnu/malloca.c
Examining data/tar-1.32+dfsg/gnu/malloca.h
Examining data/tar-1.32+dfsg/gnu/mbchar.c
Examining data/tar-1.32+dfsg/gnu/mbchar.h
Examining data/tar-1.32+dfsg/gnu/mbrtowc.c
Examining data/tar-1.32+dfsg/gnu/mbscasecmp.c
Examining data/tar-1.32+dfsg/gnu/mbsinit.c
Examining data/tar-1.32+dfsg/gnu/mbsrtowcs-impl.h
Examining data/tar-1.32+dfsg/gnu/mbsrtowcs-state.c
Examining data/tar-1.32+dfsg/gnu/mbsrtowcs.c
Examining data/tar-1.32+dfsg/gnu/mbtowc-impl.h
Examining data/tar-1.32+dfsg/gnu/mbtowc.c
Examining data/tar-1.32+dfsg/gnu/mbuiter.c
Examining data/tar-1.32+dfsg/gnu/mbuiter.h
Examining data/tar-1.32+dfsg/gnu/memchr.c
Examining data/tar-1.32+dfsg/gnu/mempcpy.c
Examining data/tar-1.32+dfsg/gnu/memrchr.c
Examining data/tar-1.32+dfsg/gnu/minmax.h
Examining data/tar-1.32+dfsg/gnu/mkdir.c
Examining data/tar-1.32+dfsg/gnu/mkdirat.c
Examining data/tar-1.32+dfsg/gnu/mkdtemp.c
Examining data/tar-1.32+dfsg/gnu/mkfifo.c
Examining data/tar-1.32+dfsg/gnu/mkfifoat.c
Examining data/tar-1.32+dfsg/gnu/mknod.c
Examining data/tar-1.32+dfsg/gnu/mknodat.c
Examining data/tar-1.32+dfsg/gnu/mktime-internal.h
Examining data/tar-1.32+dfsg/gnu/mktime.c
Examining data/tar-1.32+dfsg/gnu/modechange.c
Examining data/tar-1.32+dfsg/gnu/modechange.h
Examining data/tar-1.32+dfsg/gnu/msvc-inval.c
Examining data/tar-1.32+dfsg/gnu/msvc-inval.h
Examining data/tar-1.32+dfsg/gnu/msvc-nothrow.c
Examining data/tar-1.32+dfsg/gnu/msvc-nothrow.h
Examining data/tar-1.32+dfsg/gnu/nl_langinfo.c
Examining data/tar-1.32+dfsg/gnu/nstrftime.c
Examining data/tar-1.32+dfsg/gnu/obstack.c
Examining data/tar-1.32+dfsg/gnu/obstack.h
Examining data/tar-1.32+dfsg/gnu/offtostr.c
Examining data/tar-1.32+dfsg/gnu/open-safer.c
Examining data/tar-1.32+dfsg/gnu/open.c
Examining data/tar-1.32+dfsg/gnu/openat-die.c
Examining data/tar-1.32+dfsg/gnu/openat-priv.h
Examining data/tar-1.32+dfsg/gnu/openat-proc.c
Examining data/tar-1.32+dfsg/gnu/openat-safer.c
Examining data/tar-1.32+dfsg/gnu/openat.c
Examining data/tar-1.32+dfsg/gnu/openat.h
Examining data/tar-1.32+dfsg/gnu/opendir-safer.c
Examining data/tar-1.32+dfsg/gnu/opendir.c
Examining data/tar-1.32+dfsg/gnu/opendirat.c
Examining data/tar-1.32+dfsg/gnu/opendirat.h
Examining data/tar-1.32+dfsg/gnu/parse-datetime.c
Examining data/tar-1.32+dfsg/gnu/parse-datetime.h
Examining data/tar-1.32+dfsg/gnu/pathmax.h
Examining data/tar-1.32+dfsg/gnu/pipe-safer.c
Examining data/tar-1.32+dfsg/gnu/printf-args.c
Examining data/tar-1.32+dfsg/gnu/printf-args.h
Examining data/tar-1.32+dfsg/gnu/printf-parse.c
Examining data/tar-1.32+dfsg/gnu/printf-parse.h
Examining data/tar-1.32+dfsg/gnu/priv-set.c
Examining data/tar-1.32+dfsg/gnu/priv-set.h
Examining data/tar-1.32+dfsg/gnu/progname.c
Examining data/tar-1.32+dfsg/gnu/progname.h
Examining data/tar-1.32+dfsg/gnu/quote.h
Examining data/tar-1.32+dfsg/gnu/quotearg.c
Examining data/tar-1.32+dfsg/gnu/quotearg.h
Examining data/tar-1.32+dfsg/gnu/raise.c
Examining data/tar-1.32+dfsg/gnu/rawmemchr.c
Examining data/tar-1.32+dfsg/gnu/read.c
Examining data/tar-1.32+dfsg/gnu/readdir.c
Examining data/tar-1.32+dfsg/gnu/readlink.c
Examining data/tar-1.32+dfsg/gnu/readlinkat.c
Examining data/tar-1.32+dfsg/gnu/realloc.c
Examining data/tar-1.32+dfsg/gnu/regcomp.c
Examining data/tar-1.32+dfsg/gnu/regex.c
Examining data/tar-1.32+dfsg/gnu/regex.h
Examining data/tar-1.32+dfsg/gnu/regex_internal.c
Examining data/tar-1.32+dfsg/gnu/regex_internal.h
Examining data/tar-1.32+dfsg/gnu/regexec.c
Examining data/tar-1.32+dfsg/gnu/rename.c
Examining data/tar-1.32+dfsg/gnu/renameat.c
Examining data/tar-1.32+dfsg/gnu/renameatu.c
Examining data/tar-1.32+dfsg/gnu/renameatu.h
Examining data/tar-1.32+dfsg/gnu/rewinddir.c
Examining data/tar-1.32+dfsg/gnu/rmdir.c
Examining data/tar-1.32+dfsg/gnu/root-uid.h
Examining data/tar-1.32+dfsg/gnu/rpmatch.c
Examining data/tar-1.32+dfsg/gnu/safe-read.c
Examining data/tar-1.32+dfsg/gnu/safe-read.h
Examining data/tar-1.32+dfsg/gnu/safe-write.c
Examining data/tar-1.32+dfsg/gnu/safe-write.h
Examining data/tar-1.32+dfsg/gnu/same-inode.h
Examining data/tar-1.32+dfsg/gnu/save-cwd.c
Examining data/tar-1.32+dfsg/gnu/save-cwd.h
Examining data/tar-1.32+dfsg/gnu/savedir.c
Examining data/tar-1.32+dfsg/gnu/savedir.h
Examining data/tar-1.32+dfsg/gnu/se-context.c
Examining data/tar-1.32+dfsg/gnu/se-context.in.h
Examining data/tar-1.32+dfsg/gnu/se-selinux.c
Examining data/tar-1.32+dfsg/gnu/se-selinux.in.h
Examining data/tar-1.32+dfsg/gnu/selinux-at.c
Examining data/tar-1.32+dfsg/gnu/set-permissions.c
Examining data/tar-1.32+dfsg/gnu/setenv.c
Examining data/tar-1.32+dfsg/gnu/signal.in.h
Examining data/tar-1.32+dfsg/gnu/size_max.h
Examining data/tar-1.32+dfsg/gnu/sleep.c
Examining data/tar-1.32+dfsg/gnu/snprintf.c
Examining data/tar-1.32+dfsg/gnu/stat-macros.h
Examining data/tar-1.32+dfsg/gnu/stat-time.c
Examining data/tar-1.32+dfsg/gnu/stat-time.h
Examining data/tar-1.32+dfsg/gnu/stat-w32.c
Examining data/tar-1.32+dfsg/gnu/stat-w32.h
Examining data/tar-1.32+dfsg/gnu/stat.c
Examining data/tar-1.32+dfsg/gnu/statat.c
Examining data/tar-1.32+dfsg/gnu/stdalign.in.h
Examining data/tar-1.32+dfsg/gnu/stdarg.in.h
Examining data/tar-1.32+dfsg/gnu/stdbool.in.h
Examining data/tar-1.32+dfsg/gnu/stddef.in.h
Examining data/tar-1.32+dfsg/gnu/stdint.in.h
Examining data/tar-1.32+dfsg/gnu/stdio-impl.h
Examining data/tar-1.32+dfsg/gnu/stdio.in.h
Examining data/tar-1.32+dfsg/gnu/stdlib.in.h
Examining data/tar-1.32+dfsg/gnu/stpcpy.c
Examining data/tar-1.32+dfsg/gnu/strcasecmp.c
Examining data/tar-1.32+dfsg/gnu/strchrnul.c
Examining data/tar-1.32+dfsg/gnu/strdup.c
Examining data/tar-1.32+dfsg/gnu/streq.h
Examining data/tar-1.32+dfsg/gnu/strerror-override.c
Examining data/tar-1.32+dfsg/gnu/strerror-override.h
Examining data/tar-1.32+dfsg/gnu/strerror.c
Examining data/tar-1.32+dfsg/gnu/strftime.h
Examining data/tar-1.32+dfsg/gnu/string.in.h
Examining data/tar-1.32+dfsg/gnu/strings.in.h
Examining data/tar-1.32+dfsg/gnu/stripslash.c
Examining data/tar-1.32+dfsg/gnu/strncasecmp.c
Examining data/tar-1.32+dfsg/gnu/strndup.c
Examining data/tar-1.32+dfsg/gnu/strnlen.c
Examining data/tar-1.32+dfsg/gnu/strnlen1.c
Examining data/tar-1.32+dfsg/gnu/strnlen1.h
Examining data/tar-1.32+dfsg/gnu/strtoimax.c
Examining data/tar-1.32+dfsg/gnu/strtol.c
Examining data/tar-1.32+dfsg/gnu/strtoll.c
Examining data/tar-1.32+dfsg/gnu/strtoul.c
Examining data/tar-1.32+dfsg/gnu/strtoull.c
Examining data/tar-1.32+dfsg/gnu/strtoumax.c
Examining data/tar-1.32+dfsg/gnu/symlink.c
Examining data/tar-1.32+dfsg/gnu/symlinkat.c
Examining data/tar-1.32+dfsg/gnu/sys-limits.h
Examining data/tar-1.32+dfsg/gnu/sys_stat.in.h
Examining data/tar-1.32+dfsg/gnu/sys_time.in.h
Examining data/tar-1.32+dfsg/gnu/sys_types.in.h
Examining data/tar-1.32+dfsg/gnu/sysexits.in.h
Examining data/tar-1.32+dfsg/gnu/tempname.c
Examining data/tar-1.32+dfsg/gnu/tempname.h
Examining data/tar-1.32+dfsg/gnu/time-internal.h
Examining data/tar-1.32+dfsg/gnu/time.in.h
Examining data/tar-1.32+dfsg/gnu/time_r.c
Examining data/tar-1.32+dfsg/gnu/time_rz.c
Examining data/tar-1.32+dfsg/gnu/timegm.c
Examining data/tar-1.32+dfsg/gnu/timespec-sub.c
Examining data/tar-1.32+dfsg/gnu/timespec.c
Examining data/tar-1.32+dfsg/gnu/timespec.h
Examining data/tar-1.32+dfsg/gnu/tzset.c
Examining data/tar-1.32+dfsg/gnu/uinttostr.c
Examining data/tar-1.32+dfsg/gnu/umaxtostr.c
Examining data/tar-1.32+dfsg/gnu/unistd--.h
Examining data/tar-1.32+dfsg/gnu/unistd-safer.h
Examining data/tar-1.32+dfsg/gnu/unistd.c
Examining data/tar-1.32+dfsg/gnu/unistd.in.h
Examining data/tar-1.32+dfsg/gnu/unitypes.in.h
Examining data/tar-1.32+dfsg/gnu/uniwidth.in.h
Examining data/tar-1.32+dfsg/gnu/uniwidth/cjk.h
Examining data/tar-1.32+dfsg/gnu/uniwidth/width.c
Examining data/tar-1.32+dfsg/gnu/unlink.c
Examining data/tar-1.32+dfsg/gnu/unlinkat.c
Examining data/tar-1.32+dfsg/gnu/unlinkdir.c
Examining data/tar-1.32+dfsg/gnu/unlinkdir.h
Examining data/tar-1.32+dfsg/gnu/unlocked-io.h
Examining data/tar-1.32+dfsg/gnu/unsetenv.c
Examining data/tar-1.32+dfsg/gnu/unused-parameter.h
Examining data/tar-1.32+dfsg/gnu/utime.c
Examining data/tar-1.32+dfsg/gnu/utime.in.h
Examining data/tar-1.32+dfsg/gnu/utimens.c
Examining data/tar-1.32+dfsg/gnu/utimens.h
Examining data/tar-1.32+dfsg/gnu/utimensat.c
Examining data/tar-1.32+dfsg/gnu/vasnprintf.c
Examining data/tar-1.32+dfsg/gnu/vasnprintf.h
Examining data/tar-1.32+dfsg/gnu/vasprintf.c
Examining data/tar-1.32+dfsg/gnu/verify.h
Examining data/tar-1.32+dfsg/gnu/version-etc-fsf.c
Examining data/tar-1.32+dfsg/gnu/version-etc.c
Examining data/tar-1.32+dfsg/gnu/version-etc.h
Examining data/tar-1.32+dfsg/gnu/vsnprintf.c
Examining data/tar-1.32+dfsg/gnu/warn-on-use.h
Examining data/tar-1.32+dfsg/gnu/wchar.in.h
Examining data/tar-1.32+dfsg/gnu/wcrtomb.c
Examining data/tar-1.32+dfsg/gnu/wctype-h.c
Examining data/tar-1.32+dfsg/gnu/wctype.in.h
Examining data/tar-1.32+dfsg/gnu/wcwidth.c
Examining data/tar-1.32+dfsg/gnu/write.c
Examining data/tar-1.32+dfsg/gnu/xalloc-die.c
Examining data/tar-1.32+dfsg/gnu/xalloc-oversized.h
Examining data/tar-1.32+dfsg/gnu/xalloc.h
Examining data/tar-1.32+dfsg/gnu/xasprintf.c
Examining data/tar-1.32+dfsg/gnu/xgetcwd.c
Examining data/tar-1.32+dfsg/gnu/xgetcwd.h
Examining data/tar-1.32+dfsg/gnu/xmalloc.c
Examining data/tar-1.32+dfsg/gnu/xsize.c
Examining data/tar-1.32+dfsg/gnu/xsize.h
Examining data/tar-1.32+dfsg/gnu/xstrndup.c
Examining data/tar-1.32+dfsg/gnu/xstrndup.h
Examining data/tar-1.32+dfsg/gnu/xstrtol-error.c
Examining data/tar-1.32+dfsg/gnu/xstrtol.c
Examining data/tar-1.32+dfsg/gnu/xstrtol.h
Examining data/tar-1.32+dfsg/gnu/xstrtoul.c
Examining data/tar-1.32+dfsg/gnu/xstrtoumax.c
Examining data/tar-1.32+dfsg/gnu/xvasprintf.c
Examining data/tar-1.32+dfsg/gnu/xvasprintf.h
Examining data/tar-1.32+dfsg/gnu/selinux-at.h
Examining data/tar-1.32+dfsg/lib/attr-xattr.in.h
Examining data/tar-1.32+dfsg/lib/paxerror.c
Examining data/tar-1.32+dfsg/lib/paxexit-status.c
Examining data/tar-1.32+dfsg/lib/paxlib.h
Examining data/tar-1.32+dfsg/lib/paxnames.c
Examining data/tar-1.32+dfsg/lib/rmt.h
Examining data/tar-1.32+dfsg/lib/stdopen.c
Examining data/tar-1.32+dfsg/lib/stdopen.h
Examining data/tar-1.32+dfsg/lib/system-ioctl.h
Examining data/tar-1.32+dfsg/lib/system.h
Examining data/tar-1.32+dfsg/lib/wordsplit.h
Examining data/tar-1.32+dfsg/lib/xattr-at.c
Examining data/tar-1.32+dfsg/lib/xattr-at.h
Examining data/tar-1.32+dfsg/lib/rtapelib.c
Examining data/tar-1.32+dfsg/lib/wordsplit.c
Examining data/tar-1.32+dfsg/rmt/rmt.c
Examining data/tar-1.32+dfsg/src/arith.h
Examining data/tar-1.32+dfsg/src/checkpoint.c
Examining data/tar-1.32+dfsg/src/compare.c
Examining data/tar-1.32+dfsg/src/delete.c
Examining data/tar-1.32+dfsg/src/exclist.c
Examining data/tar-1.32+dfsg/src/exit.c
Examining data/tar-1.32+dfsg/src/extract.c
Examining data/tar-1.32+dfsg/src/incremen.c
Examining data/tar-1.32+dfsg/src/list.c
Examining data/tar-1.32+dfsg/src/map.c
Examining data/tar-1.32+dfsg/src/misc.c
Examining data/tar-1.32+dfsg/src/names.c
Examining data/tar-1.32+dfsg/src/sparse.c
Examining data/tar-1.32+dfsg/src/suffix.c
Examining data/tar-1.32+dfsg/src/system.c
Examining data/tar-1.32+dfsg/src/tar.h
Examining data/tar-1.32+dfsg/src/transform.c
Examining data/tar-1.32+dfsg/src/unlink.c
Examining data/tar-1.32+dfsg/src/update.c
Examining data/tar-1.32+dfsg/src/utf8.c
Examining data/tar-1.32+dfsg/src/warning.c
Examining data/tar-1.32+dfsg/src/xattrs.c
Examining data/tar-1.32+dfsg/src/xattrs.h
Examining data/tar-1.32+dfsg/src/xheader.c
Examining data/tar-1.32+dfsg/src/buffer.c
Examining data/tar-1.32+dfsg/src/common.h
Examining data/tar-1.32+dfsg/src/tar.c
Examining data/tar-1.32+dfsg/src/create.c
Examining data/tar-1.32+dfsg/tests/argcv.c
Examining data/tar-1.32+dfsg/tests/argcv.h
Examining data/tar-1.32+dfsg/tests/checkseekhole.c
Examining data/tar-1.32+dfsg/tests/ckmtime.c
Examining data/tar-1.32+dfsg/tests/genfile.c

FINAL RESULTS:

data/tar-1.32+dfsg/gnu/areadlink-with-size.c:74: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, buffer, buf_size);
data/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/canonicalize-lgpl.c:73: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 __readlink readlink
data/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/fchmodat.c:49:20:  [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/tar-1.32+dfsg/gnu/fchownat.c:45: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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/readlinkat.c:68: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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/stdio.in.h:745:8:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
#undef gets
data/tar-1.32+dfsg/gnu/stdio.in.h:747: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/tar-1.32+dfsg/gnu/sys_stat.in.h:507:19:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
#   define lchmod chmod
data/tar-1.32+dfsg/gnu/sys_stat.in.h:511:34:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
_GL_CXXALIAS_RPL_CAST_1 (lchmod, chmod, int,
data/tar-1.32+dfsg/gnu/unistd.in.h:263: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/tar-1.32+dfsg/gnu/unistd.in.h:277: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/tar-1.32+dfsg/gnu/unistd.in.h:278: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/tar-1.32+dfsg/gnu/unistd.in.h:280: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/tar-1.32+dfsg/gnu/unistd.in.h:282: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/tar-1.32+dfsg/gnu/unistd.in.h:285: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/tar-1.32+dfsg/gnu/unistd.in.h:288: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/tar-1.32+dfsg/gnu/unistd.in.h:290: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/tar-1.32+dfsg/gnu/unistd.in.h:292: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/tar-1.32+dfsg/gnu/unistd.in.h:294: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/tar-1.32+dfsg/gnu/unistd.in.h:1321: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/tar-1.32+dfsg/gnu/unistd.in.h:1323: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/tar-1.32+dfsg/gnu/unistd.in.h:1326: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/tar-1.32+dfsg/gnu/unistd.in.h:1330: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/tar-1.32+dfsg/gnu/unistd.in.h:1334: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/tar-1.32+dfsg/gnu/unistd.in.h:1337: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/tar-1.32+dfsg/gnu/unistd.in.h:1339: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/tar-1.32+dfsg/gnu/unistd.in.h:1341: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/tar-1.32+dfsg/gnu/argp-fmtstream.h:69:33:  [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 __argp_fmtstream_printf fprintf
data/tar-1.32+dfsg/gnu/argp-fmtstream.h:70:31:  [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 argp_fmtstream_printf fprintf
data/tar-1.32+dfsg/gnu/argp-fmtstream.h:131:29:  [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_ATTRIBUTE_FORMAT ((printf, 2, 3));
data/tar-1.32+dfsg/gnu/argp-fmtstream.h:134:29:  [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_ATTRIBUTE_FORMAT ((printf, 2, 3));
data/tar-1.32+dfsg/gnu/argp-help.c:1793:11:  [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 (stream, fmt, ap);
data/tar-1.32+dfsg/gnu/argp-help.c:1860:15:  [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 (stream, fmt, ap);
data/tar-1.32+dfsg/gnu/argp-namefrob.h:96:21:  [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 vsnprintf
data/tar-1.32+dfsg/gnu/argp-parse.c:611:13:  [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 (parser->state.err_stream,
data/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/faccessat.c:48: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/tar-1.32+dfsg/gnu/faccessat.c:49: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/tar-1.32+dfsg/gnu/faccessat.c:85: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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/localcharset.c:778: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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/parse-datetime.c:210: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/tar-1.32+dfsg/gnu/parse-datetime.c:445: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/tar-1.32+dfsg/gnu/parse-datetime.c:455: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/tar-1.32+dfsg/gnu/parse-datetime.c:511: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/tar-1.32+dfsg/gnu/parse-datetime.c:521: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/tar-1.32+dfsg/gnu/parse-datetime.c:530: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/tar-1.32+dfsg/gnu/parse-datetime.c:560: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/tar-1.32+dfsg/gnu/parse-datetime.c:569: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/tar-1.32+dfsg/gnu/parse-datetime.c:580: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/tar-1.32+dfsg/gnu/parse-datetime.c:593: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/tar-1.32+dfsg/gnu/parse-datetime.c:1326: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/tar-1.32+dfsg/gnu/parse-datetime.c:3158:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  sprintf (buf, &"-%02d%02d"[-TM_YEAR_BASE <= tm_year],
data/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/stdio.in.h:304: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/tar-1.32+dfsg/gnu/stdio.in.h:308: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, (FILE *fp, const char *format, ...)
data/tar-1.32+dfsg/gnu/stdio.in.h:312: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, (FILE *fp, const char *format, ...)
data/tar-1.32+dfsg/gnu/stdio.in.h:316: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, (FILE *fp, const char *format, ...));
data/tar-1.32+dfsg/gnu/stdio.in.h:318: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, (FILE *fp, const char *format, ...));
data/tar-1.32+dfsg/gnu/stdio.in.h:320: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/tar-1.32+dfsg/gnu/stdio.in.h:324: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/tar-1.32+dfsg/gnu/stdio.in.h:327: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/tar-1.32+dfsg/gnu/stdio.in.h:431: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/tar-1.32+dfsg/gnu/stdio.in.h:432: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/tar-1.32+dfsg/gnu/stdio.in.h:434: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, (FILE *stream, const char *format, ...)
data/tar-1.32+dfsg/gnu/stdio.in.h:437: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, (FILE *stream, const char *format, ...));
data/tar-1.32+dfsg/gnu/stdio.in.h:439: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, (FILE *stream, const char *format, ...));
data/tar-1.32+dfsg/gnu/stdio.in.h:441: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/tar-1.32+dfsg/gnu/stdio.in.h:839: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/tar-1.32+dfsg/gnu/stdio.in.h:840: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/tar-1.32+dfsg/gnu/stdio.in.h:842: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/tar-1.32+dfsg/gnu/stdio.in.h:844: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/tar-1.32+dfsg/gnu/stdio.in.h:847: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/tar-1.32+dfsg/gnu/stdio.in.h:850: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/tar-1.32+dfsg/gnu/stdio.in.h:852: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/tar-1.32+dfsg/gnu/stdio.in.h:854: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/tar-1.32+dfsg/gnu/stdio.in.h:856: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/tar-1.32+dfsg/gnu/stdio.in.h:867: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/tar-1.32+dfsg/gnu/stdio.in.h:884: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/tar-1.32+dfsg/gnu/stdio.in.h:887: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/tar-1.32+dfsg/gnu/stdio.in.h:889: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/tar-1.32+dfsg/gnu/stdio.in.h:893: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 *format, ...));
data/tar-1.32+dfsg/gnu/stdio.in.h:897: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 *format, ...));
data/tar-1.32+dfsg/gnu/stdio.in.h:899: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/tar-1.32+dfsg/gnu/stdio.in.h:903: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/tar-1.32+dfsg/gnu/stdio.in.h:906: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/tar-1.32+dfsg/gnu/stdio.in.h:1028: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/tar-1.32+dfsg/gnu/stdio.in.h:1030: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/tar-1.32+dfsg/gnu/stdio.in.h:1038: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 *format, ...));
data/tar-1.32+dfsg/gnu/stdio.in.h:1041: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/tar-1.32+dfsg/gnu/stdio.in.h:1042: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/tar-1.32+dfsg/gnu/stdio.in.h:1044: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 *format, ...)
data/tar-1.32+dfsg/gnu/stdio.in.h:1047: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 *format, ...));
data/tar-1.32+dfsg/gnu/stdio.in.h:1050: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 *format, ...));
data/tar-1.32+dfsg/gnu/stdio.in.h:1052: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/tar-1.32+dfsg/gnu/stdio.in.h:1058: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/tar-1.32+dfsg/gnu/stdio.in.h:1060: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/tar-1.32+dfsg/gnu/stdio.in.h:1064: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/tar-1.32+dfsg/gnu/stdio.in.h:1068: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/tar-1.32+dfsg/gnu/stdio.in.h:1073: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/tar-1.32+dfsg/gnu/stdio.in.h:1076: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/tar-1.32+dfsg/gnu/stdio.in.h:1078: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/tar-1.32+dfsg/gnu/stdio.in.h:1080: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/tar-1.32+dfsg/gnu/stdio.in.h:1097:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#   define sprintf rpl_sprintf
data/tar-1.32+dfsg/gnu/stdio.in.h:1099:19:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
_GL_FUNCDECL_RPL (sprintf, int, (char *str, const char *format, ...)
data/tar-1.32+dfsg/gnu/stdio.in.h:1102:19:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
_GL_CXXALIAS_RPL (sprintf, int, (char *str, const char *format, ...));
data/tar-1.32+dfsg/gnu/stdio.in.h:1104:19:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
_GL_CXXALIAS_SYS (sprintf, int, (char *str, const char *format, ...));
data/tar-1.32+dfsg/gnu/stdio.in.h:1106:19:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
_GL_CXXALIASWARN (sprintf);
data/tar-1.32+dfsg/gnu/stdio.in.h:1108:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
# undef sprintf
data/tar-1.32+dfsg/gnu/stdio.in.h:1110: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/tar-1.32+dfsg/gnu/stdio.in.h:1216: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/tar-1.32+dfsg/gnu/stdio.in.h:1220: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, (FILE *fp, const char *format, va_list args)
data/tar-1.32+dfsg/gnu/stdio.in.h:1224: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, (FILE *fp, const char *format, va_list args)
data/tar-1.32+dfsg/gnu/stdio.in.h:1228: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, (FILE *fp, const char *format, va_list args));
data/tar-1.32+dfsg/gnu/stdio.in.h:1233: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/tar-1.32+dfsg/gnu/stdio.in.h:1236: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/tar-1.32+dfsg/gnu/stdio.in.h:1240: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/tar-1.32+dfsg/gnu/stdio.in.h:1243: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/tar-1.32+dfsg/gnu/stdio.in.h:1251: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/tar-1.32+dfsg/gnu/stdio.in.h:1252: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/tar-1.32+dfsg/gnu/stdio.in.h:1254: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/tar-1.32+dfsg/gnu/stdio.in.h:1258: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/tar-1.32+dfsg/gnu/stdio.in.h:1261: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/tar-1.32+dfsg/gnu/stdio.in.h:1264: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/tar-1.32+dfsg/gnu/stdio.in.h:1271: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/tar-1.32+dfsg/gnu/stdio.in.h:1275: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 *format, va_list args)
data/tar-1.32+dfsg/gnu/stdio.in.h:1279: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 *format, va_list args)
data/tar-1.32+dfsg/gnu/stdio.in.h:1283: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 *format, va_list args));
data/tar-1.32+dfsg/gnu/stdio.in.h:1288: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, (const char *format, va_list args));
data/tar-1.32+dfsg/gnu/stdio.in.h:1290: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/tar-1.32+dfsg/gnu/stdio.in.h:1294: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/tar-1.32+dfsg/gnu/stdio.in.h:1297: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/tar-1.32+dfsg/gnu/stdio.in.h:1305: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/tar-1.32+dfsg/gnu/stdio.in.h:1306: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/tar-1.32+dfsg/gnu/stdio.in.h:1308: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 *format, va_list args)
data/tar-1.32+dfsg/gnu/stdio.in.h:1311: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 *format, va_list args));
data/tar-1.32+dfsg/gnu/stdio.in.h:1313: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 *format, va_list args));
data/tar-1.32+dfsg/gnu/stdio.in.h:1315: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/tar-1.32+dfsg/gnu/stdio.in.h:1321: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/tar-1.32+dfsg/gnu/stdio.in.h:1323: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/tar-1.32+dfsg/gnu/stdio.in.h:1327: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/tar-1.32+dfsg/gnu/stdio.in.h:1331: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/tar-1.32+dfsg/gnu/stdio.in.h:1336: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/tar-1.32+dfsg/gnu/stdio.in.h:1339: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/tar-1.32+dfsg/gnu/stdio.in.h:1341: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/tar-1.32+dfsg/gnu/stdio.in.h:1343: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/tar-1.32+dfsg/gnu/stdio.in.h:1351:12:  [4] (buffer) vsprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#   define vsprintf rpl_vsprintf
data/tar-1.32+dfsg/gnu/stdio.in.h:1353:19:  [4] (buffer) vsprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
_GL_FUNCDECL_RPL (vsprintf, int,
data/tar-1.32+dfsg/gnu/stdio.in.h:1357:19:  [4] (buffer) vsprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
_GL_CXXALIAS_RPL (vsprintf, int,
data/tar-1.32+dfsg/gnu/stdio.in.h:1363: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/tar-1.32+dfsg/gnu/stdio.in.h:1366:19:  [4] (buffer) vsprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
_GL_CXXALIASWARN (vsprintf);
data/tar-1.32+dfsg/gnu/stdio.in.h:1368:9:  [4] (buffer) vsprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
# undef vsprintf
data/tar-1.32+dfsg/gnu/stdio.in.h:1370: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/tar-1.32+dfsg/gnu/strerror.c:33:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#undef sprintf
data/tar-1.32+dfsg/gnu/strerror.c:59:7:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      sprintf (buf, fmt, n);
data/tar-1.32+dfsg/gnu/unistd.in.h:252: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, "the access function is a security risk - "
data/tar-1.32+dfsg/gnu/unistd.in.h:802: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/tar-1.32+dfsg/gnu/unistd.in.h:804: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/tar-1.32+dfsg/gnu/unistd.in.h:805: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/tar-1.32+dfsg/gnu/unistd.in.h:807: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/tar-1.32+dfsg/gnu/unistd.in.h:809: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/tar-1.32+dfsg/gnu/unistd.in.h:945: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/tar-1.32+dfsg/gnu/unistd.in.h:946: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/tar-1.32+dfsg/gnu/unistd.in.h:948: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/tar-1.32+dfsg/gnu/unistd.in.h:950: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/tar-1.32+dfsg/gnu/unistd.in.h:953: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/tar-1.32+dfsg/gnu/unistd.in.h:956: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/tar-1.32+dfsg/gnu/unistd.in.h:958: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/tar-1.32+dfsg/gnu/unistd.in.h:960: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/tar-1.32+dfsg/gnu/unistd.in.h:962: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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/vasnprintf.c:205:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#undef sprintf
data/tar-1.32+dfsg/gnu/vasnprintf.c:4269:39:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                                      sprintf ((char *) p, decimal_format, exponent);
data/tar-1.32+dfsg/gnu/vasnprintf.c:4277:39:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                                      sprintf (expbuf, decimal_format, exponent);
data/tar-1.32+dfsg/gnu/vasnprintf.c:4462:47:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                                              sprintf ((char *) p, decimal_format, exponent);
data/tar-1.32+dfsg/gnu/vasnprintf.c:4470:47:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                                              sprintf (expbuf, decimal_format, exponent);
data/tar-1.32+dfsg/gnu/vasnprintf.c:4992:33:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                        count = sprintf (tmp, buf, arg);                    \
data/tar-1.32+dfsg/gnu/vasnprintf.c:4995:33:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                        count = sprintf (tmp, buf, prefixes[0], arg);       \
data/tar-1.32+dfsg/gnu/vasnprintf.c:4998:33:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                        count = sprintf (tmp, buf, prefixes[0], prefixes[1],\
data/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/vsnprintf.c:39:1:  [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.
vsnprintf (char *str, size_t size, const char *format, va_list args)
data/tar-1.32+dfsg/gnu/wchar.in.h:607: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 *, (wchar_t *dest, const wchar_t *src));
data/tar-1.32+dfsg/gnu/wchar.in.h:609: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 *, (wchar_t *dest, const wchar_t *src));
data/tar-1.32+dfsg/gnu/wchar.in.h:610: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/tar-1.32+dfsg/gnu/wchar.in.h:612: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/tar-1.32+dfsg/gnu/wchar.in.h:614: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/tar-1.32+dfsg/gnu/wchar.in.h:676:19:  [4] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
_GL_FUNCDECL_SYS (wcscat, wchar_t *, (wchar_t *dest, const wchar_t *src));
data/tar-1.32+dfsg/gnu/wchar.in.h:678:19:  [4] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
_GL_CXXALIAS_SYS (wcscat, wchar_t *, (wchar_t *dest, const wchar_t *src));
data/tar-1.32+dfsg/gnu/wchar.in.h:679:19:  [4] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
_GL_CXXALIASWARN (wcscat);
data/tar-1.32+dfsg/gnu/wchar.in.h:681:9:  [4] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
# undef wcscat
data/tar-1.32+dfsg/gnu/wchar.in.h:683: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/tar-1.32+dfsg/lib/rmt.h:57:29:  [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.
  (_remdev (dev_name) ? 0 : access (dev_name, amode))
data/tar-1.32+dfsg/lib/rtapelib.c:510:4:  [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 (remote_shell, remote_shell_basename, remote_host,
data/tar-1.32+dfsg/lib/rtapelib.c:513:4:  [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 (remote_shell, remote_shell_basename, remote_host,
data/tar-1.32+dfsg/lib/rtapelib.c:534:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf (command_buffer, "O%s\n", remote_file);
data/tar-1.32+dfsg/lib/rtapelib.c:654:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf (command_buffer, "L%s\n%d\n", p, whence);
data/tar-1.32+dfsg/lib/rtapelib.c:694:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (command_buffer, "I%d\n%s\n",
data/tar-1.32+dfsg/lib/wordsplit.c:83: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, fmt, ap);
data/tar-1.32+dfsg/lib/wordsplit.c:1142: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(v + namelen, value);
data/tar-1.32+dfsg/rmt/rmt.c:45:39:  [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.
  do { if (dbgout && (lev) <= dbglev) fprintf (dbgout, fmt, x); } while (0)
data/tar-1.32+dfsg/rmt/rmt.c:50:2:  [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 (dbgout, fmt, x1, x2);					\
data/tar-1.32+dfsg/rmt/rmt.c:62:4:  [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 (dbgout, fmt, aptr);		\
data/tar-1.32+dfsg/rmt/rmt.c:105: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 (stdout, fmt, ap);
data/tar-1.32+dfsg/src/buffer.c:521:14:  [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.
  return n + fprintf (fp, TARLONG_FORMAT " (%s, %s/s)",
data/tar-1.32+dfsg/src/buffer.c:1696: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 (label->header.name, str);
data/tar-1.32+dfsg/src/buffer.c:1721:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf (s, "%s %s %s", volume_label_option, VOL_SUFFIX, p);
data/tar-1.32+dfsg/src/common.h:883: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.
  __attribute__ ((format (printf, 2, 3)));
data/tar-1.32+dfsg/src/compare.c:66:7:  [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 (stdlis, fmt, ap);
data/tar-1.32+dfsg/src/create.c:572: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 (header->buffer + offsetof (struct posix_header, magic),
data/tar-1.32+dfsg/src/create.c:927: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 (header->buffer + offsetof (struct posix_header, magic),
data/tar-1.32+dfsg/src/create.c:1249: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 (name_buf + name_len, entry);
data/tar-1.32+dfsg/src/create.c:1263:4:  [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_buf, st->orig_file_name);
data/tar-1.32+dfsg/src/create.c:1264:4:  [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 (name_buf, tag_file_name);
data/tar-1.32+dfsg/src/create.c:1430: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 (buffer + plen, q + 1);
data/tar-1.32+dfsg/src/create.c:1559: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 (lp->name, linkname);
data/tar-1.32+dfsg/src/create.c:1730:4:  [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 (new, p);
data/tar-1.32+dfsg/src/exclist.c:54: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 (p->name, name);
data/tar-1.32+dfsg/src/extract.c:511: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 (data->file_name, file_name);
data/tar-1.32+dfsg/src/extract.c:1313: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 (p->sources->string, file_name);
data/tar-1.32+dfsg/src/extract.c:1321: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 (p->target, current_stat_info.link_name);
data/tar-1.32+dfsg/src/extract.c:1365: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 (p->string, file_name);
data/tar-1.32+dfsg/src/list.c:1234:4:  [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 (size,
data/tar-1.32+dfsg/src/list.c:1237:4:  [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 (size,
data/tar-1.32+dfsg/src/list.c:1243:4:  [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 (size, STRINGIFY_BIGINT (st->stat.st_size, uintbuf));
data/tar-1.32+dfsg/src/list.c:1307:4:  [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 (size,
data/tar-1.32+dfsg/src/misc.c:323: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 (copy, cdpath);
data/tar-1.32+dfsg/src/misc.c:325: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 (copy + copylen + need_separator, name);
data/tar-1.32+dfsg/src/misc.c:1215: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->buffer, dir);
data/tar-1.32+dfsg/src/misc.c:1235: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->buffer + buf->dir_length, name);
data/tar-1.32+dfsg/src/names.c:1074: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 (name_buffer, source);
data/tar-1.32+dfsg/src/names.c:1601: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 (namebuf, name->name);
data/tar-1.32+dfsg/src/names.c:1629:8:  [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 (namebuf + name_length, string + 1);
data/tar-1.32+dfsg/src/names.c:1708: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 (newp, new_prefix);
data/tar-1.32+dfsg/src/names.c:1709: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 (newp, child->name + old_prefix_len);
data/tar-1.32+dfsg/src/system.c:36:3:  [4] (shell) execv:
  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.
  execv ("/bin/sh", argv);
data/tar-1.32+dfsg/src/system.c:210: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 (shell, "-sh", "-i", NULL);
data/tar-1.32+dfsg/src/system.c:497: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 (ws.ws_wordv[0], ws.ws_wordv);
data/tar-1.32+dfsg/src/tar.c:888: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 (p, loc->name);
data/tar-1.32+dfsg/src/tar.c:2069:2:  [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, DEVICE_PREFIX);
data/tar-1.32+dfsg/src/xheader.c:393: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(globexthdr_name, tmp);
data/tar-1.32+dfsg/src/xheader.c:394: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(globexthdr_name, GLOBAL_HEADER_TEMPLATE);
data/tar-1.32+dfsg/tests/ckmtime.c:51: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 (name, TEMPLATE);
data/tar-1.32+dfsg/tests/genfile.c:764: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.
      if (system (p->name) != 0)
data/tar-1.32+dfsg/tests/genfile.c:874: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 (xargv[0], xargv);
data/tar-1.32+dfsg/gnu/argmatch.c:262: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/tar-1.32+dfsg/gnu/argp-help.c:162: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.
  const char *var = getenv ("ARGP_HELP_FMT");
data/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/canonicalize-lgpl.c:51:21:  [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 realpath
data/tar-1.32+dfsg/gnu/canonicalize-lgpl.c:71:30:  [3] (buffer) getwd:
  This does not protect against buffer overflows by itself, so use with
  caution (CWE-120, CWE-20). Use getcwd instead.
#  define __getcwd(buf, max) getwd (buf)
data/tar-1.32+dfsg/gnu/canonicalize-lgpl.c:394:37:  [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.
versioned_symbol (libc, __realpath, realpath, GLIBC_2_3);
data/tar-1.32+dfsg/gnu/canonicalize-lgpl.c:411:38:  [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.
compat_symbol (libc, __old_realpath, realpath, GLIBC_2_0);
data/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/localcharset.c:707: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/tar-1.32+dfsg/gnu/localcharset.c:710: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/tar-1.32+dfsg/gnu/localcharset.c:712: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/tar-1.32+dfsg/gnu/localcharset.c:803: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/tar-1.32+dfsg/gnu/localcharset.c:806: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/tar-1.32+dfsg/gnu/localcharset.c:808: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/tar-1.32+dfsg/gnu/localcharset.c:927: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/tar-1.32+dfsg/gnu/localcharset.c:930: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/tar-1.32+dfsg/gnu/localcharset.c:932: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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/parse-datetime.c:3616: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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/stdlib.in.h:577: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/tar-1.32+dfsg/gnu/stdlib.in.h:579: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_SYS (random, long, (void));
data/tar-1.32+dfsg/gnu/stdlib.in.h:580: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/tar-1.32+dfsg/gnu/stdlib.in.h:582: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/tar-1.32+dfsg/gnu/stdlib.in.h:584: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/tar-1.32+dfsg/gnu/stdlib.in.h:591: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/tar-1.32+dfsg/gnu/stdlib.in.h:593: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_SYS (srandom, void, (unsigned int seed));
data/tar-1.32+dfsg/gnu/stdlib.in.h:594: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/tar-1.32+dfsg/gnu/stdlib.in.h:596: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/tar-1.32+dfsg/gnu/stdlib.in.h:598: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/tar-1.32+dfsg/gnu/stdlib.in.h:622: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/tar-1.32+dfsg/gnu/stdlib.in.h:624: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_SYS (setstate, char *, (char *arg_state));
data/tar-1.32+dfsg/gnu/stdlib.in.h:625: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/tar-1.32+dfsg/gnu/stdlib.in.h:627: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/tar-1.32+dfsg/gnu/stdlib.in.h:629: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/tar-1.32+dfsg/gnu/stdlib.in.h:792: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/tar-1.32+dfsg/gnu/stdlib.in.h:794: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 *, (const char *name, char *resolved)
data/tar-1.32+dfsg/gnu/stdlib.in.h:796: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 *, (const char *name, char *resolved));
data/tar-1.32+dfsg/gnu/stdlib.in.h:799: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 *, (const char *name, char *resolved)
data/tar-1.32+dfsg/gnu/stdlib.in.h:802: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 *, (const char *name, char *resolved));
data/tar-1.32+dfsg/gnu/stdlib.in.h:804: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/tar-1.32+dfsg/gnu/stdlib.in.h:806: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/tar-1.32+dfsg/gnu/stdlib.in.h:808: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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/lib/system.h:409: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.
char *getenv ();
data/tar-1.32+dfsg/src/checkpoint.c:189: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.
  columns = getenv ("COLUMNS");
data/tar-1.32+dfsg/src/system.c:76: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.
  spawnl (P_WAIT, getenv ("COMSPEC"), "-", 0);
data/tar-1.32+dfsg/src/system.c:203: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 *shell = getenv ("SHELL");
data/tar-1.32+dfsg/src/tar.c:1221: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.
 char *s=getenv ("TAR_LONGLINK_100");
data/tar-1.32+dfsg/src/tar.c:1231: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.
 char *s=getenv ("TAR_BROKEN_NUMERIC_OWNER");
data/tar-1.32+dfsg/src/tar.c:1241: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.
 char *s=getenv ("PRISTINE_TAR_COMPAT");
data/tar-1.32+dfsg/src/tar.c:2231: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.
  char *opts = getenv ("TAR_OPTIONS");
data/tar-1.32+dfsg/src/tar.c:2264: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.
  args.backup_suffix_string = getenv ("SIMPLE_BACKUP_SUFFIX");
data/tar-1.32+dfsg/src/tar.c:2425: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.
      archive_name_array[0] = getenv ("TAPE");
data/tar-1.32+dfsg/src/xheader.c:388:25:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      const char *tmp = getenv ("TMPDIR");
data/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/argp-fmtstream.h:218: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 (__fs->p, __str, __len);
data/tar-1.32+dfsg/gnu/argp-help.c:114: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 name[14];          /* User name.  */
data/tar-1.32+dfsg/gnu/argp-help.c:208:25:  [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).
                  val = atoi (arg);
data/tar-1.32+dfsg/gnu/argp-help.c:1868: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[200];
data/tar-1.32+dfsg/gnu/argp-parse.c:126: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).
      _argp_hang = atoi (arg ? arg : "3600");
data/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/canonicalize-lgpl.c:184: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 (rpath, name, prefix_len);
data/tar-1.32+dfsg/gnu/canonicalize-lgpl.c:268: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 (dest, start, end - start);
data/tar-1.32+dfsg/gnu/canonicalize-lgpl.c:333: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/tar-1.32+dfsg/gnu/canonicalize-lgpl.c:340: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 (rpath, buf, pfxlen);
data/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/fcntl.c:60: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/tar-1.32+dfsg/gnu/fcntl.in.h:111: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/tar-1.32+dfsg/gnu/fcntl.in.h:112: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/tar-1.32+dfsg/gnu/fcntl.in.h:114: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/tar-1.32+dfsg/gnu/fcntl.in.h:116: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/tar-1.32+dfsg/gnu/fcntl.in.h:118: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/tar-1.32+dfsg/gnu/fcntl.in.h:123: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/tar-1.32+dfsg/gnu/fcntl.in.h:126: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/tar-1.32+dfsg/gnu/fcntl.in.h:128: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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/getcwd.c:128: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/tar-1.32+dfsg/gnu/getcwd.c:168: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/tar-1.32+dfsg/gnu/getcwd.c:345: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/tar-1.32+dfsg/gnu/getcwd.c:381: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/tar-1.32+dfsg/gnu/getcwd.c:388: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/tar-1.32+dfsg/gnu/getprogname.c:148: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/tar-1.32+dfsg/gnu/getprogname.c:218: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/tar-1.32+dfsg/gnu/getprogname.c:221: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/tar-1.32+dfsg/gnu/getprogname.c:222: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/tar-1.32+dfsg/gnu/getprogname.c:238: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/tar-1.32+dfsg/gnu/gettext.h:220: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/tar-1.32+dfsg/gnu/gettext.h: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 buf[1024];
data/tar-1.32+dfsg/gnu/gettext.h:231: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/tar-1.32+dfsg/gnu/gettext.h:233: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/tar-1.32+dfsg/gnu/gettext.h:268: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/tar-1.32+dfsg/gnu/gettext.h:270: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/tar-1.32+dfsg/gnu/gettext.h:279: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/tar-1.32+dfsg/gnu/gettext.h:281: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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/localcharset.c:85: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/tar-1.32+dfsg/gnu/localcharset.c:86: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/tar-1.32+dfsg/gnu/localcharset.c:438: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/tar-1.32+dfsg/gnu/localcharset.c:439: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/tar-1.32+dfsg/gnu/localcharset.c:705: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 buf[2 + 10 + 1];
data/tar-1.32+dfsg/gnu/localcharset.c:731: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 (buf, dot, modifier - dot);
data/tar-1.32+dfsg/gnu/localcharset.c:749: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/tar-1.32+dfsg/gnu/localcharset.c:760: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[2 + 10 + 1];
data/tar-1.32+dfsg/gnu/localcharset.c:788: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/tar-1.32+dfsg/gnu/localcharset.c:795: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[2 + 10 + 1];
data/tar-1.32+dfsg/gnu/localcharset.c:826: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, dot, modifier - dot);
data/tar-1.32+dfsg/gnu/localcharset.c:844: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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/mbrtowc.c:96: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/tar-1.32+dfsg/gnu/mbrtowc.c: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 buf[4];
data/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/nl_langinfo.c:37: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[2 + 10 + 1];
data/tar-1.32+dfsg/gnu/nl_langinfo.c:61: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/tar-1.32+dfsg/gnu/nl_langinfo.c:78: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/tar-1.32+dfsg/gnu/nl_langinfo.c:79: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.
  codeset = memcpy (buf, "CP", 2);
data/tar-1.32+dfsg/gnu/nl_langinfo.c:172: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 nlbuf[100];
data/tar-1.32+dfsg/gnu/nl_langinfo.c:234: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/tar-1.32+dfsg/gnu/nl_langinfo.c:250: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/tar-1.32+dfsg/gnu/nl_langinfo.c:272: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 *) months[item - MON_1];
data/tar-1.32+dfsg/gnu/nl_langinfo.c:293: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 - ALTMON_1];
data/tar-1.32+dfsg/gnu/nl_langinfo.c:315: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/tar-1.32+dfsg/gnu/nstrftime.c:96: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/tar-1.32+dfsg/gnu/nstrftime.c: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.
            char ufmt[5];
data/tar-1.32+dfsg/gnu/nstrftime.c:884: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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/open.c:162: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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/openat.c:225: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/tar-1.32+dfsg/gnu/openat.c:228: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/tar-1.32+dfsg/gnu/openat.c:232: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/tar-1.32+dfsg/gnu/openat.c:269: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/tar-1.32+dfsg/gnu/openat.c:296: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/tar-1.32+dfsg/gnu/openat.c:300: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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/parse-datetime.c:468: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/tar-1.32+dfsg/gnu/parse-datetime.c:469: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/tar-1.32+dfsg/gnu/parse-datetime.c:474: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/tar-1.32+dfsg/gnu/parse-datetime.c:548: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/tar-1.32+dfsg/gnu/parse-datetime.c:568: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/tar-1.32+dfsg/gnu/parse-datetime.c:1627: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/tar-1.32+dfsg/gnu/parse-datetime.c:1876: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/tar-1.32+dfsg/gnu/parse-datetime.c:3154: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/tar-1.32+dfsg/gnu/parse-datetime.c:3155: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/tar-1.32+dfsg/gnu/parse-datetime.c:3409: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/tar-1.32+dfsg/gnu/parse-datetime.c:3520: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/tar-1.32+dfsg/gnu/parse-datetime.c:3529: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/tar-1.32+dfsg/gnu/parse-datetime.c:3560: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/tar-1.32+dfsg/gnu/parse-datetime.c:3637: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/tar-1.32+dfsg/gnu/parse-datetime.c:3638: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/tar-1.32+dfsg/gnu/parse-datetime.c:3646: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/tar-1.32+dfsg/gnu/parse-datetime.c:3964: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/tar-1.32+dfsg/gnu/parse-datetime.c:3994: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/tar-1.32+dfsg/gnu/parse-datetime.c:4136: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/tar-1.32+dfsg/gnu/parse-datetime.c:4299: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/tar-1.32+dfsg/gnu/parse-datetime.c:4319: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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/printf-parse.c:599: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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/regcomp.c:3176: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/tar-1.32+dfsg/gnu/regcomp.c:3177: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/tar-1.32+dfsg/gnu/regcomp.c:3499: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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/regex_internal.c:741: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/tar-1.32+dfsg/gnu/regex_internal.c:1044: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/tar-1.32+dfsg/gnu/regex_internal.c:1138: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/tar-1.32+dfsg/gnu/regex_internal.c:1182: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/tar-1.32+dfsg/gnu/regex_internal.c:1188: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/tar-1.32+dfsg/gnu/regex_internal.c:1219: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/tar-1.32+dfsg/gnu/regex_internal.c:1240: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/tar-1.32+dfsg/gnu/regex_internal.c:1268: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/tar-1.32+dfsg/gnu/regex_internal.h:781: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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/regexec.c:1353: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/tar-1.32+dfsg/gnu/regexec.c:1365: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/tar-1.32+dfsg/gnu/regexec.c:1419: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/tar-1.32+dfsg/gnu/regexec.c:1527: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/tar-1.32+dfsg/gnu/regexec.c:1538: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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/stat.c:168: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/tar-1.32+dfsg/gnu/stdio-impl.h:51: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/tar-1.32+dfsg/gnu/stdio-impl.h:52: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/tar-1.32+dfsg/gnu/stdio-impl.h:85: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/tar-1.32+dfsg/gnu/stdio-impl.h:86: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/tar-1.32+dfsg/gnu/stdio.in.h:283: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/tar-1.32+dfsg/gnu/stdio.in.h:284: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/tar-1.32+dfsg/gnu/stdio.in.h:286: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 *, (const char *filename, const char *mode)
data/tar-1.32+dfsg/gnu/stdio.in.h:288: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 *, (const char *filename, const char *mode));
data/tar-1.32+dfsg/gnu/stdio.in.h:290: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 *, (const char *filename, const char *mode));
data/tar-1.32+dfsg/gnu/stdio.in.h:292: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/tar-1.32+dfsg/gnu/stdio.in.h:294: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/tar-1.32+dfsg/gnu/stdio.in.h:296: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/tar-1.32+dfsg/gnu/stdio.in.h:1118: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/tar-1.32+dfsg/gnu/stdio.in.h:1120: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/tar-1.32+dfsg/gnu/stdio.in.h:1121: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/tar-1.32+dfsg/gnu/stdio.in.h:1123: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/tar-1.32+dfsg/gnu/stdio.in.h:1125: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/tar-1.32+dfsg/gnu/stdio.in.h:1127:9:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
# undef tmpfile
data/tar-1.32+dfsg/gnu/stdio.in.h:1129: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/tar-1.32+dfsg/gnu/stdlib.in.h:402: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/tar-1.32+dfsg/gnu/stdlib.in.h:404: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/tar-1.32+dfsg/gnu/stdlib.in.h:405: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/tar-1.32+dfsg/gnu/stdlib.in.h:408: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/tar-1.32+dfsg/gnu/stdlib.in.h:410: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/tar-1.32+dfsg/gnu/stdlib.in.h:412: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/tar-1.32+dfsg/gnu/stdlib.in.h:414: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/tar-1.32+dfsg/gnu/stdlib.in.h:416: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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/sys_stat.in.h:788: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/tar-1.32+dfsg/gnu/sys_stat.in.h:791: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/tar-1.32+dfsg/gnu/sys_stat.in.h:795: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/tar-1.32+dfsg/gnu/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_SYS (utimensat, int, (int fd, char const *name,
data/tar-1.32+dfsg/gnu/tempname.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).
# define __open open
data/tar-1.32+dfsg/gnu/tempname.c:170: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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/utimensat.c:42: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/tar-1.32+dfsg/gnu/utimensat.c:48: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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/vasnprintf.c:2677: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/tar-1.32+dfsg/gnu/vasnprintf.c:2722: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/tar-1.32+dfsg/gnu/vasnprintf.c:2772: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/tar-1.32+dfsg/gnu/vasnprintf.c:2785: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/tar-1.32+dfsg/gnu/vasnprintf.c:2853: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/tar-1.32+dfsg/gnu/vasnprintf.c:2866: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/tar-1.32+dfsg/gnu/vasnprintf.c:2882: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/tar-1.32+dfsg/gnu/vasnprintf.c:2904: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/tar-1.32+dfsg/gnu/vasnprintf.c:3185: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/tar-1.32+dfsg/gnu/vasnprintf.c:3191: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/tar-1.32+dfsg/gnu/vasnprintf.c:3193: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/tar-1.32+dfsg/gnu/vasnprintf.c:3336: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/tar-1.32+dfsg/gnu/vasnprintf.c:3342: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/tar-1.32+dfsg/gnu/vasnprintf.c:3344: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/tar-1.32+dfsg/gnu/vasnprintf.c:3411: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/tar-1.32+dfsg/gnu/vasnprintf.c:3796: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/tar-1.32+dfsg/gnu/vasnprintf.c:3802: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/tar-1.32+dfsg/gnu/vasnprintf.c:3804: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/tar-1.32+dfsg/gnu/vasnprintf.c:3977: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/tar-1.32+dfsg/gnu/vasnprintf.c:3983: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/tar-1.32+dfsg/gnu/vasnprintf.c:3985: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/tar-1.32+dfsg/gnu/vasnprintf.c:4275: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/tar-1.32+dfsg/gnu/vasnprintf.c:4468: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/tar-1.32+dfsg/gnu/vasnprintf.c:4594: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/tar-1.32+dfsg/gnu/vasnprintf.c:4802: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/tar-1.32+dfsg/gnu/vasnprintf.c:4823: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/tar-1.32+dfsg/gnu/vasnprintf.c:5532: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/tar-1.32+dfsg/gnu/version-etc.c:201: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/tar-1.32+dfsg/gnu/vsnprintf.c:56: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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/lib/paxerror.c:93: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[10];
data/tar-1.32+dfsg/lib/paxerror.c:178: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[UINTMAX_STRSIZE_BOUND];
data/tar-1.32+dfsg/lib/paxerror.c:191: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[UINTMAX_STRSIZE_BOUND];
data/tar-1.32+dfsg/lib/paxerror.c:210:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[UINTMAX_STRSIZE_BOUND];
data/tar-1.32+dfsg/lib/paxerror.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 buf[UINTMAX_STRSIZE_BOUND];
data/tar-1.32+dfsg/lib/paxerror.c: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 buf[UINTMAX_STRSIZE_BOUND];
data/tar-1.32+dfsg/lib/paxnames.c:54: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, string, len);
data/tar-1.32+dfsg/lib/rmt.h:54:6:  [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 (dev_name, oflag, mode))
data/tar-1.32+dfsg/lib/rtapelib.c:191: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).
      errno = atoi (cursor + 1);
data/tar-1.32+dfsg/lib/rtapelib.c:217: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_buffer[COMMAND_BUFFER_SIZE];
data/tar-1.32+dfsg/lib/rtapelib.c:221:25:  [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).
      long int result = atol (status);
data/tar-1.32+dfsg/lib/rtapelib.c:232: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_buffer[COMMAND_BUFFER_SIZE];
data/tar-1.32+dfsg/lib/rtapelib.c:324: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 (buf, "%d ", oflag);
data/tar-1.32+dfsg/lib/rtapelib.c:328:20:  [2] (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 string.
    case O_RDONLY: strcat (buf, "O_RDONLY"); break;
data/tar-1.32+dfsg/lib/rtapelib.c:329:18:  [2] (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 string.
    case O_RDWR: strcat (buf, "O_RDWR"); break;
data/tar-1.32+dfsg/lib/rtapelib.c:330:20:  [2] (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 string.
    case O_WRONLY: strcat (buf, "O_WRONLY"); break;
data/tar-1.32+dfsg/lib/rtapelib.c:335:25:  [2] (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 string.
  if (oflag & O_APPEND) strcat (buf, "|O_APPEND");
data/tar-1.32+dfsg/lib/rtapelib.c:337:24:  [2] (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 string.
  if (oflag & O_CREAT) strcat (buf, "|O_CREAT");
data/tar-1.32+dfsg/lib/rtapelib.c:339:24:  [2] (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 string.
  if (oflag & O_DSYNC) strcat (buf, "|O_DSYNC");
data/tar-1.32+dfsg/lib/rtapelib.c:341:23:  [2] (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 string.
  if (oflag & O_EXCL) strcat (buf, "|O_EXCL");
data/tar-1.32+dfsg/lib/rtapelib.c:343:28:  [2] (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 string.
  if (oflag & O_LARGEFILE) strcat (buf, "|O_LARGEFILE");
data/tar-1.32+dfsg/lib/rtapelib.c:346:25:  [2] (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 string.
  if (oflag & O_NOCTTY) strcat (buf, "|O_NOCTTY");
data/tar-1.32+dfsg/lib/rtapelib.c:348:27:  [2] (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 string.
  if (oflag & O_NONBLOCK) strcat (buf, "|O_NONBLOCK");
data/tar-1.32+dfsg/lib/rtapelib.c:350:24:  [2] (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 string.
  if (oflag & O_RSYNC) strcat (buf, "|O_RSYNC");
data/tar-1.32+dfsg/lib/rtapelib.c:353:23:  [2] (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 string.
  if (oflag & O_SYNC) strcat (buf, "|O_SYNC");
data/tar-1.32+dfsg/lib/rtapelib.c:355:24:  [2] (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 string.
  if (oflag & O_TRUNC) strcat (buf, "|O_TRUNC");
data/tar-1.32+dfsg/lib/rtapelib.c:573: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_buffer[COMMAND_BUFFER_SIZE];
data/tar-1.32+dfsg/lib/rtapelib.c:578: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_buffer, "R%lu\n", (unsigned long) length);
data/tar-1.32+dfsg/lib/rtapelib.c:602: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_buffer[COMMAND_BUFFER_SIZE];
data/tar-1.32+dfsg/lib/rtapelib.c:606: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_buffer, "W%lu\n", (unsigned long) length);
data/tar-1.32+dfsg/lib/rtapelib.c:634: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_buffer[COMMAND_BUFFER_SIZE];
data/tar-1.32+dfsg/lib/rtapelib.c:635: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 operand_buffer[UINTMAX_STRSIZE_BOUND];
data/tar-1.32+dfsg/lib/rtapelib.c:678:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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_buffer[COMMAND_BUFFER_SIZE];
data/tar-1.32+dfsg/lib/rtapelib.c:679:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char operand_buffer[UINTMAX_STRSIZE_BOUND];
data/tar-1.32+dfsg/lib/stdopen.c:63:32:  [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).
                  || (new_fd = open ("/dev/full", mode) != fd))
data/tar-1.32+dfsg/lib/stdopen.c:64:26:  [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).
                new_fd = open ("/dev/null", mode);
data/tar-1.32+dfsg/lib/system.h:66: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.
# ifndef memcpy
data/tar-1.32+dfsg/lib/system.h:67: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.
#  define memcpy(d, s, n) bcopy ((char const *) (s), (char *) (d), n)
data/tar-1.32+dfsg/lib/system.h:67:27:  [2] (buffer) bcopy:
  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) bcopy ((char const *) (s), (char *) (d), n)
data/tar-1.32+dfsg/lib/wordsplit.c:372: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 retbuf[7];
data/tar-1.32+dfsg/lib/wordsplit.c:617: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 (cur, str, slen);
data/tar-1.32+dfsg/lib/wordsplit.c:668: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 (newstr, str, slen);
data/tar-1.32+dfsg/lib/wordsplit.c:858: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 (newstr, str, slen);
data/tar-1.32+dfsg/lib/wordsplit.c:922: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 (newstr, str + beg, len);
data/tar-1.32+dfsg/lib/wordsplit.c:1123: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, name, namelen);
data/tar-1.32+dfsg/lib/wordsplit.c:1140: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 (v, name, namelen);
data/tar-1.32+dfsg/lib/wordsplit.c:1435: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 (newnode->v.word, start, size);
data/tar-1.32+dfsg/lib/wordsplit.c:1769: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 (uname, str + 1, i);
data/tar-1.32+dfsg/lib/wordsplit.c:1789: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 (newstr, pw->pw_dir, dlen);
data/tar-1.32+dfsg/lib/wordsplit.c:1790: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 (newstr + dlen, str + i + 1, slen - i - 1);
data/tar-1.32+dfsg/lib/wordsplit.c:1847: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 (pattern, str, slen);
data/tar-1.32+dfsg/lib/wordsplit.c:1868: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[128];
data/tar-1.32+dfsg/lib/wordsplit.c:2294:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[4];
data/tar-1.32+dfsg/lib/wordsplit.c:2299: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 (dst, tmp, 3);
data/tar-1.32+dfsg/lib/wordsplit.c:2311: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 (dst, tmp, 3);
data/tar-1.32+dfsg/lib/wordsplit.h:59: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 *ws_escape[2]; /* [Input] (WRDSF_ESCAPE) Characters to be escaped
data/tar-1.32+dfsg/rmt/rmt.c:114: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[UINTMAX_STRSIZE_BOUND];
data/tar-1.32+dfsg/rmt/rmt.c:341: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).
      device_fd = open (device, flag, MODE_RW);
data/tar-1.32+dfsg/rmt/rmt.c:717: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).
      dbgout = fopen (arg, "w");
data/tar-1.32+dfsg/rmt/rmt.c:785: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).
      dbgout = fopen (argv[idx], "w");
data/tar-1.32+dfsg/src/buffer.c:513: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 abbr[LONGEST_HUMAN_READABLE + 1];
data/tar-1.32+dfsg/src/buffer.c:514: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 rate[LONGEST_HUMAN_READABLE + 1];
data/tar-1.32+dfsg/src/buffer.c:551: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[UINTMAX_STRSIZE_BOUND];
data/tar-1.32+dfsg/src/buffer.c:1164: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 *file = fopen (volno_file_option, "r");
data/tar-1.32+dfsg/src/buffer.c:1185: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 *file = fopen (volno_file_option, "w");
data/tar-1.32+dfsg/src/buffer.c:1321: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).
    read_file = archive == STDIN_FILENO ? fopen (TTY_NAME, "r") : stdin;
data/tar-1.32+dfsg/src/buffer.c:1560: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 totsizebuf[UINTMAX_STRSIZE_BOUND];
data/tar-1.32+dfsg/src/buffer.c:1561: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 s1buf[UINTMAX_STRSIZE_BOUND];
data/tar-1.32+dfsg/src/buffer.c:1562: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 s2buf[UINTMAX_STRSIZE_BOUND];
data/tar-1.32+dfsg/src/buffer.c:1575: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 totsizebuf[UINTMAX_STRSIZE_BOUND];
data/tar-1.32+dfsg/src/buffer.c:1576: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 s1buf[UINTMAX_STRSIZE_BOUND];
data/tar-1.32+dfsg/src/buffer.c:1577: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 s2buf[UINTMAX_STRSIZE_BOUND];
data/tar-1.32+dfsg/src/buffer.c:1613: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 (s, label, len);
data/tar-1.32+dfsg/src/buffer.c:1717: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[UINTMAX_STRSIZE_BOUND];
data/tar-1.32+dfsg/src/buffer.c:1782: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 (block->header.name, map->file_name, len);
data/tar-1.32+dfsg/src/buffer.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 (header->buffer, copy_ptr, bufsize);
data/tar-1.32+dfsg/src/buffer.c:2019: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 (header->buffer, copy_ptr, copy_size);
data/tar-1.32+dfsg/src/checkpoint.c:215: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 (*argbuf, input + 1, n);
data/tar-1.32+dfsg/src/checkpoint.c:237: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 uintbuf[UINTMAX_STRSIZE_BOUND];
data/tar-1.32+dfsg/src/checkpoint.c:389: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).
	    tty = fopen ("/dev/tty", "w");
data/tar-1.32+dfsg/src/checkpoint.c:408: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).
	    tty = fopen ("/dev/tty", "w");
data/tar-1.32+dfsg/src/common.h:672: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 *sysinttostr (uintmax_t, intmax_t, uintmax_t, char buf[SYSINT_BUFSIZE]);
data/tar-1.32+dfsg/src/common.h:672:52:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char *sysinttostr (uintmax_t, intmax_t, uintmax_t, char buf[SYSINT_BUFSIZE]);
data/tar-1.32+dfsg/src/compare.c: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 buf[1024];
data/tar-1.32+dfsg/src/compare.c:630: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.
	      char buf[UINTMAX_STRSIZE_BOUND];
data/tar-1.32+dfsg/src/create.c:43: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[1];
data/tar-1.32+dfsg/src/create.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 tagbuf[CACHEDIR_SIGNATURE_SIZE];
data/tar-1.32+dfsg/src/create.c:224: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 valbuf[UINTMAX_STRSIZE_BOUND + 1];
data/tar-1.32+dfsg/src/create.c:225: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 maxbuf[UINTMAX_STRSIZE_BOUND];
data/tar-1.32+dfsg/src/create.c:226: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 minbuf[UINTMAX_STRSIZE_BOUND + 1];
data/tar-1.32+dfsg/src/create.c:262: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 subbuf[UINTMAX_STRSIZE_BOUND + 1];
data/tar-1.32+dfsg/src/create.c:525: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 (header->header.magic, TMAGIC, TMAGLEN);
data/tar-1.32+dfsg/src/create.c:526: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 (header->header.version, TVERSION, TVERSLEN);
data/tar-1.32+dfsg/src/create.c:583: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 (header->buffer, p, bufsize);
data/tar-1.32+dfsg/src/create.c:590: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 (header->buffer, p, size);
data/tar-1.32+dfsg/src/create.c:636: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 (header->header.prefix, name, i);
data/tar-1.32+dfsg/src/create.c:637: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 (header->header.name, name + i + 1, length - i - 1);
data/tar-1.32+dfsg/src/create.c:716: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 (hp.buffer, old_header, sizeof (hp));
data/tar-1.32+dfsg/src/create.c:732: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 (header, &hp.buffer, sizeof (hp.buffer));
data/tar-1.32+dfsg/src/create.c:933: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 (header->header.magic, TMAGIC, TMAGLEN);
data/tar-1.32+dfsg/src/create.c:934: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 (header->header.version, TVERSION, TVERSLEN);
data/tar-1.32+dfsg/src/create.c:1004: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 (header->header.chksum, CHKBLANKS, sizeof header->header.chksum);
data/tar-1.32+dfsg/src/create.c:1115:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[UINTMAX_STRSIZE_BOUND];
data/tar-1.32+dfsg/src/create.c:1198: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 (blk->buffer, p_buffer, bufsize);
data/tar-1.32+dfsg/src/create.c:1394:6:  [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, p->name, plen);
data/tar-1.32+dfsg/src/delete.c:142: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_record[new_blocks].buffer, data + blocks * BLOCKSIZE, rest);
data/tar-1.32+dfsg/src/delete.c:242: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 (new_record, record_start, new_blocks * BLOCKSIZE);
data/tar-1.32+dfsg/src/delete.c:352: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 (new_record + new_blocks, current_block, count * BLOCKSIZE);
data/tar-1.32+dfsg/src/exclist.c:43: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[1];
data/tar-1.32+dfsg/src/exclist.c:289: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, pattern, len);
data/tar-1.32+dfsg/src/extract.c:162: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 target[1];
data/tar-1.32+dfsg/src/extract.c:170: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 string[1];
data/tar-1.32+dfsg/src/extract.c:309:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[TIMESPEC_STRSIZE_BOUND];
data/tar-1.32+dfsg/src/incremen.c:97: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 (dump->contents, contents, ctsize);
data/tar-1.32+dfsg/src/incremen.c:264: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 (directory->name, name, namelen);
data/tar-1.32+dfsg/src/incremen.c:712: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_dump + 1, directory->tagfile, len);
data/tar-1.32+dfsg/src/incremen.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[INT_BUFSIZE_BOUND (intmax_t)];
data/tar-1.32+dfsg/src/incremen.c:1125: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 offbuf[INT_BUFSIZE_BOUND (off_t)];
data/tar-1.32+dfsg/src/incremen.c:1126: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 minbuf[INT_BUFSIZE_BOUND (intmax_t)];
data/tar-1.32+dfsg/src/incremen.c:1127: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 maxbuf[INT_BUFSIZE_BOUND (intmax_t)];
data/tar-1.32+dfsg/src/incremen.c:1220: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 offbuf[INT_BUFSIZE_BOUND (off_t)];
data/tar-1.32+dfsg/src/incremen.c:1304: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 minbuf[SYSINT_BUFSIZE];
data/tar-1.32+dfsg/src/incremen.c:1305: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 maxbuf[SYSINT_BUFSIZE];
data/tar-1.32+dfsg/src/incremen.c:1340: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 (listed_incremental_option, flags, MODE_RW);
data/tar-1.32+dfsg/src/incremen.c:1414: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[SYSINT_BUFSIZE];
data/tar-1.32+dfsg/src/incremen.c:1453: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[UINTMAX_STRSIZE_BOUND];
data/tar-1.32+dfsg/src/incremen.c:1512: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 (to, data_block->buffer, copied);
data/tar-1.32+dfsg/src/incremen.c:1655: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 (temp_stub, arc + 1, len);
data/tar-1.32+dfsg/src/incremen.c:1657: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 (temp_stub + len + 1, TEMP_DIR_TEMPLATE,
data/tar-1.32+dfsg/src/list.c:54: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 base_64_digits[64] =
data/tar-1.32+dfsg/src/list.c:65: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 base64_map[UCHAR_MAX + 1];
data/tar-1.32+dfsg/src/list.c:235: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.
	      char buf[UINTMAX_STRSIZE_BOUND];
data/tar-1.32+dfsg/src/list.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.
	      char buf[UINTMAX_STRSIZE_BOUND];
data/tar-1.32+dfsg/src/list.c:261: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.
	      char buf[UINTMAX_STRSIZE_BOUND];
data/tar-1.32+dfsg/src/list.c:280: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[UINTMAX_STRSIZE_BOUND];
data/tar-1.32+dfsg/src/list.c:494: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 (bp, data_block->buffer, written);
data/tar-1.32+dfsg/src/list.c:512: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 (recent_global_header, header,
data/tar-1.32+dfsg/src/list.c:530:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[sizeof h->prefix + 1 + NAME_FIELD_SIZE + 1];
data/tar-1.32+dfsg/src/list.c:548: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 (np, h->prefix, sizeof h->prefix);
data/tar-1.32+dfsg/src/list.c:553: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 (np, h->name, sizeof h->name);
data/tar-1.32+dfsg/src/list.c:573: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 (namebuf, h->linkname, sizeof h->linkname);
data/tar-1.32+dfsg/src/list.c:849: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 (string, where0, digs);
data/tar-1.32+dfsg/src/list.c:898:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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]; /* Big enough to represent any header.  */
data/tar-1.32+dfsg/src/list.c:925: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 minval_buf[UINTMAX_STRSIZE_BOUND + 1];
data/tar-1.32+dfsg/src/list.c:926: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 maxval_buf[UINTMAX_STRSIZE_BOUND];
data/tar-1.32+dfsg/src/list.c:927: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 value_buf[UINTMAX_STRSIZE_BOUND + 1];
data/tar-1.32+dfsg/src/list.c:1033: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[max (UINTMAX_STRSIZE_BOUND + 1,
data/tar-1.32+dfsg/src/list.c:1106: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 modes[12];
data/tar-1.32+dfsg/src/list.c:1112: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 uform[max (INT_BUFSIZE_BOUND (intmax_t), UINTMAX_STRSIZE_BOUND)];
data/tar-1.32+dfsg/src/list.c:1113: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 gform[sizeof uform];
data/tar-1.32+dfsg/src/list.c:1115: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 size[2 * UINTMAX_STRSIZE_BOUND];
data/tar-1.32+dfsg/src/list.c:1117: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 uintbuf[UINTMAX_STRSIZE_BOUND];
data/tar-1.32+dfsg/src/list.c:1128: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[UINTMAX_STRSIZE_BOUND];
data/tar-1.32+dfsg/src/list.c:1274:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    char type_string[2];
data/tar-1.32+dfsg/src/list.c:1330: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 (vblk.header.mtime, recent_global_header->header.mtime,
data/tar-1.32+dfsg/src/list.c:1357: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 modes[11];
data/tar-1.32+dfsg/src/list.c:1368:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[UINTMAX_STRSIZE_BOUND];
data/tar-1.32+dfsg/src/map.c:86: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 (file, "r");
data/tar-1.32+dfsg/src/misc.c:60: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, value, l);
data/tar-1.32+dfsg/src/misc.c:102: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 (buffer, string, length);
data/tar-1.32+dfsg/src/misc.c:349: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, repl, rlen);
data/tar-1.32+dfsg/src/misc.c:365: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/tar-1.32+dfsg/src/misc.c:367: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[SYSINT_BUFSIZE])
data/tar-1.32+dfsg/src/misc.c:458: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 const *
data/tar-1.32+dfsg/src/misc.c:459: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.
code_timespec (struct timespec t, char sbuf[TIMESPEC_STRSIZE_BOUND])
data/tar-1.32+dfsg/src/names.c:1008: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).
	  if ((ent->v.file.fp = fopen (ent->v.file.name, "r")) == NULL)
data/tar-1.32+dfsg/src/names.c:1939: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, directory_name, dirlen);
data/tar-1.32+dfsg/src/names.c:1941: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 + dirlen + slash, name, namelen);
data/tar-1.32+dfsg/src/sparse.c:66: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 const zero_buf[BLOCKSIZE];
data/tar-1.32+dfsg/src/sparse.c:217: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[BLOCKSIZE];
data/tar-1.32+dfsg/src/sparse.c:432:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[UINTMAX_STRSIZE_BOUND];
data/tar-1.32+dfsg/src/sparse.c:615: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 diff_buffer[BLOCKSIZE];
data/tar-1.32+dfsg/src/sparse.c:633:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	  char begbuf[INT_BUFSIZE_BOUND (off_t)];
data/tar-1.32+dfsg/src/sparse.c:660: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 diff_buffer[BLOCKSIZE];
data/tar-1.32+dfsg/src/sparse.c:1081: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 nbuf[UINTMAX_STRSIZE_BOUND];
data/tar-1.32+dfsg/src/sparse.c:1141: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 nbuf[UINTMAX_STRSIZE_BOUND];
data/tar-1.32+dfsg/src/sparse.c:1248: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 nbuf[UINTMAX_STRSIZE_BOUND];
data/tar-1.32+dfsg/src/suffix.c:115: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, name, len);
data/tar-1.32+dfsg/src/system.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 *argv[4];
data/tar-1.32+dfsg/src/system.c:546: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).
      archive = open (archive_name_array[0], O_RDONLY | O_BINARY, MODE_RW);
data/tar-1.32+dfsg/src/system.c:629: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[UINTMAX_STRSIZE_BOUND];
data/tar-1.32+dfsg/src/system.c:640: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[TIMESPEC_STRSIZE_BOUND];
data/tar-1.32+dfsg/src/system.c:648: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[1+1+(sizeof(unsigned long)*CHAR_BIT+2)/3];
data/tar-1.32+dfsg/src/system.c:670: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/tar-1.32+dfsg/src/system.c:791: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 uintbuf[UINTMAX_STRSIZE_BOUND];
data/tar-1.32+dfsg/src/system.c:865: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 uintbuf[UINTMAX_STRSIZE_BOUND];
data/tar-1.32+dfsg/src/tar.c:107: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).
	  confirm_file = fopen (TTY_NAME, "r");
data/tar-1.32+dfsg/src/tar.c:1182: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 (tmp, p + 1, len-2);
data/tar-1.32+dfsg/src/tar.c:1186: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[TIMESPEC_STRSIZE_BOUND];
data/tar-1.32+dfsg/src/tar.c:2063: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.
	static char buf[sizeof DEVICE_PREFIX + 10];
data/tar-1.32+dfsg/src/tar.c:2074:2:  [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 (cursor, "%d%c", device, arg[0]);
data/tar-1.32+dfsg/src/tar.c:2095:2:  [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 (cursor, "%d", device);
data/tar-1.32+dfsg/src/tar.c:2305: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[3];		/* constructed option buffer */
data/tar-1.32+dfsg/src/tar.c:2676: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).
      stdlis = fopen (index_file_name, "w");
data/tar-1.32+dfsg/src/tar.h:26: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[100];		/*   0 */
data/tar-1.32+dfsg/src/tar.h:27: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 mode[8];			/* 100 */
data/tar-1.32+dfsg/src/tar.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 uid[8];			/* 108 */
data/tar-1.32+dfsg/src/tar.h: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 gid[8];			/* 116 */
data/tar-1.32+dfsg/src/tar.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 size[12];		/* 124 */
data/tar-1.32+dfsg/src/tar.h: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 mtime[12];		/* 136 */
data/tar-1.32+dfsg/src/tar.h: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 chksum[8];		/* 148 */
data/tar-1.32+dfsg/src/tar.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 linkname[100];		/* 157 */
data/tar-1.32+dfsg/src/tar.h: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 magic[6];		/* 257 */
data/tar-1.32+dfsg/src/tar.h: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 version[2];		/* 263 */
data/tar-1.32+dfsg/src/tar.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 uname[32];		/* 265 */
data/tar-1.32+dfsg/src/tar.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 gname[32];		/* 297 */
data/tar-1.32+dfsg/src/tar.h:39: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 devmajor[8];		/* 329 */
data/tar-1.32+dfsg/src/tar.h:40: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 devminor[8];		/* 337 */
data/tar-1.32+dfsg/src/tar.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 prefix[155];		/* 345 */
data/tar-1.32+dfsg/src/tar.h:100: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 offset[12];		/*   0 */
data/tar-1.32+dfsg/src/tar.h: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 numbytes[12];		/*  12 */
data/tar-1.32+dfsg/src/tar.h: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 unused_pad1[345];	/*   0 */
data/tar-1.32+dfsg/src/tar.h: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 atime[12];		/* 345 Incr. archive: atime of the file */
data/tar-1.32+dfsg/src/tar.h:143: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 ctime[12];		/* 357 Incr. archive: ctime of the file */
data/tar-1.32+dfsg/src/tar.h:144: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 offset[12];		/* 369 Multivolume archive: the offset of
data/tar-1.32+dfsg/src/tar.h: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 longnames[4];		/* 381 Not used */
data/tar-1.32+dfsg/src/tar.h:152: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 realsize[12];		/* 483 Sparse file: Real size*/
data/tar-1.32+dfsg/src/tar.h:197: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[100];		/*   0 */
data/tar-1.32+dfsg/src/tar.h:198: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 mode[8];			/* 100 */
data/tar-1.32+dfsg/src/tar.h:199: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 uid[8];			/* 108 */
data/tar-1.32+dfsg/src/tar.h: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 gid[8];			/* 116 */
data/tar-1.32+dfsg/src/tar.h:201: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 size[12];		/* 124 */
data/tar-1.32+dfsg/src/tar.h:202: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 mtime[12];		/* 136 */
data/tar-1.32+dfsg/src/tar.h:203: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 chksum[8];		/* 148 */
data/tar-1.32+dfsg/src/tar.h:205: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 linkname[100];		/* 157 */
data/tar-1.32+dfsg/src/tar.h:206: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 magic[6];		/* 257 */
data/tar-1.32+dfsg/src/tar.h:207: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 version[2];		/* 263 */
data/tar-1.32+dfsg/src/tar.h:208: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 uname[32];		/* 265 */
data/tar-1.32+dfsg/src/tar.h: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 gname[32];		/* 297 */
data/tar-1.32+dfsg/src/tar.h:210:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char devmajor[8];		/* 329 */
data/tar-1.32+dfsg/src/tar.h:211: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 devminor[8];		/* 337 */
data/tar-1.32+dfsg/src/tar.h:212: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 prefix[131];		/* 345 */
data/tar-1.32+dfsg/src/tar.h:213: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 atime[12];               /* 476 */
data/tar-1.32+dfsg/src/tar.h:214: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 ctime[12];               /* 488 */
data/tar-1.32+dfsg/src/tar.h:223: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 fill[345];       /*   0  Everything that is before t_prefix */
data/tar-1.32+dfsg/src/tar.h:224: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 prefix[1];       /* 345  t_name prefix */
data/tar-1.32+dfsg/src/tar.h:226: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 fill3[8];        /* 347  */
data/tar-1.32+dfsg/src/tar.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 realsize[12];    /* 452  Actual size of the file */
data/tar-1.32+dfsg/src/tar.h:230: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 offset[12];      /* 464  Offset of multivolume contents */
data/tar-1.32+dfsg/src/tar.h:231: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 atime[12];       /* 476  */
data/tar-1.32+dfsg/src/tar.h:232: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 ctime[12];       /* 488  */
data/tar-1.32+dfsg/src/tar.h:233: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 mfill[8];        /* 500  */
data/tar-1.32+dfsg/src/tar.h:234: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 xmagic[4];       /* 508  "tar" */
data/tar-1.32+dfsg/src/tar.h:375: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[BLOCKSIZE];
data/tar-1.32+dfsg/src/transform.c:111:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (segm->v.literal.ptr, str, len);
data/tar-1.32+dfsg/src/transform.c:263: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 (str, expr + 2, i - 2);
data/tar-1.32+dfsg/src/transform.c:270: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[512];
data/tar-1.32+dfsg/src/transform.c:283: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 (str, expr + i, j - i);
data/tar-1.32+dfsg/src/transform.c:385: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[2];
data/tar-1.32+dfsg/src/transform.c:431: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 (case_ctl_buffer, ptr, size);
data/tar-1.32+dfsg/src/update.c:70:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[UINTMAX_STRSIZE_BOUND];
data/tar-1.32+dfsg/src/xheader.c:266: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 pidbuf[UINTMAX_STRSIZE_BOUND];
data/tar-1.32+dfsg/src/xheader.c:268: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 nbuf[UINTMAX_STRSIZE_BOUND];
data/tar-1.32+dfsg/src/xheader.c:435: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 (header->buffer, p, len);
data/tar-1.32+dfsg/src/xheader.c:867: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 (&xhdr->buffer[j], p->buffer, len);
data/tar-1.32+dfsg/src/xheader.c:913:11:  [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 (encode_buffer + bp, "%25");
data/tar-1.32+dfsg/src/xheader.c:918:11:  [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 (encode_buffer + bp, "%3D");
data/tar-1.32+dfsg/src/xheader.c:936: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 nbuf[UINTMAX_STRSIZE_BOUND];
data/tar-1.32+dfsg/src/xheader.c:1018: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 nbuf[UINTMAX_STRSIZE_BOUND];
data/tar-1.32+dfsg/src/xheader.c:1064: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 minval_buf[INT_BUFSIZE_BOUND (intmax_t)];
data/tar-1.32+dfsg/src/xheader.c:1065: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 maxval_buf[UINTMAX_STRSIZE_BOUND];
data/tar-1.32+dfsg/src/xheader.c:1106: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[TIMESPEC_STRSIZE_BOUND];
data/tar-1.32+dfsg/src/xheader.c:1135: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 sbuf[SYSINT_BUFSIZE];
data/tar-1.32+dfsg/src/xheader.c:1579: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 (st->dumpdir, arg, size);
data/tar-1.32+dfsg/src/xheader.c:1707: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 (xkey, keyword, klen_raw + 1) /* including null-terminating */;
data/tar-1.32+dfsg/src/xheader.c:1711: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 (xstr, arg, size + 1); /* separator included, for GNU tar '\n' */;
data/tar-1.32+dfsg/tests/argcv.c:134: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[4]; /* At most three characters + zero */
data/tar-1.32+dfsg/tests/argcv.c:137: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, src, cnt);
data/tar-1.32+dfsg/tests/argcv.c:266: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.
	      char tmp[4];
data/tar-1.32+dfsg/tests/argcv.c:268: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 (dst, tmp, 3);
data/tar-1.32+dfsg/tests/checkseekhole.c:81: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).
  int fd = mkstemp (template);
data/tar-1.32+dfsg/tests/ckmtime.c:44: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[sizeof(TEMPLATE)];
data/tar-1.32+dfsg/tests/ckmtime.c:53: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).
  fd = mkstemp (name);
data/tar-1.32+dfsg/tests/genfile.c:431: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, seek_offset ? "rb+" : "wb");
data/tar-1.32+dfsg/tests/genfile.c:469:41:  [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 = strcmp (files_from, "-") ? fopen (files_from, "rb") : stdin;
data/tar-1.32+dfsg/tests/genfile.c:572: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_name, flags, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
data/tar-1.32+dfsg/tests/genfile.c:584:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/tar-1.32+dfsg/tests/genfile.c:619: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[20]; /* ccyy-mm-dd HH:MM:SS\0 */
data/tar-1.32+dfsg/tests/genfile.c:629: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[UINTMAX_STRSIZE_BOUND];
data/tar-1.32+dfsg/tests/genfile.c:734: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 *fp = fopen (p->name, "ab");
data/tar-1.32+dfsg/tests/genfile.c:748: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).
	int fd = open (p->name, O_RDWR | O_BINARY);
data/tar-1.32+dfsg/tests/genfile.c:826: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/tar-1.32+dfsg/tests/genfile.c:830: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 checkpoint_option[80];
data/tar-1.32+dfsg/gnu/argmatch.c:92: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/tar-1.32+dfsg/gnu/argmatch.c:99: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/tar-1.32+dfsg/gnu/argp-fmtstream.h:229: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 (__str);
data/tar-1.32+dfsg/gnu/argp-help.c:217: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).
                if (strlen (un->name) == var_len
data/tar-1.32+dfsg/gnu/argp-help.c:866: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).
          unsigned hol_so_len = strlen (hol->short_options);
data/tar-1.32+dfsg/gnu/argp-help.c:868: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).
            malloc (hol_so_len + strlen (more->short_options) + 1);
data/tar-1.32+dfsg/gnu/argp-help.c:1284: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).
          space (stream, 6 + strlen (arg));
data/tar-1.32+dfsg/gnu/argp-help.c:1331: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).
      char *short_no_arg_opts = alloca (strlen (hol->short_options) + 1);
data/tar-1.32+dfsg/gnu/argp-namefrob.h:126:27:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
# define getc_unlocked(x) getc (x)
data/tar-1.32+dfsg/gnu/argp-namefrob.h:129:30:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#  define getchar_unlocked() getchar ()
data/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/canonicalize-lgpl.c:322: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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/faccessat.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).
  if (result == 0 && file[strlen (file) - 1] == '/')
data/tar-1.32+dfsg/gnu/fchownat.c:100: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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/fstatat.c:79: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/tar-1.32+dfsg/gnu/getcwd-lgpl.c:119: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).
      result = realloc (buf, strlen (buf) + 1);
data/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/getprogname.c:117: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/tar-1.32+dfsg/gnu/getprogname.c:131: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/tar-1.32+dfsg/gnu/getprogname.c:153: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/tar-1.32+dfsg/gnu/getprogname.c:167:23:  [1] (buffer) strlen:
  Does not handle 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/tar-1.32+dfsg/gnu/gettext.h:216: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/tar-1.32+dfsg/gnu/gettext.h:217: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/tar-1.32+dfsg/gnu/gettext.h:264: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/tar-1.32+dfsg/gnu/gettext.h:265: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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/localcharset.c:777: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/tar-1.32+dfsg/gnu/lstat.c:80: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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/nl_langinfo.c:74: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/tar-1.32+dfsg/gnu/nstrftime.c:97: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/tar-1.32+dfsg/gnu/nstrftime.c:629: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/tar-1.32+dfsg/gnu/nstrftime.c:641: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/tar-1.32+dfsg/gnu/nstrftime.c:920: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/tar-1.32+dfsg/gnu/nstrftime.c:1393: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/tar-1.32+dfsg/gnu/open.c:118: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/tar-1.32+dfsg/gnu/open.c:187: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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/openat.c:107: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/tar-1.32+dfsg/gnu/openat.c:152: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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/parse-datetime.c:1512: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/tar-1.32+dfsg/gnu/parse-datetime.c:3263: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/tar-1.32+dfsg/gnu/parse-datetime.c:3640: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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/readlinkat.c:34: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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/regcomp.c:2721: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/tar-1.32+dfsg/gnu/regcomp.c:2723: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/tar-1.32+dfsg/gnu/regcomp.c:2831: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/tar-1.32+dfsg/gnu/regcomp.c:2912: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/tar-1.32+dfsg/gnu/regcomp.c:3047: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/tar-1.32+dfsg/gnu/regcomp.c:3557: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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/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/tar-1.32+dfsg/gnu/stat.c:122: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/tar-1.32+dfsg/gnu/stat.c:417: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 (name);
data/tar-1.32+dfsg/gnu/stdio.in.h:254:11:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#   undef fgetc
data/tar-1.32+dfsg/gnu/stdio.in.h:255:12:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#   define fgetc rpl_fgetc
data/tar-1.32+dfsg/gnu/stdio.in.h:257:19:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_FUNCDECL_RPL (fgetc, int, (FILE *stream) _GL_ARG_NONNULL ((1)));
data/tar-1.32+dfsg/gnu/stdio.in.h:258:19:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIAS_RPL (fgetc, int, (FILE *stream));
data/tar-1.32+dfsg/gnu/stdio.in.h:260:19:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIAS_SYS (fgetc, int, (FILE *stream));
data/tar-1.32+dfsg/gnu/stdio.in.h:262:19:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIASWARN (fgetc);
data/tar-1.32+dfsg/gnu/stdio.in.h:641:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#   undef getc
data/tar-1.32+dfsg/gnu/stdio.in.h:642:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#   define getc rpl_fgetc
data/tar-1.32+dfsg/gnu/stdio.in.h:644:19:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_FUNCDECL_RPL (fgetc, int, (FILE *stream) _GL_ARG_NONNULL ((1)));
data/tar-1.32+dfsg/gnu/stdio.in.h:645:21:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIAS_RPL_1 (getc, rpl_fgetc, int, (FILE *stream));
data/tar-1.32+dfsg/gnu/stdio.in.h:647:19:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIAS_SYS (getc, int, (FILE *stream));
data/tar-1.32+dfsg/gnu/stdio.in.h:649:19:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIASWARN (getc);
data/tar-1.32+dfsg/gnu/stdio.in.h:655:11:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#   undef getchar
data/tar-1.32+dfsg/gnu/stdio.in.h:656:12:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#   define getchar rpl_getchar
data/tar-1.32+dfsg/gnu/stdio.in.h:658:19:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_FUNCDECL_RPL (getchar, int, (void));
data/tar-1.32+dfsg/gnu/stdio.in.h:659:19:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIAS_RPL (getchar, int, (void));
data/tar-1.32+dfsg/gnu/stdio.in.h:661:19:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIAS_SYS (getchar, int, (void));
data/tar-1.32+dfsg/gnu/stdio.in.h:663:19:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIASWARN (getchar);
data/tar-1.32+dfsg/gnu/strdup.c:41: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 (s) + 1;
data/tar-1.32+dfsg/gnu/strerror.c:65: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 (msg);
data/tar-1.32+dfsg/gnu/string.in.h:411:11:  [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.
#   undef strncat
data/tar-1.32+dfsg/gnu/string.in.h:412:12:  [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 strncat rpl_strncat
data/tar-1.32+dfsg/gnu/string.in.h:414: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.
_GL_FUNCDECL_RPL (strncat, char *, (char *dest, const char *src, size_t n)
data/tar-1.32+dfsg/gnu/string.in.h:416: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.
_GL_CXXALIAS_RPL (strncat, char *, (char *dest, const char *src, size_t n));
data/tar-1.32+dfsg/gnu/string.in.h:418: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.
_GL_CXXALIAS_SYS (strncat, char *, (char *dest, const char *src, size_t n));
data/tar-1.32+dfsg/gnu/string.in.h:420: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.
_GL_CXXALIASWARN (strncat);
data/tar-1.32+dfsg/gnu/string.in.h:422:9:  [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.
# undef strncat
data/tar-1.32+dfsg/gnu/string.in.h:424: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.
_GL_WARN_ON_USE (strncat, "strncat is unportable - "
data/tar-1.32+dfsg/gnu/symlink.c:35: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/tar-1.32+dfsg/gnu/symlinkat.c:34: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/tar-1.32+dfsg/gnu/tempname.c:131: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/tar-1.32+dfsg/gnu/tempname.c:159: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/tar-1.32+dfsg/gnu/tempname.c:207: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 (tmpl);
data/tar-1.32+dfsg/gnu/time_rz.c:97: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 name_size = name ? strlen (name) + 1 : 0;
data/tar-1.32+dfsg/gnu/time_rz.c:153: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 zone_size = strlen (zone) + 1;
data/tar-1.32+dfsg/gnu/time_rz.c:173: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).
          zone_copy += strlen (zone_copy) + 1;
data/tar-1.32+dfsg/gnu/unistd.in.h:1297:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#   undef read
data/tar-1.32+dfsg/gnu/unistd.in.h:1298:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#   define read rpl_read
data/tar-1.32+dfsg/gnu/unistd.in.h:1300:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_FUNCDECL_RPL (read, ssize_t, (int fd, void *buf, size_t count)
data/tar-1.32+dfsg/gnu/unistd.in.h:1302:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIAS_RPL (read, ssize_t, (int fd, void *buf, size_t count));
data/tar-1.32+dfsg/gnu/unistd.in.h:1307:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIAS_SYS_CAST (read, ssize_t, (int fd, void *buf, size_t count));
data/tar-1.32+dfsg/gnu/unistd.in.h:1309:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIASWARN (read);
data/tar-1.32+dfsg/gnu/unistd.in.h:1622: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.
#   undef usleep
data/tar-1.32+dfsg/gnu/unistd.in.h:1623:12:  [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 rpl_usleep
data/tar-1.32+dfsg/gnu/unistd.in.h:1625:19:  [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.
_GL_FUNCDECL_RPL (usleep, int, (useconds_t n));
data/tar-1.32+dfsg/gnu/unistd.in.h:1626:19:  [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.
_GL_CXXALIAS_RPL (usleep, int, (useconds_t n));
data/tar-1.32+dfsg/gnu/unistd.in.h:1629:19:  [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.
_GL_FUNCDECL_SYS (usleep, int, (useconds_t n));
data/tar-1.32+dfsg/gnu/unistd.in.h:1631:19:  [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.
_GL_CXXALIAS_SYS (usleep, int, (useconds_t n));
data/tar-1.32+dfsg/gnu/unistd.in.h:1633:19:  [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.
_GL_CXXALIASWARN (usleep);
data/tar-1.32+dfsg/gnu/unistd.in.h:1635:9:  [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/tar-1.32+dfsg/gnu/unistd.in.h:1637: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.
_GL_WARN_ON_USE (usleep, "usleep is unportable - "
data/tar-1.32+dfsg/gnu/unlink.c:38: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/tar-1.32+dfsg/gnu/unlinkat.c:54: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/tar-1.32+dfsg/gnu/unlocked-io.h:100:10:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#  undef getc
data/tar-1.32+dfsg/gnu/unlocked-io.h:101:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#  define getc(x) getc_unlocked (x)
data/tar-1.32+dfsg/gnu/unlocked-io.h:103:28:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#  define getc_unlocked(x) getc (x)
data/tar-1.32+dfsg/gnu/unlocked-io.h:107:10:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#  undef getchar
data/tar-1.32+dfsg/gnu/unlocked-io.h:108:11:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#  define getchar() getchar_unlocked ()
data/tar-1.32+dfsg/gnu/unlocked-io.h:110:30:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#  define getchar_unlocked() getchar ()
data/tar-1.32+dfsg/gnu/unsetenv.c:68: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/tar-1.32+dfsg/gnu/utime.c:45: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/tar-1.32+dfsg/gnu/vasnprintf.c:240:24:  [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 local_wcslen wcslen
data/tar-1.32+dfsg/gnu/vasnprintf.c:1744: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).
            tmp_length = strlen (arg);
data/tar-1.32+dfsg/gnu/vasnprintf.c:2576: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).
                      arg_end = arg + strlen (arg);
data/tar-1.32+dfsg/gnu/vasnprintf.c:3663: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).
                                ndigits = strlen (digits);
data/tar-1.32+dfsg/gnu/vasnprintf.c:3723:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                        ndigits = strlen (digits);
data/tar-1.32+dfsg/gnu/vasnprintf.c:3759: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).
                                        if (strlen (digits2) == precision + 1)
data/tar-1.32+dfsg/gnu/vasnprintf.c:3859:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                        ndigits = strlen (digits);
data/tar-1.32+dfsg/gnu/vasnprintf.c:3895: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).
                                        if (strlen (digits2) == precision)
data/tar-1.32+dfsg/gnu/vasnprintf.c:4125: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).
                                ndigits = strlen (digits);
data/tar-1.32+dfsg/gnu/vasnprintf.c:4182:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                        ndigits = strlen (digits);
data/tar-1.32+dfsg/gnu/vasnprintf.c:4217: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).
                                        if (strlen (digits2) == precision + 1)
data/tar-1.32+dfsg/gnu/vasnprintf.c:4330:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                        ndigits = strlen (digits);
data/tar-1.32+dfsg/gnu/vasnprintf.c:4365: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).
                                        if (strlen (digits2) == precision)
data/tar-1.32+dfsg/gnu/wchar.in.h:574:19:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
_GL_FUNCDECL_SYS (wcslen, size_t, (const wchar_t *s) _GL_ATTRIBUTE_PURE);
data/tar-1.32+dfsg/gnu/wchar.in.h:576:19:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
_GL_CXXALIAS_SYS (wcslen, size_t, (const wchar_t *s));
data/tar-1.32+dfsg/gnu/wchar.in.h:577:19:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
_GL_CXXALIASWARN (wcslen);
data/tar-1.32+dfsg/gnu/wchar.in.h:579:9:  [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).
# undef wcslen
data/tar-1.32+dfsg/gnu/wchar.in.h:581:18:  [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).
_GL_WARN_ON_USE (wcslen, "wcslen is unportable - "
data/tar-1.32+dfsg/gnu/wchar.in.h:639:19:  [1] (buffer) wcsncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
_GL_FUNCDECL_SYS (wcsncpy, wchar_t *,
data/tar-1.32+dfsg/gnu/wchar.in.h:642:19:  [1] (buffer) wcsncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
_GL_CXXALIAS_SYS (wcsncpy, wchar_t *,
data/tar-1.32+dfsg/gnu/wchar.in.h:644:19:  [1] (buffer) wcsncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
_GL_CXXALIASWARN (wcsncpy);
data/tar-1.32+dfsg/gnu/wchar.in.h:646:9:  [1] (buffer) wcsncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
# undef wcsncpy
data/tar-1.32+dfsg/gnu/wchar.in.h:648:18:  [1] (buffer) wcsncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
_GL_WARN_ON_USE (wcsncpy, "wcsncpy is unportable - "
data/tar-1.32+dfsg/gnu/wchar.in.h:692:19:  [1] (buffer) wcsncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, or
  automatically resizing strings.
_GL_FUNCDECL_SYS (wcsncat, wchar_t *,
data/tar-1.32+dfsg/gnu/wchar.in.h:695:19:  [1] (buffer) wcsncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, or
  automatically resizing strings.
_GL_CXXALIAS_SYS (wcsncat, wchar_t *,
data/tar-1.32+dfsg/gnu/wchar.in.h:697:19:  [1] (buffer) wcsncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, or
  automatically resizing strings.
_GL_CXXALIASWARN (wcsncat);
data/tar-1.32+dfsg/gnu/wchar.in.h:699:9:  [1] (buffer) wcsncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, or
  automatically resizing strings.
# undef wcsncat
data/tar-1.32+dfsg/gnu/wchar.in.h:701:18:  [1] (buffer) wcsncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, or
  automatically resizing strings.
_GL_WARN_ON_USE (wcsncat, "wcsncat is unportable - "
data/tar-1.32+dfsg/gnu/xmalloc.c:121: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).
  return xmemdup (string, strlen (string) + 1);
data/tar-1.32+dfsg/gnu/xvasprintf.c:47: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).
      totalsize = xsum (totalsize, strlen (next));
data/tar-1.32+dfsg/gnu/xvasprintf.c:66: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 (next);
data/tar-1.32+dfsg/lib/rtapelib.c:126: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 length = strlen (buffer);
data/tar-1.32+dfsg/lib/rtapelib.c:532: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 remote_file_len = strlen (remote_file);
data/tar-1.32+dfsg/lib/rtapelib.c:536:5:  [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 (command_buffer, "\n");
data/tar-1.32+dfsg/lib/wordsplit.c:422: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 (p->v.word);
data/tar-1.32+dfsg/lib/wordsplit.c:1011: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 elen = strlen (wsp->ws_env[i]);
data/tar-1.32+dfsg/lib/wordsplit.c:1137: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).
      v = malloc (namelen + strlen(value) + 2);
data/tar-1.32+dfsg/lib/wordsplit.c:1403: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).
	  rc = _wsplt_subsplit (wsp, &ws, value, strlen (value),
data/tar-1.32+dfsg/lib/wordsplit.c:1640: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).
	  rc = _wsplt_subsplit (wsp, &ws, value, strlen (value),
data/tar-1.32+dfsg/lib/wordsplit.c:1779: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).
	  dlen = strlen (pw->pw_dir);
data/tar-1.32+dfsg/lib/wordsplit.c:2486: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).
  return wordsplit_len (command, command ? strlen (command) : 0, ws, flags);
data/tar-1.32+dfsg/rmt/rmt.c:75: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 (str);
data/tar-1.32+dfsg/rmt/rmt.c:165: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 slen = strlen (s);
data/tar-1.32+dfsg/rmt/rmt.c:169:23:  [1] (buffer) strlen:
  Does not handle 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 pfxlen = strlen (pfx);
data/tar-1.32+dfsg/src/buffer.c:1542: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).
              && strlen (bufmap_head->file_name) >= NAME_FIELD_SIZE
data/tar-1.32+dfsg/src/buffer.c:1600: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 (label);
data/tar-1.32+dfsg/src/buffer.c:1719: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).
  char *s = xmalloc (strlen (volume_label_option) + sizeof VOL_SUFFIX
data/tar-1.32+dfsg/src/buffer.c:1720: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 (p) + 2);
data/tar-1.32+dfsg/src/buffer.c:1770: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 (map->file_name);
data/tar-1.32+dfsg/src/checkpoint.c:85: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 (output);
data/tar-1.32+dfsg/src/checkpoint.c:285: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 (cps);
data/tar-1.32+dfsg/src/checkpoint.c:290: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 (opstr);
data/tar-1.32+dfsg/src/compare.c:276: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 (current_stat_info.link_name);
data/tar-1.32+dfsg/src/compare.c:347: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).
	len = strlen (a) + 1;
data/tar-1.32+dfsg/src/compare.c:355: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).
	len = strlen (a) + 1;
data/tar-1.32+dfsg/src/create.c:66: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).
  tag->length = strlen (name);
data/tar-1.32+dfsg/src/create.c:123:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    (read (fd, tagbuf, CACHEDIR_SIGNATURE_SIZE) == CACHEDIR_SIGNATURE_SIZE
data/tar-1.32+dfsg/src/create.c:551: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 size = strlen (p) + 1;
data/tar-1.32+dfsg/src/create.c:613: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 length = strlen (name);
data/tar-1.32+dfsg/src/create.c:680: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).
      if (strlen (st->file_name) > NAME_FIELD_SIZE-1)
data/tar-1.32+dfsg/src/create.c:745:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	   < strlen (st->file_name) + debian_longlink_hack)
data/tar-1.32+dfsg/src/create.c:958: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 (st->uname) > UNAME_FIELD_SIZE
data/tar-1.32+dfsg/src/create.c:964: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 (st->gname) > GNAME_FIELD_SIZE
data/tar-1.32+dfsg/src/create.c:1238: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).
	    name_size = name_len = strlen (name_buf);
data/tar-1.32+dfsg/src/create.c:1241: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).
	    for (entry = directory; (entry_len = strlen (entry)) != 0;
data/tar-1.32+dfsg/src/create.c:1261: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).
	  name_size = strlen (st->orig_file_name) + strlen (tag_file_name) + 1;
data/tar-1.32+dfsg/src/create.c:1261: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).
	  name_size = strlen (st->orig_file_name) + strlen (tag_file_name) + 1;
data/tar-1.32+dfsg/src/create.c:1281: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 (*pstr);
data/tar-1.32+dfsg/src/create.c:1387: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 plen = strlen (p->name);
data/tar-1.32+dfsg/src/create.c:1402: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 qlen = strlen (q);
data/tar-1.32+dfsg/src/create.c:1518: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).
	      < strlen (link_name) + debian_longlink_hack)
data/tar-1.32+dfsg/src/create.c:1555: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 (linkname) + 1);
data/tar-1.32+dfsg/src/create.c:1727: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 *new = (char *) alloca (strlen (p) + 2);
data/tar-1.32+dfsg/src/create.c:1731:4:  [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 (new, "@");
data/tar-1.32+dfsg/src/create.c:1888:6:  [1] (buffer) strlen:
  Does not handle 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 (st->link_name))
data/tar-1.32+dfsg/src/exclist.c:51: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).
  struct excfile *p = xmalloc (sizeof (*p) + strlen (name));
data/tar-1.32+dfsg/src/exclist.c:282: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(pattern);
data/tar-1.32+dfsg/src/extract.c:185:18:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
  newdir_umask = umask (0);
data/tar-1.32+dfsg/src/extract.c:190:7:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
      umask (newdir_umask);	/* restore the kernel umask */
data/tar-1.32+dfsg/src/extract.c:460: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 file_name_len = strlen (file_name);
data/tar-1.32+dfsg/src/extract.c:600: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).
	  data->file_name_len = strlen (dst);
data/tar-1.32+dfsg/src/extract.c:864: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 file_name_len = strlen (file_name);
data/tar-1.32+dfsg/src/extract.c:1293:6:  [1] (buffer) strlen:
  Does not handle 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 (current_stat_info.link_name)
data/tar-1.32+dfsg/src/extract.c:1311: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).
			    + strlen (file_name) + 1);
data/tar-1.32+dfsg/src/extract.c:1364: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).
						    + strlen (file_name) + 1);
data/tar-1.32+dfsg/src/incremen.c:90:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      len = strlen (q) + 1;
data/tar-1.32+dfsg/src/incremen.c:102: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).
  for (i = 0, p = dump->contents; *p; p += strlen (p) + 1)
data/tar-1.32+dfsg/src/incremen.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).
      itr->next += strlen (ret) + 1;
data/tar-1.32+dfsg/src/incremen.c:194: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 size = strlen (p) + 1;
data/tar-1.32+dfsg/src/incremen.c:255: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 namelen = strlen (name);
data/tar-1.32+dfsg/src/incremen.c:297: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 pref_len = strlen (pref);
data/tar-1.32+dfsg/src/incremen.c:298: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 repl_len = strlen (repl);
data/tar-1.32+dfsg/src/incremen.c:661: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).
  for (p = dir; *p; p += strlen (p) + 1, dirsize++)
data/tar-1.32+dfsg/src/incremen.c:662: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).
    len += strlen (p) + 2;
data/tar-1.32+dfsg/src/incremen.c:667: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).
  for (i = 0, p = dir; *p; p += strlen (p) + 1, i++)
data/tar-1.32+dfsg/src/incremen.c:709: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 (directory->tagfile) + 1;
data/tar-1.32+dfsg/src/incremen.c:870: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).
  obstack_grow (stk, s, strlen (s) + 1);
data/tar-1.32+dfsg/src/incremen.c:875: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).
  obstack_grow (stk, s, strlen (s) + 1);
data/tar-1.32+dfsg/src/incremen.c:909: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).
	  obstack_grow (stk, temp_name, strlen (temp_name) + 1);
data/tar-1.32+dfsg/src/incremen.c:994: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).
      bufsize = strlen (buf) + 1;
data/tar-1.32+dfsg/src/incremen.c:1100:19:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  for (i = 0, c = getc (fp); c != EOF && c != 0; c = getc (fp), i++)
data/tar-1.32+dfsg/src/incremen.c:1100:54:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  for (i = 0, c = getc (fp); c != EOF && c != 0; c = getc (fp), i++)
data/tar-1.32+dfsg/src/incremen.c:1129:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  int c = getc (fp);
data/tar-1.32+dfsg/src/incremen.c:1141:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      c = getc (fp);
data/tar-1.32+dfsg/src/incremen.c:1261:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if (getc (listed_incremental_stream) != 0)
data/tar-1.32+dfsg/src/incremen.c:1421: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).
      fwrite (s, strlen (s) + 1, 1, fp);
data/tar-1.32+dfsg/src/incremen.c:1423: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).
      fwrite (s, strlen (s) + 1, 1, fp);
data/tar-1.32+dfsg/src/incremen.c:1426: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).
      fwrite (s, strlen (s) + 1, 1, fp);
data/tar-1.32+dfsg/src/incremen.c:1429: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).
      fwrite (s, strlen (s) + 1, 1, fp);
data/tar-1.32+dfsg/src/incremen.c:1431: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).
      fwrite (directory->name, strlen (directory->name) + 1, 1, fp);
data/tar-1.32+dfsg/src/incremen.c:1440: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).
	    fwrite (p, strlen (p) + 1, 1, fp);
data/tar-1.32+dfsg/src/incremen.c:1470: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).
  fwrite (s, strlen (s) + 1, 1, fp);
data/tar-1.32+dfsg/src/incremen.c:1472: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).
  fwrite (s, strlen (s) + 1, 1, fp);
data/tar-1.32+dfsg/src/incremen.c:1543: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).
  for (p = dumpdir; *p; p += strlen (p) + 1)
data/tar-1.32+dfsg/src/incremen.c:1648: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).
  for (arc = current_stat_info.dumpdir; *arc; arc += strlen (arc) + 1)
data/tar-1.32+dfsg/src/incremen.c:1653: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 len = strlen (arc + 1);
data/tar-1.32+dfsg/src/incremen.c:1673: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).
	  arc += strlen (arc) + 1;
data/tar-1.32+dfsg/src/incremen.c:1710: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).
  for (cur = current_dir; *cur; cur += strlen (cur) + 1)
data/tar-1.32+dfsg/src/list.c:105: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).
	prefix_len = strlen (file_name);
data/tar-1.32+dfsg/src/list.c:128: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).
      int pos = strlen (one_top_level_dir);
data/tar-1.32+dfsg/src/list.c:550: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).
		  np += strlen (np);
data/tar-1.32+dfsg/src/list.c:1054:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  code_ns_fraction (ns, buffer + strlen (buffer));
data/tar-1.32+dfsg/src/list.c:1206: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).
      time_stamp_len = strlen (time_stamp);
data/tar-1.32+dfsg/src/list.c:1236:4:  [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 (size, ",");
data/tar-1.32+dfsg/src/list.c:1249: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).
      sizelen = strlen (size);
data/tar-1.32+dfsg/src/list.c:1250: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).
      pad = strlen (user) + 1 + strlen (group) + 1 + sizelen;
data/tar-1.32+dfsg/src/list.c:1250: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).
      pad = strlen (user) + 1 + strlen (group) + 1 + sizelen;
data/tar-1.32+dfsg/src/misc.c:101: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).
	      buffer = xmalloc (length + 2 + 2 * strlen (source) + 1);
data/tar-1.32+dfsg/src/misc.c:247: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).
  q = name + strlen (name) - 1;
data/tar-1.32+dfsg/src/misc.c:319: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).
      copylen = strlen (cdpath);
data/tar-1.32+dfsg/src/misc.c:322: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).
      copy = xmalloc (copylen + need_separator + strlen (name) + 1);
data/tar-1.32+dfsg/src/misc.c:340: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 nlen = strlen (name);
data/tar-1.32+dfsg/src/misc.c:675: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).
		 (entrylen = strlen (entry)) != 0;
data/tar-1.32+dfsg/src/misc.c:1213: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).
  buf->buffer_size = strlen (dir) + 2;
data/tar-1.32+dfsg/src/misc.c:1216: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).
  buf->dir_length = strlen (buf->buffer);
data/tar-1.32+dfsg/src/misc.c:1232: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/tar-1.32+dfsg/src/misc.c:1249: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).
  buf->dir_length += strlen (name);
data/tar-1.32+dfsg/src/names.c:587: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).
  p->length = strlen (p->name);
data/tar-1.32+dfsg/src/names.c:915: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).
  char *p = str + strlen (str) - 1;
data/tar-1.32+dfsg/src/names.c:940:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  for (c = getc (fp); c != EOF && c != term; c = getc (fp))
data/tar-1.32+dfsg/src/names.c:940:50:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  for (c = getc (fp); c != EOF && c != term; c = getc (fp))
data/tar-1.32+dfsg/src/names.c:1060: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).
  source_len = strlen (source);
data/tar-1.32+dfsg/src/names.c:1295: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 length = strlen (file_name);
data/tar-1.32+dfsg/src/names.c:1366: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 (p->file_name);
data/tar-1.32+dfsg/src/names.c:1610: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).
	  string_length = strlen (string);
data/tar-1.32+dfsg/src/names.c:1874: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 length = strlen (file_name);
data/tar-1.32+dfsg/src/names.c:1935: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 dirlen = strlen (directory_name);
data/tar-1.32+dfsg/src/names.c:1936: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 namelen = strlen (name) + 1;
data/tar-1.32+dfsg/src/sparse.c:1165: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).
  size += strlen (p) + 1;
data/tar-1.32+dfsg/src/sparse.c:1169: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).
      size += strlen (p) + 1;
data/tar-1.32+dfsg/src/sparse.c:1171: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).
      size += strlen (p) + 1;
data/tar-1.32+dfsg/src/sparse.c:1186: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 (file->stat_info->file_name) > NAME_FIELD_SIZE)
data/tar-1.32+dfsg/src/suffix.c:66:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      len = strlen (suf);
data/tar-1.32+dfsg/src/suffix.c:73: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).
		*ret_len = strlen (name) - len - 1;
data/tar-1.32+dfsg/src/tar.c:241: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 prefixlen = strlen (prefix);
data/tar-1.32+dfsg/src/tar.c:247:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		    strlen (quoting_style_args[i]));
data/tar-1.32+dfsg/src/tar.c:883: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).
    s += strlen (loc->name) + 1;
data/tar-1.32+dfsg/src/tar.c:1144: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).
	obstack_grow (&stk, tstr, strlen (tstr));
data/tar-1.32+dfsg/src/tar.c:1148: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).
	obstack_grow (&stk, tstr, strlen (tstr));
data/tar-1.32+dfsg/src/tar.c:1150: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).
	obstack_grow (&stk, s, strlen (s));
data/tar-1.32+dfsg/src/tar.c:1188: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).
		  obstack_grow (&stk, s, strlen (s));
data/tar-1.32+dfsg/src/tar.c:1809:23:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
      initial_umask = umask (0);
data/tar-1.32+dfsg/src/tar.c:1810:7:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
      umask (initial_umask);
data/tar-1.32+dfsg/src/tar.c:2070: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).
	cursor = buf + strlen (buf);
data/tar-1.32+dfsg/src/tar.c:2314: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).
      new_argc = argc - 1 + strlen (argv[1]);
data/tar-1.32+dfsg/src/tar.c:2466: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).
	  if (volume_label_max_len < strlen (volume_label_option))
data/tar-1.32+dfsg/src/transform.c:565: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).
	  disp = strlen (input);
data/tar-1.32+dfsg/src/transform.c:573: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).
	  obstack_grow (&stk, input, strlen (input));
data/tar-1.32+dfsg/src/update.c:152: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).
			    for (p = dirp; *p; p += strlen (p) + 1)
data/tar-1.32+dfsg/src/utf8.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).
  inlen = strlen (input) + 1;
data/tar-1.32+dfsg/src/warning.c:97: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 (arg) > 2 && memcmp (arg, "no-", 3) == 0)
data/tar-1.32+dfsg/src/xattrs.c:339: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).
  int pref_len = strlen (prefix);
data/tar-1.32+dfsg/src/xattrs.c:505: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 (attr);
data/tar-1.32+dfsg/src/xattrs.c:689: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).
          keyword += strlen ("SCHILY.xattr.");
data/tar-1.32+dfsg/src/xattrs.c:734: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).
        char *keyword = st->xattr_map[i].xkey + strlen ("SCHILY.xattr.");
data/tar-1.32+dfsg/src/xattrs.c:777:51:  [1] (buffer) strlen:
  Does not handle 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 *keyword = st->xattr_map[i].xkey + strlen ("SCHILY.xattr.");
data/tar-1.32+dfsg/src/xheader.c:288: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).
		  len += strlen (dir);
data/tar-1.32+dfsg/src/xheader.c:296: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).
		  len += strlen (base);
data/tar-1.32+dfsg/src/xheader.c:391:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      len = strlen (tmp) + sizeof (GLOBAL_HEADER_TEMPLATE); /* Includes nul */
data/tar-1.32+dfsg/src/xheader.c:563: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 klen = strlen (key);
data/tar-1.32+dfsg/src/xheader.c:564: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).
  char *xkey = xmalloc (strlen("SCHILY.xattr.") + klen + 1);
data/tar-1.32+dfsg/src/xheader.c:628: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 (strncmp (p->keyword, keyword, strlen(p->keyword)) == 0)
data/tar-1.32+dfsg/src/xheader.c:740: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).
	t->decoder (st, t->keyword, kp->value, strlen (kp->value));
data/tar-1.32+dfsg/src/xheader.c:941: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).
  klen = strlen (keyword);
data/tar-1.32+dfsg/src/xheader.c:963: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).
  xheader_print_n (xhdr, keyword, value, strlen (value));
data/tar-1.32+dfsg/src/xheader.c:1007: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).
  xhdr->string_length += strlen (s);
data/tar-1.32+dfsg/src/xheader.c:1008: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).
  x_obstack_grow (xhdr, s, strlen (s));
data/tar-1.32+dfsg/src/xheader.c:1026: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 (keyword) + xhdr->string_length + 3; /* ' ' + '=' + '\n' */
data/tar-1.32+dfsg/src/xheader.c:1036: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).
  p = strlen (keyword) + n + 2;
data/tar-1.32+dfsg/src/xheader.c:1705: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 klen_raw = strlen (keyword);
data/tar-1.32+dfsg/src/xheader.c:1715: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).
  xheader_xattr_add (st, xkey + strlen("SCHILY.xattr."), xstr, size);
data/tar-1.32+dfsg/tests/argcv.c:279:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int len = strlen (command);
data/tar-1.32+dfsg/tests/ckmtime.c:52:3:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
  umask (077);
data/tar-1.32+dfsg/tests/genfile.c:453:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  for (c = getc (fp); c != EOF && c != filename_terminator; c = getc (fp))
data/tar-1.32+dfsg/tests/genfile.c:453:65:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  for (c = getc (fp); c != EOF && c != filename_terminator; c = getc (fp))
data/tar-1.32+dfsg/tests/genfile.c:555:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      file_length += block_size * strlen (mapstr);
data/tar-1.32+dfsg/tests/genfile.c:587: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 n = strlen (buf);

ANALYSIS SUMMARY:

Hits = 1339
Lines analyzed = 120514 in approximately 3.17 seconds (38025 lines/second)
Physical Source Lines of Code (SLOC) = 82848
Hits@level = [0] 209 [1] 375 [2] 607 [3]  80 [4] 237 [5]  40
Hits@level+ = [0+] 1548 [1+] 1339 [2+] 964 [3+] 357 [4+] 277 [5+]  40
Hits/KSLOC@level+ = [0+] 18.6848 [1+] 16.1621 [2+] 11.6358 [3+] 4.3091 [4+] 3.34347 [5+] 0.482812
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.