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/dc3dd-7.2.646/src/system.h
Examining data/dc3dd-7.2.646/src/hdparm/hpa_dco.c
Examining data/dc3dd-7.2.646/src/hdparm/sgio.c
Examining data/dc3dd-7.2.646/src/hdparm/identify.c
Examining data/dc3dd-7.2.646/src/hdparm/sgio.h
Examining data/dc3dd-7.2.646/src/hdparm/hpa_dco.h
Examining data/dc3dd-7.2.646/src/hdparm/hdparm.h
Examining data/dc3dd-7.2.646/src/dc3dd.c
Examining data/dc3dd-7.2.646/lib/wchar.in.h
Examining data/dc3dd-7.2.646/lib/exclude.c
Examining data/dc3dd-7.2.646/lib/obstack.c
Examining data/dc3dd-7.2.646/lib/strftime.h
Examining data/dc3dd-7.2.646/lib/regex_internal.h
Examining data/dc3dd-7.2.646/lib/full-read.c
Examining data/dc3dd-7.2.646/lib/unlinkdir.h
Examining data/dc3dd-7.2.646/lib/fchownat.c
Examining data/dc3dd-7.2.646/lib/full-write.c
Examining data/dc3dd-7.2.646/lib/asprintf.c
Examining data/dc3dd-7.2.646/lib/buffer-lcm.h
Examining data/dc3dd-7.2.646/lib/dirchownmod.c
Examining data/dc3dd-7.2.646/lib/posixver.c
Examining data/dc3dd-7.2.646/lib/memchr2.c
Examining data/dc3dd-7.2.646/lib/gethrxtime.c
Examining data/dc3dd-7.2.646/lib/iconv_open-irix.h
Examining data/dc3dd-7.2.646/lib/filemode.c
Examining data/dc3dd-7.2.646/lib/fd-reopen.c
Examining data/dc3dd-7.2.646/lib/sha512.c
Examining data/dc3dd-7.2.646/lib/u64.h
Examining data/dc3dd-7.2.646/lib/readtokens.c
Examining data/dc3dd-7.2.646/lib/wcwidth.c
Examining data/dc3dd-7.2.646/lib/mkdir-p.c
Examining data/dc3dd-7.2.646/lib/xstrtoul.c
Examining data/dc3dd-7.2.646/lib/vasnprintf.h
Examining data/dc3dd-7.2.646/lib/getopt_int.h
Examining data/dc3dd-7.2.646/lib/nanosleep.c
Examining data/dc3dd-7.2.646/lib/localcharset.h
Examining data/dc3dd-7.2.646/lib/strtoull.c
Examining data/dc3dd-7.2.646/lib/rand-isaac.h
Examining data/dc3dd-7.2.646/lib/isnanl.c
Examining data/dc3dd-7.2.646/lib/xstriconv.c
Examining data/dc3dd-7.2.646/lib/tempname.c
Examining data/dc3dd-7.2.646/lib/hard-locale.h
Examining data/dc3dd-7.2.646/lib/memchr.c
Examining data/dc3dd-7.2.646/lib/stdbool.in.h
Examining data/dc3dd-7.2.646/lib/memcasecmp.c
Examining data/dc3dd-7.2.646/lib/printf-frexpl.c
Examining data/dc3dd-7.2.646/lib/diacrit.c
Examining data/dc3dd-7.2.646/lib/math.in.h
Examining data/dc3dd-7.2.646/lib/trim.h
Examining data/dc3dd-7.2.646/lib/lstat.c
Examining data/dc3dd-7.2.646/lib/xstrtod.c
Examining data/dc3dd-7.2.646/lib/alloca.c
Examining data/dc3dd-7.2.646/lib/mountlist.h
Examining data/dc3dd-7.2.646/lib/openat-proc.c
Examining data/dc3dd-7.2.646/lib/closein.c
Examining data/dc3dd-7.2.646/lib/modechange.h
Examining data/dc3dd-7.2.646/lib/strcspn.c
Examining data/dc3dd-7.2.646/lib/basename.c
Examining data/dc3dd-7.2.646/lib/c-strcasecmp.c
Examining data/dc3dd-7.2.646/lib/rename.c
Examining data/dc3dd-7.2.646/lib/fstatat.c
Examining data/dc3dd-7.2.646/lib/str-kmp.h
Examining data/dc3dd-7.2.646/lib/hard-locale.c
Examining data/dc3dd-7.2.646/lib/getgroups.c
Examining data/dc3dd-7.2.646/lib/md5.h
Examining data/dc3dd-7.2.646/lib/signbitl.c
Examining data/dc3dd-7.2.646/lib/fnmatch.in.h
Examining data/dc3dd-7.2.646/lib/quote.h
Examining data/dc3dd-7.2.646/lib/fcntl-safer.h
Examining data/dc3dd-7.2.646/lib/mbscasecmp.c
Examining data/dc3dd-7.2.646/lib/linebuffer.c
Examining data/dc3dd-7.2.646/lib/fchdir.c
Examining data/dc3dd-7.2.646/lib/memmove.c
Examining data/dc3dd-7.2.646/lib/fd-safer.c
Examining data/dc3dd-7.2.646/lib/isnand.c
Examining data/dc3dd-7.2.646/lib/memcpy.c
Examining data/dc3dd-7.2.646/lib/utimens.h
Examining data/dc3dd-7.2.646/lib/full-read.h
Examining data/dc3dd-7.2.646/lib/isnanf.c
Examining data/dc3dd-7.2.646/lib/same.h
Examining data/dc3dd-7.2.646/lib/isapipe.h
Examining data/dc3dd-7.2.646/lib/settime.c
Examining data/dc3dd-7.2.646/lib/frexp.c
Examining data/dc3dd-7.2.646/lib/filenamecat.c
Examining data/dc3dd-7.2.646/lib/fchmodat.c
Examining data/dc3dd-7.2.646/lib/safe-read.h
Examining data/dc3dd-7.2.646/lib/same.c
Examining data/dc3dd-7.2.646/lib/unsetenv.c
Examining data/dc3dd-7.2.646/lib/malloca.c
Examining data/dc3dd-7.2.646/lib/stdlib--.h
Examining data/dc3dd-7.2.646/lib/rpmatch.c
Examining data/dc3dd-7.2.646/lib/gettext.h
Examining data/dc3dd-7.2.646/lib/file-type.h
Examining data/dc3dd-7.2.646/lib/mountlist.c
Examining data/dc3dd-7.2.646/lib/isnanl-nolibm.h
Examining data/dc3dd-7.2.646/lib/same-inode.h
Examining data/dc3dd-7.2.646/lib/exitfail.h
Examining data/dc3dd-7.2.646/lib/userspec.c
Examining data/dc3dd-7.2.646/lib/randread.h
Examining data/dc3dd-7.2.646/lib/sha256.h
Examining data/dc3dd-7.2.646/lib/root-dev-ino.c
Examining data/dc3dd-7.2.646/lib/xtime.h
Examining data/dc3dd-7.2.646/lib/unlocked-io.h
Examining data/dc3dd-7.2.646/lib/sys_time.in.h
Examining data/dc3dd-7.2.646/lib/closeout.h
Examining data/dc3dd-7.2.646/lib/inttostr.c
Examining data/dc3dd-7.2.646/lib/mpsort.c
Examining data/dc3dd-7.2.646/lib/signbitf.c
Examining data/dc3dd-7.2.646/lib/getopt.in.h
Examining data/dc3dd-7.2.646/lib/human.h
Examining data/dc3dd-7.2.646/lib/vprintf.c
Examining data/dc3dd-7.2.646/lib/getloadavg.c
Examining data/dc3dd-7.2.646/lib/utimecmp.h
Examining data/dc3dd-7.2.646/lib/mkstemp-safer.c
Examining data/dc3dd-7.2.646/lib/strintcmp.c
Examining data/dc3dd-7.2.646/lib/string.in.h
Examining data/dc3dd-7.2.646/lib/xmalloc.c
Examining data/dc3dd-7.2.646/lib/printf-args.c
Examining data/dc3dd-7.2.646/lib/sig2str.h
Examining data/dc3dd-7.2.646/lib/strnlen1.h
Examining data/dc3dd-7.2.646/lib/time.in.h
Examining data/dc3dd-7.2.646/lib/xstrtod.h
Examining data/dc3dd-7.2.646/lib/filemode.h
Examining data/dc3dd-7.2.646/lib/human.c
Examining data/dc3dd-7.2.646/lib/xprintf.h
Examining data/dc3dd-7.2.646/lib/base64.h
Examining data/dc3dd-7.2.646/lib/striconv.c
Examining data/dc3dd-7.2.646/lib/open-safer.c
Examining data/dc3dd-7.2.646/lib/areadlink-with-size.c
Examining data/dc3dd-7.2.646/lib/freadptr.h
Examining data/dc3dd-7.2.646/lib/vasnprintf.c
Examining data/dc3dd-7.2.646/lib/printf-args.h
Examining data/dc3dd-7.2.646/lib/signbitd.c
Examining data/dc3dd-7.2.646/lib/cycle-check.c
Examining data/dc3dd-7.2.646/lib/stdio--.h
Examining data/dc3dd-7.2.646/lib/fnmatch.c
Examining data/dc3dd-7.2.646/lib/write-any-file.c
Examining data/dc3dd-7.2.646/lib/getndelim2.h
Examining data/dc3dd-7.2.646/lib/c-strtold.c
Examining data/dc3dd-7.2.646/lib/sig2str.c
Examining data/dc3dd-7.2.646/lib/version-etc.c
Examining data/dc3dd-7.2.646/lib/isnan.h
Examining data/dc3dd-7.2.646/lib/xmemcoll.c
Examining data/dc3dd-7.2.646/lib/modechange.c
Examining data/dc3dd-7.2.646/lib/mempcpy.c
Examining data/dc3dd-7.2.646/lib/uniwidth.h
Examining data/dc3dd-7.2.646/lib/xstriconv.h
Examining data/dc3dd-7.2.646/lib/long-options.c
Examining data/dc3dd-7.2.646/lib/strftime.c
Examining data/dc3dd-7.2.646/lib/file-set.c
Examining data/dc3dd-7.2.646/lib/propername.h
Examining data/dc3dd-7.2.646/lib/canonicalize.c
Examining data/dc3dd-7.2.646/lib/stdarg.in.h
Examining data/dc3dd-7.2.646/lib/hash.c
Examining data/dc3dd-7.2.646/lib/close-stream.h
Examining data/dc3dd-7.2.646/lib/diacrit.h
Examining data/dc3dd-7.2.646/lib/dirchownmod.h
Examining data/dc3dd-7.2.646/lib/posixver.h
Examining data/dc3dd-7.2.646/lib/fcntl.in.h
Examining data/dc3dd-7.2.646/lib/strnlen.c
Examining data/dc3dd-7.2.646/lib/xalloc-die.c
Examining data/dc3dd-7.2.646/lib/quote.c
Examining data/dc3dd-7.2.646/lib/getdate.h
Examining data/dc3dd-7.2.646/lib/xstrtold.c
Examining data/dc3dd-7.2.646/lib/xstrtoimax.c
Examining data/dc3dd-7.2.646/lib/fpurge.h
Examining data/dc3dd-7.2.646/lib/sys_stat.in.h
Examining data/dc3dd-7.2.646/lib/xnanosleep.h
Examining data/dc3dd-7.2.646/lib/mkdir-p.h
Examining data/dc3dd-7.2.646/lib/strndup.c
Examining data/dc3dd-7.2.646/lib/quotearg.h
Examining data/dc3dd-7.2.646/lib/exitfail.c
Examining data/dc3dd-7.2.646/lib/write-any-file.h
Examining data/dc3dd-7.2.646/lib/posixtm.h
Examining data/dc3dd-7.2.646/lib/arpa_inet.in.h
Examining data/dc3dd-7.2.646/lib/mkancesdirs.h
Examining data/dc3dd-7.2.646/lib/idcache.h
Examining data/dc3dd-7.2.646/lib/snprintf.c
Examining data/dc3dd-7.2.646/lib/gettime.c
Examining data/dc3dd-7.2.646/lib/frexpl.c
Examining data/dc3dd-7.2.646/lib/unicodeio.h
Examining data/dc3dd-7.2.646/lib/fprintftime.c
Examining data/dc3dd-7.2.646/lib/randperm.h
Examining data/dc3dd-7.2.646/lib/strtoumax.c
Examining data/dc3dd-7.2.646/lib/fsusage.h
Examining data/dc3dd-7.2.646/lib/regexec.c
Examining data/dc3dd-7.2.646/lib/openat-priv.h
Examining data/dc3dd-7.2.646/lib/xmemcoll.h
Examining data/dc3dd-7.2.646/lib/strtoll.c
Examining data/dc3dd-7.2.646/lib/printf-parse.h
Examining data/dc3dd-7.2.646/lib/stripslash.c
Examining data/dc3dd-7.2.646/lib/utime.c
Examining data/dc3dd-7.2.646/lib/xstrndup.h
Examining data/dc3dd-7.2.646/lib/iconv_open.c
Examining data/dc3dd-7.2.646/lib/dirname.c
Examining data/dc3dd-7.2.646/lib/gethrxtime.h
Examining data/dc3dd-7.2.646/lib/dirfd.c
Examining data/dc3dd-7.2.646/lib/readlink.c
Examining data/dc3dd-7.2.646/lib/regex_internal.c
Examining data/dc3dd-7.2.646/lib/strverscmp.h
Examining data/dc3dd-7.2.646/lib/strnumcmp-in.h
Examining data/dc3dd-7.2.646/lib/sha256.c
Examining data/dc3dd-7.2.646/lib/strverscmp.c
Examining data/dc3dd-7.2.646/lib/posixtm.c
Examining data/dc3dd-7.2.646/lib/savewd.c
Examining data/dc3dd-7.2.646/lib/getpass.c
Examining data/dc3dd-7.2.646/lib/strnumcmp.c
Examining data/dc3dd-7.2.646/lib/c-ctype.c
Examining data/dc3dd-7.2.646/lib/mkdir.c
Examining data/dc3dd-7.2.646/lib/cloexec.c
Examining data/dc3dd-7.2.646/lib/malloca.h
Examining data/dc3dd-7.2.646/lib/localcharset.c
Examining data/dc3dd-7.2.646/lib/dirfd.h
Examining data/dc3dd-7.2.646/lib/dev-ino.h
Examining data/dc3dd-7.2.646/lib/rename-dest-slash.c
Examining data/dc3dd-7.2.646/lib/save-cwd.c
Examining data/dc3dd-7.2.646/lib/lchmod.h
Examining data/dc3dd-7.2.646/lib/memcmp.c
Examining data/dc3dd-7.2.646/lib/streq.h
Examining data/dc3dd-7.2.646/lib/safe-write.c
Examining data/dc3dd-7.2.646/lib/timespec.h
Examining data/dc3dd-7.2.646/lib/long-options.h
Examining data/dc3dd-7.2.646/lib/propername.c
Examining data/dc3dd-7.2.646/lib/memxfrm.h
Examining data/dc3dd-7.2.646/lib/randperm.c
Examining data/dc3dd-7.2.646/lib/getdelim.c
Examining data/dc3dd-7.2.646/lib/c-ctype.h
Examining data/dc3dd-7.2.646/lib/version-etc-fsf.c
Examining data/dc3dd-7.2.646/lib/sha1.h
Examining data/dc3dd-7.2.646/lib/xstrtoumax.c
Examining data/dc3dd-7.2.646/lib/openat-die.c
Examining data/dc3dd-7.2.646/lib/iconv_open-aix.h
Examining data/dc3dd-7.2.646/lib/openat.h
Examining data/dc3dd-7.2.646/lib/md5.c
Examining data/dc3dd-7.2.646/lib/areadlink.h
Examining data/dc3dd-7.2.646/lib/filenamecat.h
Examining data/dc3dd-7.2.646/lib/memcoll.h
Examining data/dc3dd-7.2.646/lib/unlinkdir.c
Examining data/dc3dd-7.2.646/lib/realloc.c
Examining data/dc3dd-7.2.646/lib/getpass.h
Examining data/dc3dd-7.2.646/lib/obstack.h
Examining data/dc3dd-7.2.646/lib/stdio.in.h
Examining data/dc3dd-7.2.646/lib/xgetcwd.h
Examining data/dc3dd-7.2.646/lib/fileblocks.c
Examining data/dc3dd-7.2.646/lib/dup2.c
Examining data/dc3dd-7.2.646/lib/c-strcase.h
Examining data/dc3dd-7.2.646/lib/c-strncasecmp.c
Examining data/dc3dd-7.2.646/lib/chdir-long.c
Examining data/dc3dd-7.2.646/lib/savewd.h
Examining data/dc3dd-7.2.646/lib/unistd--.h
Examining data/dc3dd-7.2.646/lib/mpsort.h
Examining data/dc3dd-7.2.646/lib/fsusage.c
Examining data/dc3dd-7.2.646/lib/iconv_open-hpux.h
Examining data/dc3dd-7.2.646/lib/fopen-safer.c
Examining data/dc3dd-7.2.646/lib/uinttostr.c
Examining data/dc3dd-7.2.646/lib/dirent.in.h
Examining data/dc3dd-7.2.646/lib/fpending.c
Examining data/dc3dd-7.2.646/lib/printf-frexp.h
Examining data/dc3dd-7.2.646/lib/rmdir.c
Examining data/dc3dd-7.2.646/lib/memchr2.h
Examining data/dc3dd-7.2.646/lib/vasprintf.c
Examining data/dc3dd-7.2.646/lib/xalloc.h
Examining data/dc3dd-7.2.646/lib/readutmp.h
Examining data/dc3dd-7.2.646/lib/printf-frexpl.h
Examining data/dc3dd-7.2.646/lib/freading.h
Examining data/dc3dd-7.2.646/lib/rand-isaac.c
Examining data/dc3dd-7.2.646/lib/savedir.c
Examining data/dc3dd-7.2.646/lib/c-strtod.c
Examining data/dc3dd-7.2.646/lib/asnprintf.c
Examining data/dc3dd-7.2.646/lib/free.c
Examining data/dc3dd-7.2.646/lib/mbuiter.h
Examining data/dc3dd-7.2.646/lib/argmatch.h
Examining data/dc3dd-7.2.646/lib/setenv.c
Examining data/dc3dd-7.2.646/lib/getcwd.c
Examining data/dc3dd-7.2.646/lib/hash-triple.c
Examining data/dc3dd-7.2.646/lib/version-etc.h
Examining data/dc3dd-7.2.646/lib/chdir-long.h
Examining data/dc3dd-7.2.646/lib/strtoul.c
Examining data/dc3dd-7.2.646/lib/xgetcwd.c
Examining data/dc3dd-7.2.646/lib/regcomp.c
Examining data/dc3dd-7.2.646/lib/size_max.h
Examining data/dc3dd-7.2.646/lib/mbchar.h
Examining data/dc3dd-7.2.646/lib/randint.h
Examining data/dc3dd-7.2.646/lib/memxfrm.c
Examining data/dc3dd-7.2.646/lib/xstrtol-error.c
Examining data/dc3dd-7.2.646/lib/fchown-stub.c
Examining data/dc3dd-7.2.646/lib/readtokens0.c
Examining data/dc3dd-7.2.646/lib/save-cwd.h
Examining data/dc3dd-7.2.646/lib/stdint.in.h
Examining data/dc3dd-7.2.646/lib/hash-pjw.h
Examining data/dc3dd-7.2.646/lib/xstrtol.h
Examining data/dc3dd-7.2.646/lib/lstat.h
Examining data/dc3dd-7.2.646/lib/gethostname.c
Examining data/dc3dd-7.2.646/lib/netinet_in.in.h
Examining data/dc3dd-7.2.646/lib/buffer-lcm.c
Examining data/dc3dd-7.2.646/lib/getopt1.c
Examining data/dc3dd-7.2.646/lib/error.c
Examining data/dc3dd-7.2.646/lib/pipe-safer.c
Examining data/dc3dd-7.2.646/lib/strnumcmp.h
Examining data/dc3dd-7.2.646/lib/chown.c
Examining data/dc3dd-7.2.646/lib/userspec.h
Examining data/dc3dd-7.2.646/lib/striconv.h
Examining data/dc3dd-7.2.646/lib/isnanf.h
Examining data/dc3dd-7.2.646/lib/malloc.c
Examining data/dc3dd-7.2.646/lib/creat-safer.c
Examining data/dc3dd-7.2.646/lib/cloexec.h
Examining data/dc3dd-7.2.646/lib/intprops.h
Examining data/dc3dd-7.2.646/lib/openat.c
Examining data/dc3dd-7.2.646/lib/fpucw.h
Examining data/dc3dd-7.2.646/lib/c-strtod.h
Examining data/dc3dd-7.2.646/lib/strtod.c
Examining data/dc3dd-7.2.646/lib/vfprintf.c
Examining data/dc3dd-7.2.646/lib/utimecmp.c
Examining data/dc3dd-7.2.646/lib/printf-frexp.c
Examining data/dc3dd-7.2.646/lib/inttypes.in.h
Examining data/dc3dd-7.2.646/lib/atexit.c
Examining data/dc3dd-7.2.646/lib/mkancesdirs.c
Examining data/dc3dd-7.2.646/lib/inttostr.h
Examining data/dc3dd-7.2.646/lib/fprintftime.h
Examining data/dc3dd-7.2.646/lib/linebuffer.h
Examining data/dc3dd-7.2.646/lib/iconv.in.h
Examining data/dc3dd-7.2.646/lib/memrchr.c
Examining data/dc3dd-7.2.646/lib/readutmp.c
Examining data/dc3dd-7.2.646/lib/sha1.c
Examining data/dc3dd-7.2.646/lib/idcache.c
Examining data/dc3dd-7.2.646/lib/xstrndup.c
Examining data/dc3dd-7.2.646/lib/xnanosleep.c
Examining data/dc3dd-7.2.646/lib/xsize.h
Examining data/dc3dd-7.2.646/lib/float.in.h
Examining data/dc3dd-7.2.646/lib/randread.c
Examining data/dc3dd-7.2.646/lib/strnlen1.c
Examining data/dc3dd-7.2.646/lib/verify.h
Examining data/dc3dd-7.2.646/lib/getopt.c
Examining data/dc3dd-7.2.646/lib/strtol.c
Examining data/dc3dd-7.2.646/lib/lseek.c
Examining data/dc3dd-7.2.646/lib/utimens.c
Examining data/dc3dd-7.2.646/lib/stat-time.h
Examining data/dc3dd-7.2.646/lib/hash.h
Examining data/dc3dd-7.2.646/lib/fnmatch_loop.c
Examining data/dc3dd-7.2.646/lib/memcoll.c
Examining data/dc3dd-7.2.646/lib/getline.c
Examining data/dc3dd-7.2.646/lib/ftruncate.c
Examining data/dc3dd-7.2.646/lib/hash-pjw.c
Examining data/dc3dd-7.2.646/lib/ftello.c
Examining data/dc3dd-7.2.646/lib/mkstemp.c
Examining data/dc3dd-7.2.646/lib/exclude.h
Examining data/dc3dd-7.2.646/lib/mbsstr.c
Examining data/dc3dd-7.2.646/lib/safe-read.c
Examining data/dc3dd-7.2.646/lib/stpcpy.c
Examining data/dc3dd-7.2.646/lib/regex.h
Examining data/dc3dd-7.2.646/lib/printf-parse.c
Examining data/dc3dd-7.2.646/lib/memcasecmp.h
Examining data/dc3dd-7.2.646/lib/mktime.c
Examining data/dc3dd-7.2.646/lib/fpending.h
Examining data/dc3dd-7.2.646/lib/wctype.in.h
Examining data/dc3dd-7.2.646/lib/time_r.c
Examining data/dc3dd-7.2.646/lib/freadseek.h
Examining data/dc3dd-7.2.646/lib/stdlib-safer.h
Examining data/dc3dd-7.2.646/lib/putenv.c
Examining data/dc3dd-7.2.646/lib/closeout.c
Examining data/dc3dd-7.2.646/lib/sha512.h
Examining data/dc3dd-7.2.646/lib/pathmax.h
Examining data/dc3dd-7.2.646/lib/tempname.h
Examining data/dc3dd-7.2.646/lib/xstrtol.c
Examining data/dc3dd-7.2.646/lib/uniwidth/width.c
Examining data/dc3dd-7.2.646/lib/uniwidth/cjk.h
Examining data/dc3dd-7.2.646/lib/savedir.h
Examining data/dc3dd-7.2.646/lib/fflush.c
Examining data/dc3dd-7.2.646/lib/error.h
Examining data/dc3dd-7.2.646/lib/hash-triple.h
Examining data/dc3dd-7.2.646/lib/isapipe.c
Examining data/dc3dd-7.2.646/lib/readtokens0.h
Examining data/dc3dd-7.2.646/lib/safe-write.h
Examining data/dc3dd-7.2.646/lib/fd-reopen.h
Examining data/dc3dd-7.2.646/lib/strerror.c
Examining data/dc3dd-7.2.646/lib/base64.c
Examining data/dc3dd-7.2.646/lib/argmatch.c
Examining data/dc3dd-7.2.646/lib/unistd-safer.h
Examining data/dc3dd-7.2.646/lib/xmemxfrm.c
Examining data/dc3dd-7.2.646/lib/mbswidth.h
Examining data/dc3dd-7.2.646/lib/memset.c
Examining data/dc3dd-7.2.646/lib/regex.c
Examining data/dc3dd-7.2.646/lib/randint.c
Examining data/dc3dd-7.2.646/lib/mkdirat.c
Examining data/dc3dd-7.2.646/lib/quotearg.c
Examining data/dc3dd-7.2.646/lib/mbslen.c
Examining data/dc3dd-7.2.646/lib/close-stream.c
Examining data/dc3dd-7.2.646/lib/unistd.in.h
Examining data/dc3dd-7.2.646/lib/file-type.c
Examining data/dc3dd-7.2.646/lib/float+.h
Examining data/dc3dd-7.2.646/lib/freadahead.h
Examining data/dc3dd-7.2.646/lib/xprintf.c
Examining data/dc3dd-7.2.646/lib/stat-macros.h
Examining data/dc3dd-7.2.646/lib/lchown.c
Examining data/dc3dd-7.2.646/lib/imaxtostr.c
Examining data/dc3dd-7.2.646/lib/strpbrk.c
Examining data/dc3dd-7.2.646/lib/xmemxfrm.h
Examining data/dc3dd-7.2.646/lib/strdup.c
Examining data/dc3dd-7.2.646/lib/sys_socket.in.h
Examining data/dc3dd-7.2.646/lib/unicodeio.c
Examining data/dc3dd-7.2.646/lib/fseterr.h
Examining data/dc3dd-7.2.646/lib/calloc.c
Examining data/dc3dd-7.2.646/lib/stdlib.in.h
Examining data/dc3dd-7.2.646/lib/dirname.h
Examining data/dc3dd-7.2.646/lib/offtostr.c
Examining data/dc3dd-7.2.646/lib/getpagesize.c
Examining data/dc3dd-7.2.646/lib/canonicalize.h
Examining data/dc3dd-7.2.646/lib/readtokens.h
Examining data/dc3dd-7.2.646/lib/alloca.in.h
Examining data/dc3dd-7.2.646/lib/isnan.c
Examining data/dc3dd-7.2.646/lib/getndelim2.c
Examining data/dc3dd-7.2.646/lib/iconv_open-osf.h
Examining data/dc3dd-7.2.646/lib/mbiter.h
Examining data/dc3dd-7.2.646/lib/root-dev-ino.h
Examining data/dc3dd-7.2.646/lib/raise.c
Examining data/dc3dd-7.2.646/lib/stdio-safer.h
Examining data/dc3dd-7.2.646/lib/isnand.h
Examining data/dc3dd-7.2.646/lib/cycle-check.h
Examining data/dc3dd-7.2.646/lib/strtoimax.c
Examining data/dc3dd-7.2.646/lib/mbchar.c
Examining data/dc3dd-7.2.646/lib/gettimeofday.c
Examining data/dc3dd-7.2.646/lib/closein.h
Examining data/dc3dd-7.2.646/lib/fcntl--.h
Examining data/dc3dd-7.2.646/lib/stpncpy.c
Examining data/dc3dd-7.2.646/lib/getdate.c
Examining data/dc3dd-7.2.646/lib/umaxtostr.c
Examining data/dc3dd-7.2.646/lib/dup-safer.c
Examining data/dc3dd-7.2.646/lib/unitypes.h
Examining data/dc3dd-7.2.646/lib/at-func.c
Examining data/dc3dd-7.2.646/lib/mbswidth.c
Examining data/dc3dd-7.2.646/lib/trim.c
Examining data/dc3dd-7.2.646/lib/full-write.h
Examining data/dc3dd-7.2.646/lib/file-set.h
Examining data/dc3dd-7.2.646/lib/fpurge.c
Examining data/dc3dd-7.2.646/lib/freadahead.c
Examining data/dc3dd-7.2.646/lib/freading.c
Examining data/dc3dd-7.2.646/lib/freadptr.c
Examining data/dc3dd-7.2.646/lib/freadseek.c
Examining data/dc3dd-7.2.646/lib/fseeko.c
Examining data/dc3dd-7.2.646/lib/fseterr.c
Examining data/dc3dd-7.2.646/lib/stdio-impl.h
Examining data/dc3dd-7.2.646/build-aux/link-warning.h

FINAL RESULTS:

data/dc3dd-7.2.646/lib/areadlink-with-size.c:78: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/dc3dd-7.2.646/lib/chown.c:33:8:  [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/dc3dd-7.2.646/lib/chown.c:102: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/dc3dd-7.2.646/lib/dirchownmod.c:102:6:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
			: chown (dir, owner, group));
data/dc3dd-7.2.646/lib/dirchownmod.c:124:6:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
			: chmod (dir, chmod_mode));
data/dc3dd-7.2.646/lib/fchmodat.c:45: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/dc3dd-7.2.646/lib/fchownat.c:44:20:  [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/dc3dd-7.2.646/lib/lchmod.h:33:17:  [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/dc3dd-7.2.646/lib/lchown.c:61: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/dc3dd-7.2.646/lib/readlink.c:37: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 *path, char *buf, size_t bufsize)
data/dc3dd-7.2.646/lib/unistd.in.h:60: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/dc3dd-7.2.646/lib/unistd.in.h:61:12:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
extern int chown (const char *file, uid_t uid, gid_t gid);
data/dc3dd-7.2.646/lib/unistd.in.h:65: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/dc3dd-7.2.646/lib/unistd.in.h:66:10:  [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(f,u,g) \
data/dc3dd-7.2.646/lib/unistd.in.h:70:6:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
     chown (f, u, g))
data/dc3dd-7.2.646/lib/unistd.in.h:309: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.
extern int readlink (const char *file, char *buf, size_t bufsize);
data/dc3dd-7.2.646/lib/unistd.in.h:312: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/dc3dd-7.2.646/lib/unistd.in.h:313: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.
# define readlink(f,b,s) \
data/dc3dd-7.2.646/lib/unistd.in.h:316:6:  [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 (f, b, s))
data/dc3dd-7.2.646/lib/chdir-long.c:249:7:  [4] (shell) execlp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      execlp (cmd, (char *) NULL);
data/dc3dd-7.2.646/lib/error.c:205: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/dc3dd-7.2.646/lib/error.c:317: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:%d: " : " ",
data/dc3dd-7.2.646/lib/error.h:30:22:  [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/dc3dd-7.2.646/lib/fnmatch.c:164: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/dc3dd-7.2.646/lib/fnmatch.c:195:25:  [4] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
#   define STRCAT(D, S) wcscat (D, S)
data/dc3dd-7.2.646/lib/getdate.c:1000: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/dc3dd-7.2.646/lib/getdate.c:3383:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	      sprintf (tz1buf, "XXX%s%ld:%02d", "-" + (time_zone < 0),
data/dc3dd-7.2.646/lib/getloadavg.c:898: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 (nl[0].n_name, LDAV_SYMBOL);
data/dc3dd-7.2.646/lib/getpass.c:89:1:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
getpass (const char *prompt)
data/dc3dd-7.2.646/lib/getpass.c:194:1:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
getpass (const char *prompt)
data/dc3dd-7.2.646/lib/getpass.h:30:7:  [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.
char *getpass (const char *prompt);
data/dc3dd-7.2.646/lib/idcache.c:88:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy (match->name, name);
data/dc3dd-7.2.646/lib/idcache.c:131:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy (tail->name, user);
data/dc3dd-7.2.646/lib/idcache.c:170:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy (match->name, name);
data/dc3dd-7.2.646/lib/idcache.c:213:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy (tail->name, group);
data/dc3dd-7.2.646/lib/localcharset.c:201: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 (res_ptr + res_size - (l2 + 1) - (l1 + 1), buf1);
data/dc3dd-7.2.646/lib/localcharset.c:202: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 (res_ptr + res_size - (l2 + 1), buf2);
data/dc3dd-7.2.646/lib/mountlist.c:539:17:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                strcpy (name + 1, d->d_name);
data/dc3dd-7.2.646/lib/mountlist.c:655: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 (me->me_devname + 5, mnt.mt_dev);
data/dc3dd-7.2.646/lib/mountlist.c:832:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	    strcpy (me->me_devname, host);
data/dc3dd-7.2.646/lib/mountlist.c:834:6:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	    strcat (me->me_devname, dir);
data/dc3dd-7.2.646/lib/openat-proc.c:75:4:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	  sprintf (dotdot_buf, PROC_SELF_FD_FORMAT, proc_self_fd, "..");
data/dc3dd-7.2.646/lib/openat-proc.c:91:7:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      sprintf (result, PROC_SELF_FD_FORMAT, fd, file);
data/dc3dd-7.2.646/lib/posixtm.c:307:11:  [4] (buffer) sscanf:
  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.
      if (sscanf (buff, "%s %u", time_str, &syntax_bits) != 2)
data/dc3dd-7.2.646/lib/propername.c:172:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	  sprintf (result, "%s (%s)", translation, name);
data/dc3dd-7.2.646/lib/propername.c:253:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	  sprintf (result, "%s (%s)", translation, name);
data/dc3dd-7.2.646/lib/rmdir.c:53:7:  [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 ("/bin/rmdir", "rmdir", dir, (char *) 0);
data/dc3dd-7.2.646/lib/sig2str.c:319: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 (signame, numname_table[i].name);
data/dc3dd-7.2.646/lib/sig2str.c:333:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf (signame, delta ? "RTMIN+%d" : "RTMIN", delta);
data/dc3dd-7.2.646/lib/sig2str.c:338:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf (signame, delta ? "RTMAX-%d" : "RTMAX", delta);
data/dc3dd-7.2.646/lib/snprintf.c:41: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/dc3dd-7.2.646/lib/stdio.in.h:58:22:  [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/dc3dd-7.2.646/lib/stdio.in.h:73:11:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  define fprintf rpl_fprintf
data/dc3dd-7.2.646/lib/stdio.in.h:74: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.
extern int fprintf (FILE *fp, const char *format, ...)
data/dc3dd-7.2.646/lib/stdio.in.h:78:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
# undef fprintf
data/dc3dd-7.2.646/lib/stdio.in.h:79: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 \
data/dc3dd-7.2.646/lib/stdio.in.h:83:6:  [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)
data/dc3dd-7.2.646/lib/stdio.in.h:88: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.
#  define vfprintf rpl_vfprintf
data/dc3dd-7.2.646/lib/stdio.in.h:89: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.
extern int vfprintf (FILE *fp, const char *format, va_list args)
data/dc3dd-7.2.646/lib/stdio.in.h:93:9:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
# undef vfprintf
data/dc3dd-7.2.646/lib/stdio.in.h:94: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.
# define vfprintf(s,f,a) \
data/dc3dd-7.2.646/lib/stdio.in.h:98:6:  [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 (s, f, a))
data/dc3dd-7.2.646/lib/stdio.in.h:104:11:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  define printf __printf__
data/dc3dd-7.2.646/lib/stdio.in.h:105:12:  [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.
extern int printf (const char *format, ...)
data/dc3dd-7.2.646/lib/stdio.in.h:109:9:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
# undef printf
data/dc3dd-7.2.646/lib/stdio.in.h:110: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.
# define printf \
data/dc3dd-7.2.646/lib/stdio.in.h:114:6:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
     printf)
data/dc3dd-7.2.646/lib/stdio.in.h:126:11:  [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/dc3dd-7.2.646/lib/stdio.in.h:127: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.
extern int vprintf (const char *format, va_list args)
data/dc3dd-7.2.646/lib/stdio.in.h:131:9:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
# undef vprintf
data/dc3dd-7.2.646/lib/stdio.in.h:132: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.
# define vprintf(f,a) \
data/dc3dd-7.2.646/lib/stdio.in.h:136:6:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
     vprintf (f, a))
data/dc3dd-7.2.646/lib/stdio.in.h:141: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.
#  define snprintf rpl_snprintf
data/dc3dd-7.2.646/lib/stdio.in.h:144: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.
extern int snprintf (char *str, size_t size, const char *format, ...)
data/dc3dd-7.2.646/lib/stdio.in.h:148: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/dc3dd-7.2.646/lib/stdio.in.h:149:10:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
# define snprintf \
data/dc3dd-7.2.646/lib/stdio.in.h:152:6:  [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)
data/dc3dd-7.2.646/lib/stdio.in.h:157:11:  [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/dc3dd-7.2.646/lib/stdio.in.h:160: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.
extern int vsnprintf (char *str, size_t size, const char *format, va_list args)
data/dc3dd-7.2.646/lib/stdio.in.h:164: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/dc3dd-7.2.646/lib/stdio.in.h:165:10:  [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(b,s,f,a) \
data/dc3dd-7.2.646/lib/stdio.in.h:168:6:  [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 (b, s, f, a))
data/dc3dd-7.2.646/lib/stdio.in.h:173:11:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#  define sprintf rpl_sprintf
data/dc3dd-7.2.646/lib/stdio.in.h:174:12:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
extern int sprintf (char *str, const char *format, ...)
data/dc3dd-7.2.646/lib/stdio.in.h:178:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
# undef sprintf
data/dc3dd-7.2.646/lib/stdio.in.h:179:10:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
# define sprintf \
data/dc3dd-7.2.646/lib/stdio.in.h:183:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
     sprintf)
data/dc3dd-7.2.646/lib/stdio.in.h:188:11:  [4] (buffer) vsprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#  define vsprintf rpl_vsprintf
data/dc3dd-7.2.646/lib/stdio.in.h:189:12:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
extern int vsprintf (char *str, const char *format, va_list args)
data/dc3dd-7.2.646/lib/stdio.in.h:193:9:  [4] (buffer) vsprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
# undef vsprintf
data/dc3dd-7.2.646/lib/stdio.in.h:194:10:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
# define vsprintf(b,f,a) \
data/dc3dd-7.2.646/lib/stdio.in.h:198:6:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
     vsprintf (b, f, a))
data/dc3dd-7.2.646/lib/strerror.c:42:7:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      sprintf (mesg, fmt, n);
data/dc3dd-7.2.646/lib/vasnprintf.c:179:20:  [4] (buffer) swprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#  define SNPRINTF swprintf
data/dc3dd-7.2.646/lib/vasnprintf.c:195: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/dc3dd-7.2.646/lib/vasnprintf.c:198: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/dc3dd-7.2.646/lib/vasnprintf.c:200: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/dc3dd-7.2.646/lib/vasnprintf.c:204:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#undef sprintf
data/dc3dd-7.2.646/lib/vasnprintf.c:3357:11:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
				      sprintf ((char *) p, decimal_format, exponent);
data/dc3dd-7.2.646/lib/vasnprintf.c:3365:11:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
				      sprintf (expbuf, decimal_format, exponent);
data/dc3dd-7.2.646/lib/vasnprintf.c:3550:12:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
					      sprintf ((char *) p, decimal_format, exponent);
data/dc3dd-7.2.646/lib/vasnprintf.c:3558:12:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
					      sprintf (expbuf, decimal_format, exponent);
data/dc3dd-7.2.646/lib/vasnprintf.c:4245:12:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			count = sprintf (tmp, buf, arg);		    \
data/dc3dd-7.2.646/lib/vasnprintf.c:4248:12:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			count = sprintf (tmp, buf, prefixes[0], arg);	    \
data/dc3dd-7.2.646/lib/vasnprintf.c:4251:12:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			count = sprintf (tmp, buf, prefixes[0], prefixes[1],\
data/dc3dd-7.2.646/lib/vasnprintf.h:39:22:  [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/dc3dd-7.2.646/lib/version-etc.c:65: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/dc3dd-7.2.646/lib/vfprintf.c:39:1:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
vfprintf (FILE *fp, const char *format, va_list args)
data/dc3dd-7.2.646/lib/vprintf.c:33:1:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
vprintf (const char *format, va_list args)
data/dc3dd-7.2.646/lib/vprintf.c:35:10:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  return vfprintf (stdout, format, args);
data/dc3dd-7.2.646/lib/xprintf.c:48:16:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  int retval = vprintf (format, args);
data/dc3dd-7.2.646/lib/xprintf.c:74:16:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  int retval = vfprintf (stream, format, args);
data/dc3dd-7.2.646/lib/xprintf.h:32:22:  [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/dc3dd-7.2.646/src/dc3dd.c:576: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(stderr, message, args);
data/dc3dd-7.2.646/src/dc3dd.c:578: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.
         vfprintf(log->file, message, arg2);
data/dc3dd-7.2.646/src/dc3dd.c:683:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf(message, _("%s %s at %s\n\n"), PROGRAM_NAME, verb, formatted_stop_time);
data/dc3dd-7.2.646/src/dc3dd.c:693:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf(internal_error, _("%s: internal error %s at line %d"), program_name, assertion, __LINE__);
data/dc3dd-7.2.646/src/dc3dd.c:711:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(message, _("   %s %s (%s)\n"), 
data/dc3dd-7.2.646/src/dc3dd.c:737:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	   sprintf(message, _("      %s %s, sectors %"PRIuMAX" - %"PRIuMAX", %s\n"), 
data/dc3dd-7.2.646/src/dc3dd.c:785:10:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
         sprintf(message, _("   %s (device total %s)\n"), actual_hash->device_hash->result, actual_hash->algorithm->name);
data/dc3dd-7.2.646/src/dc3dd.c:826:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	   sprintf(message, _("       %s| sectors (%s) | %12"PRIuMAX"| %12"PRIuMAX"| %s | %s\n"), 
data/dc3dd-7.2.646/src/dc3dd.c:846:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(message, _("       %s| sectors (%s) | %12"PRIuMAX"| %12"PRIuMAX"| FINAL: %s | %s\n"), 
data/dc3dd-7.2.646/src/dc3dd.c:879:10:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
         sprintf(message, _("   %s (device total %s)\n"), actual_hash->device_hash->result, actual_hash->algorithm->name);
data/dc3dd-7.2.646/src/dc3dd.c:893:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf(message, _("   %s (%s)\n"),
data/dc3dd-7.2.646/src/dc3dd.c:910:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(message, _("      %s, sectors %"PRIuMAX" - %"PRIuMAX"\n"),
data/dc3dd-7.2.646/src/dc3dd.c:931:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(message, _("       %s| sectors (%s) | %12"PRIuMAX"| %12"PRIuMAX"\n"),
data/dc3dd-7.2.646/src/dc3dd.c:942:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf(message, _("       %s| (FINAL: %s)  | %12"PRIuMAX"| %12"PRIuMAX" \n"),
data/dc3dd-7.2.646/src/dc3dd.c:957:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	 sprintf(message,
data/dc3dd-7.2.646/src/dc3dd.c:962:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	 sprintf(message,
data/dc3dd-7.2.646/src/dc3dd.c:976:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf(message, "%s results for %s %s:\n",
data/dc3dd-7.2.646/src/dc3dd.c:986:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(message, _("   %"PRIuMAX" sectors %s\n"), sectors, is_input ? _("in") : _("out"));
data/dc3dd-7.2.646/src/dc3dd.c:988:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(message, _("   %"PRIuMAX" sectors + %"PRIuMAX" bytes %s\n"), 
data/dc3dd-7.2.646/src/dc3dd.c:1020:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(message, _("input results for pattern %s:\n"), quote(input->pattern_string));
data/dc3dd-7.2.646/src/dc3dd.c:1192:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf(stats, _("%12"PRIuMAX" bytes ( %3s ) copied"),
data/dc3dd-7.2.646/src/dc3dd.c:1677:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	       sprintf(message,  _("encountered end of file reading %s to skip sectors"),
data/dc3dd-7.2.646/src/dc3dd.c:2254:10:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
         sprintf(message,  _("encountered end of device reading %s to skip sectors"),
data/dc3dd-7.2.646/src/dc3dd.c:2315:10:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
         sprintf(message,  _("encountered end of file reading %s to skip sectors"),
data/dc3dd-7.2.646/src/dc3dd.c:3488:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf(stats, _("device size: %"PRIuMAX" sectors (probed),   %14s bytes\n"), device->probed_size_in_sectors, 
data/dc3dd-7.2.646/src/dc3dd.c:3523:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf(message, "sector size: %zd bytes (%s)\n", settings->sector_size, settings->sector_size_source);
data/dc3dd-7.2.646/src/dc3dd.c:4374:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf(message, _("command line: %s\n"), command_line);
data/dc3dd-7.2.646/src/dc3dd.c:4392:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf(message, "\n%s %s started at %s\n", PROGRAM_NAME, VERSION, formatted_start_time);
data/dc3dd-7.2.646/src/dc3dd.c:4405:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(message, _("%s specified with no file name"), arg_name);
data/dc3dd-7.2.646/src/system.h:318:7:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
char *getlogin ();
data/dc3dd-7.2.646/lib/argmatch.c:264: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/dc3dd-7.2.646/lib/fnmatch_loop.c:212: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.
	      posixly_correct = getenv ("POSIXLY_CORRECT") != NULL ? 1 : -1;
data/dc3dd-7.2.646/lib/fnmatch_loop.c:992:22:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	  posixly_correct = getenv ("POSIXLY_CORRECT") != NULL ? 1 : -1;
data/dc3dd-7.2.646/lib/fnmatch_loop.c:1045:22:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	  posixly_correct = getenv ("POSIXLY_CORRECT") != NULL ? 1 : -1;
data/dc3dd-7.2.646/lib/getdate.c:3149:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  char *tz = getenv ("TZ");
data/dc3dd-7.2.646/lib/getopt.c:104:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
extern char *getenv ();
data/dc3dd-7.2.646/lib/getopt.c:239:47:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  d->__posixly_correct = posixly_correct || !!getenv ("POSIXLY_CORRECT");
data/dc3dd-7.2.646/lib/getopt.c:1111:1:  [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 (int argc, char *const *argv, const char *optstring)
data/dc3dd-7.2.646/lib/getopt.c:1133: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/dc3dd-7.2.646/lib/getopt.in.h:38: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/dc3dd-7.2.646/lib/getopt.in.h:39: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/dc3dd-7.2.646/lib/getopt.in.h:48: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/dc3dd-7.2.646/lib/getopt.in.h:48: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/dc3dd-7.2.646/lib/getopt.in.h:49: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/dc3dd-7.2.646/lib/getopt.in.h:49: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/dc3dd-7.2.646/lib/getopt.in.h:203: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/dc3dd-7.2.646/lib/getopt.in.h:207: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/dc3dd-7.2.646/lib/getopt1.c:40: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/dc3dd-7.2.646/lib/getopt1.c:105: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/dc3dd-7.2.646/lib/human.c:408:10:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  return getenv ("POSIXLY_CORRECT") ? 512 : DEFAULT_BLOCK_SIZE;
data/dc3dd-7.2.646/lib/human.c:418:20:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      && ! (spec = getenv ("BLOCK_SIZE"))
data/dc3dd-7.2.646/lib/human.c:419:20:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      && ! (spec = getenv ("BLOCKSIZE")))
data/dc3dd-7.2.646/lib/localcharset.c:126: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.
      dir = getenv ("CHARSETALIASDIR");
data/dc3dd-7.2.646/lib/localcharset.c:313: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/dc3dd-7.2.646/lib/localcharset.c:316: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.
	  locale = getenv ("LC_CTYPE");
data/dc3dd-7.2.646/lib/localcharset.c:318:15:  [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/dc3dd-7.2.646/lib/localcharset.c:364: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/dc3dd-7.2.646/lib/localcharset.c:367: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.
	  locale = getenv ("LC_CTYPE");
data/dc3dd-7.2.646/lib/localcharset.c:369:15:  [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/dc3dd-7.2.646/lib/localcharset.c:397: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/dc3dd-7.2.646/lib/localcharset.c:400: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/dc3dd-7.2.646/lib/localcharset.c:402:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	locale = getenv ("LANG");
data/dc3dd-7.2.646/lib/long-options.c:61:15:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
      && (c = getopt_long (argc, argv, "+", long_options, NULL)) != -1)
data/dc3dd-7.2.646/lib/posixver.c:44:19:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  char const *s = getenv ("_POSIX2_VERSION");
data/dc3dd-7.2.646/lib/rpmatch.c:135: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/dc3dd-7.2.646/lib/tempname.c:79: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.
# define __secure_getenv getenv
data/dc3dd-7.2.646/src/dc3dd.c:4674:8:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
   if (getopt_long(argc, argv, "", NULL, NULL) != -1) {
data/dc3dd-7.2.646/src/system.h:310: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/dc3dd-7.2.646/build-aux/link-warning.h:18: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.
     ({ static const char warning[sizeof (message)]		\
data/dc3dd-7.2.646/lib/alloca.c:136:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/dc3dd-7.2.646/lib/argmatch.c:256: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.
  program_name = (char *) argv[0];
data/dc3dd-7.2.646/lib/at-func.c:41:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[OPENAT_BUFFER_SIZE];
data/dc3dd-7.2.646/lib/base64.c:75:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static const char b64str[64] =
data/dc3dd-7.2.646/lib/base64.c:226:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const signed char b64[0x100] = {
data/dc3dd-7.2.646/lib/base64.h:38:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[4];
data/dc3dd-7.2.646/lib/basename.c:97: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/dc3dd-7.2.646/lib/canonicalize.c:244: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.
	  dest = memcpy (dest, start, end - start);
data/dc3dd-7.2.646/lib/canonicalize.c:301: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.
	      name = end = memcpy (extra_buf, buf, n);
data/dc3dd-7.2.646/lib/chown.c:37:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#undef open
data/dc3dd-7.2.646/lib/chown.c:74: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/dc3dd-7.2.646/lib/chown.c:77: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).
	    && 0 <= (fd = open (file, O_WRONLY | open_flags))))
data/dc3dd-7.2.646/lib/diacrit.c:35:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char diacrit_base[256] =
data/dc3dd-7.2.646/lib/diacrit.c:103:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char diacrit_diac[256] =
data/dc3dd-7.2.646/lib/dirname.c:79: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/dc3dd-7.2.646/lib/error.c:110:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/dc3dd-7.2.646/lib/exclude.c:229: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/dc3dd-7.2.646/lib/fchdir.c:98: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/dc3dd-7.2.646/lib/fchdir.c:123: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, flags, mode);
data/dc3dd-7.2.646/lib/fcntl--.h:23:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#undef open
data/dc3dd-7.2.646/lib/fcntl--.h:24:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#define open open_safer
data/dc3dd-7.2.646/lib/fcntl.in.h:39:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
# define open rpl_open
data/dc3dd-7.2.646/lib/fcntl.in.h:40: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).
extern int open (const char *filename, int flags, ...);
data/dc3dd-7.2.646/lib/fd-reopen.c:34:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  int fd = open (file, flags, mode);
data/dc3dd-7.2.646/lib/filenamecat.c:32: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/dc3dd-7.2.646/lib/fnmatch.c:171: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/dc3dd-7.2.646/lib/fnmatch.c:216:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/dc3dd-7.2.646/lib/fnmatch_loop.c:465: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 str[c1];
data/dc3dd-7.2.646/lib/fnmatch_loop.c:686: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 str[c1];
data/dc3dd-7.2.646/lib/fopen-safer.c:37:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE *fp = fopen (file, mode);
data/dc3dd-7.2.646/lib/freadseek.c:112:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[4096];
data/dc3dd-7.2.646/lib/fseeko.c:57: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/dc3dd-7.2.646/lib/fsusage.c:60:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#undef open
data/dc3dd-7.2.646/lib/fsusage.c:138: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 (disk, O_RDONLY);
data/dc3dd-7.2.646/lib/ftello.c:45: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/dc3dd-7.2.646/lib/getcwd.c:137:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/dc3dd-7.2.646/lib/getcwd.c:334: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 (dotlist + dotlen, d->d_name, _D_ALLOC_NAMLEN (d));
data/dc3dd-7.2.646/lib/getcwd.c:370: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.
	      dirp = memcpy (tmp + allocated - (oldsize - dirroom),
data/dc3dd-7.2.646/lib/getcwd.c:377: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/dc3dd-7.2.646/lib/getdate.c:1300:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/dc3dd-7.2.646/lib/getdate.c:1536:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/dc3dd-7.2.646/lib/getdate.c:3070: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 buff[20];
data/dc3dd-7.2.646/lib/getdate.c:3146:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char *
data/dc3dd-7.2.646/lib/getdate.c:3147: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.
get_tz (char tzbuf[TZBUFSIZE])
data/dc3dd-7.2.646/lib/getdate.c:3154: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 (tzbuf, tz, tzsize)
data/dc3dd-7.2.646/lib/getdate.c:3177:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char tz0buf[TZBUFSIZE];
data/dc3dd-7.2.646/lib/getdate.c:3213: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 tz1buf[TZBUFSIZE];
data/dc3dd-7.2.646/lib/getdate.c:3379: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 tz1buf[sizeof "XXX+0:00"
data/dc3dd-7.2.646/lib/getdate.c:3496:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/dc3dd-7.2.646/lib/getloadavg.c:605:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char ldavgbuf[3 * (INT_STRLEN_BOUND (int) + sizeof ".00 ")];
data/dc3dd-7.2.646/lib/getloadavg.c:609:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fd = open (LINUX_LDAV_FILE, O_RDONLY);
data/dc3dd-7.2.646/lib/getloadavg.c:648:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp = fopen (NETBSD_LDAV_FILE, "r");
data/dc3dd-7.2.646/lib/getloadavg.c:939: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).
      channel = open ("/dev/kmem", O_RDONLY);
data/dc3dd-7.2.646/lib/getloadavg.c:1016:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    naptime = atoi (argv[1]);
data/dc3dd-7.2.646/lib/getndelim2.c:190: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 (read_pos, buffer, copy_len);
data/dc3dd-7.2.646/lib/getpass.c:102:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  tty = fopen ("/dev/tty", "w+");
data/dc3dd-7.2.646/lib/getpass.c:196:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char getpassbuf[PASS_MAX + 1];
data/dc3dd-7.2.646/lib/gettext.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 msg_ctxt_id[msgctxt_len + msgid_len];
data/dc3dd-7.2.646/lib/gettext.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 buf[1024];
data/dc3dd-7.2.646/lib/gettext.h:213: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/dc3dd-7.2.646/lib/gettext.h:215: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/dc3dd-7.2.646/lib/gettext.h:249:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/dc3dd-7.2.646/lib/gettext.h:251:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/dc3dd-7.2.646/lib/gettext.h:259: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/dc3dd-7.2.646/lib/gettext.h:261: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/dc3dd-7.2.646/lib/human.c:90:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[2 * INT_STRLEN_BOUND (uintmax_t) + 1];
data/dc3dd-7.2.646/lib/human.c:92: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/dc3dd-7.2.646/lib/human.c:110: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/dc3dd-7.2.646/lib/human.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 (d, thousands_sep, thousands_seplen);
data/dc3dd-7.2.646/lib/human.c:232: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 (buf, "%.0Lf", adjust_value (inexact_style, damt));
data/dc3dd-7.2.646/lib/human.c:250: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 (buf, "%.1Lf", adjust_value (inexact_style, damt));
data/dc3dd-7.2.646/lib/human.c:258:6:  [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/dc3dd-7.2.646/lib/human.c:318:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		    memcpy (p, decimal_point, decimal_pointlen);
data/dc3dd-7.2.646/lib/human.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 (p, decimal_point, decimal_pointlen);
data/dc3dd-7.2.646/lib/iconv_open-aix.h:33:43:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
struct mapping { int standard_name; const char vendor_name[10 + 1]; };
data/dc3dd-7.2.646/lib/iconv_open-aix.h:86:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str6[sizeof("EUC-TW")];
data/dc3dd-7.2.646/lib/iconv_open-aix.h:87:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str7[sizeof("EUC-KR")];
data/dc3dd-7.2.646/lib/iconv_open-aix.h:88:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str8[sizeof("CP852")];
data/dc3dd-7.2.646/lib/iconv_open-aix.h:89:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str9[sizeof("EUC-JP")];
data/dc3dd-7.2.646/lib/iconv_open-aix.h:90:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str10[sizeof("ISO-8859-2")];
data/dc3dd-7.2.646/lib/iconv_open-aix.h:91:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str11[sizeof("CP857")];
data/dc3dd-7.2.646/lib/iconv_open-aix.h:92:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str12[sizeof("CP850")];
data/dc3dd-7.2.646/lib/iconv_open-aix.h:93:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str13[sizeof("ISO-8859-7")];
data/dc3dd-7.2.646/lib/iconv_open-aix.h:94:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str14[sizeof("CP932")];
data/dc3dd-7.2.646/lib/iconv_open-aix.h:95:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str15[sizeof("GB2312")];
data/dc3dd-7.2.646/lib/iconv_open-aix.h:96:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str16[sizeof("BIG5")];
data/dc3dd-7.2.646/lib/iconv_open-aix.h:97:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str17[sizeof("CP437")];
data/dc3dd-7.2.646/lib/iconv_open-aix.h:98:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str19[sizeof("ISO-8859-5")];
data/dc3dd-7.2.646/lib/iconv_open-aix.h:99:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str20[sizeof("ISO-8859-15")];
data/dc3dd-7.2.646/lib/iconv_open-aix.h:100:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str21[sizeof("ISO-8859-3")];
data/dc3dd-7.2.646/lib/iconv_open-aix.h:101:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str22[sizeof("ISO-8859-13")];
data/dc3dd-7.2.646/lib/iconv_open-aix.h:102:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str23[sizeof("CP1046")];
data/dc3dd-7.2.646/lib/iconv_open-aix.h:103:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str24[sizeof("ISO-8859-8")];
data/dc3dd-7.2.646/lib/iconv_open-aix.h:104:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str25[sizeof("CP856")];
data/dc3dd-7.2.646/lib/iconv_open-aix.h:105:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str26[sizeof("CP1125")];
data/dc3dd-7.2.646/lib/iconv_open-aix.h:106:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str27[sizeof("ISO-8859-6")];
data/dc3dd-7.2.646/lib/iconv_open-aix.h:107:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str28[sizeof("CP865")];
data/dc3dd-7.2.646/lib/iconv_open-aix.h:108:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str29[sizeof("CP922")];
data/dc3dd-7.2.646/lib/iconv_open-aix.h:109:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str30[sizeof("CP1252")];
data/dc3dd-7.2.646/lib/iconv_open-aix.h:110:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str31[sizeof("ISO-8859-9")];
data/dc3dd-7.2.646/lib/iconv_open-aix.h:111:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str33[sizeof("CP943")];
data/dc3dd-7.2.646/lib/iconv_open-aix.h:112:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str34[sizeof("ISO-8859-4")];
data/dc3dd-7.2.646/lib/iconv_open-aix.h:113:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str35[sizeof("ISO-8859-1")];
data/dc3dd-7.2.646/lib/iconv_open-aix.h:114:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str38[sizeof("CP1129")];
data/dc3dd-7.2.646/lib/iconv_open-aix.h:115:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str40[sizeof("CP869")];
data/dc3dd-7.2.646/lib/iconv_open-aix.h:116:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str41[sizeof("CP1124")];
data/dc3dd-7.2.646/lib/iconv_open-aix.h:117:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str44[sizeof("CP861")];
data/dc3dd-7.2.646/lib/iconv_open-hpux.h:33:43:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
struct mapping { int standard_name; const char vendor_name[9 + 1]; };
data/dc3dd-7.2.646/lib/iconv_open-hpux.h:86:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str6[sizeof("CP1256")];
data/dc3dd-7.2.646/lib/iconv_open-hpux.h:87:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str7[sizeof("CP1250")];
data/dc3dd-7.2.646/lib/iconv_open-hpux.h:88:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str8[sizeof("CP1251")];
data/dc3dd-7.2.646/lib/iconv_open-hpux.h:89:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str9[sizeof("CP850")];
data/dc3dd-7.2.646/lib/iconv_open-hpux.h:90:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str10[sizeof("TIS-620")];
data/dc3dd-7.2.646/lib/iconv_open-hpux.h:91:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str11[sizeof("CP1254")];
data/dc3dd-7.2.646/lib/iconv_open-hpux.h:92:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str12[sizeof("ISO-8859-6")];
data/dc3dd-7.2.646/lib/iconv_open-hpux.h:93:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str13[sizeof("EUC-TW")];
data/dc3dd-7.2.646/lib/iconv_open-hpux.h:94:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str14[sizeof("ISO-8859-1")];
data/dc3dd-7.2.646/lib/iconv_open-hpux.h:95:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str15[sizeof("ISO-8859-9")];
data/dc3dd-7.2.646/lib/iconv_open-hpux.h:96:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str16[sizeof("CP1255")];
data/dc3dd-7.2.646/lib/iconv_open-hpux.h:97:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str17[sizeof("BIG5")];
data/dc3dd-7.2.646/lib/iconv_open-hpux.h:98:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str18[sizeof("CP855")];
data/dc3dd-7.2.646/lib/iconv_open-hpux.h:99:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str19[sizeof("CP1257")];
data/dc3dd-7.2.646/lib/iconv_open-hpux.h:100:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str20[sizeof("EUC-KR")];
data/dc3dd-7.2.646/lib/iconv_open-hpux.h:101:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str21[sizeof("CP857")];
data/dc3dd-7.2.646/lib/iconv_open-hpux.h:102:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str22[sizeof("ISO-8859-5")];
data/dc3dd-7.2.646/lib/iconv_open-hpux.h:103:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str23[sizeof("ISO-8859-15")];
data/dc3dd-7.2.646/lib/iconv_open-hpux.h:104:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str24[sizeof("CP866")];
data/dc3dd-7.2.646/lib/iconv_open-hpux.h:105:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str25[sizeof("ISO-8859-7")];
data/dc3dd-7.2.646/lib/iconv_open-hpux.h:106:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str26[sizeof("CP861")];
data/dc3dd-7.2.646/lib/iconv_open-hpux.h:107:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str27[sizeof("CP869")];
data/dc3dd-7.2.646/lib/iconv_open-hpux.h:108:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str28[sizeof("CP874")];
data/dc3dd-7.2.646/lib/iconv_open-hpux.h:109:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str29[sizeof("CP864")];
data/dc3dd-7.2.646/lib/iconv_open-hpux.h:110:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str30[sizeof("CP1252")];
data/dc3dd-7.2.646/lib/iconv_open-hpux.h:111:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str31[sizeof("CP437")];
data/dc3dd-7.2.646/lib/iconv_open-hpux.h:112:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str32[sizeof("CP852")];
data/dc3dd-7.2.646/lib/iconv_open-hpux.h:113:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str33[sizeof("CP775")];
data/dc3dd-7.2.646/lib/iconv_open-hpux.h:114:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str34[sizeof("CP865")];
data/dc3dd-7.2.646/lib/iconv_open-hpux.h:115:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str35[sizeof("EUC-JP")];
data/dc3dd-7.2.646/lib/iconv_open-hpux.h:116:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str36[sizeof("ISO-8859-2")];
data/dc3dd-7.2.646/lib/iconv_open-hpux.h:117:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str37[sizeof("SHIFT_JIS")];
data/dc3dd-7.2.646/lib/iconv_open-hpux.h:118:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str38[sizeof("CP1258")];
data/dc3dd-7.2.646/lib/iconv_open-hpux.h:119:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str39[sizeof("UTF-8")];
data/dc3dd-7.2.646/lib/iconv_open-hpux.h:120:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str40[sizeof("HP-KANA8")];
data/dc3dd-7.2.646/lib/iconv_open-hpux.h:121:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str41[sizeof("HP-ROMAN8")];
data/dc3dd-7.2.646/lib/iconv_open-hpux.h:122:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str42[sizeof("HP-HEBREW8")];
data/dc3dd-7.2.646/lib/iconv_open-hpux.h:123:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str43[sizeof("GB2312")];
data/dc3dd-7.2.646/lib/iconv_open-hpux.h:124:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str44[sizeof("ISO-8859-8")];
data/dc3dd-7.2.646/lib/iconv_open-hpux.h:125:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str45[sizeof("HP-TURKISH8")];
data/dc3dd-7.2.646/lib/iconv_open-hpux.h:126:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str46[sizeof("HP-GREEK8")];
data/dc3dd-7.2.646/lib/iconv_open-hpux.h:127:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str47[sizeof("HP-ARABIC8")];
data/dc3dd-7.2.646/lib/iconv_open-hpux.h:128:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str48[sizeof("CP862")];
data/dc3dd-7.2.646/lib/iconv_open-hpux.h:129:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str49[sizeof("CP1253")];
data/dc3dd-7.2.646/lib/iconv_open-irix.h:33:43:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
struct mapping { int standard_name; const char vendor_name[10 + 1]; };
data/dc3dd-7.2.646/lib/iconv_open-irix.h:86:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str5[sizeof("CP855")];
data/dc3dd-7.2.646/lib/iconv_open-irix.h:87:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str6[sizeof("EUC-TW")];
data/dc3dd-7.2.646/lib/iconv_open-irix.h:88:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str7[sizeof("EUC-KR")];
data/dc3dd-7.2.646/lib/iconv_open-irix.h:89:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str8[sizeof("CP1251")];
data/dc3dd-7.2.646/lib/iconv_open-irix.h:90:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str9[sizeof("SHIFT_JIS")];
data/dc3dd-7.2.646/lib/iconv_open-irix.h:91:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str10[sizeof("ISO-8859-5")];
data/dc3dd-7.2.646/lib/iconv_open-irix.h:92:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str11[sizeof("ISO-8859-15")];
data/dc3dd-7.2.646/lib/iconv_open-irix.h:93:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str12[sizeof("ISO-8859-1")];
data/dc3dd-7.2.646/lib/iconv_open-irix.h:94:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str13[sizeof("EUC-JP")];
data/dc3dd-7.2.646/lib/iconv_open-irix.h:95:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str14[sizeof("KOI8-R")];
data/dc3dd-7.2.646/lib/iconv_open-irix.h:96:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str15[sizeof("ISO-8859-2")];
data/dc3dd-7.2.646/lib/iconv_open-irix.h:97:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str16[sizeof("GB2312")];
data/dc3dd-7.2.646/lib/iconv_open-irix.h:98:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str17[sizeof("ISO-8859-9")];
data/dc3dd-7.2.646/lib/iconv_open-irix.h:99:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str18[sizeof("ISO-8859-8")];
data/dc3dd-7.2.646/lib/iconv_open-irix.h:100:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str19[sizeof("ISO-8859-7")];
data/dc3dd-7.2.646/lib/iconv_open-irix.h:101:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str20[sizeof("ISO-8859-6")];
data/dc3dd-7.2.646/lib/iconv_open-irix.h:102:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str21[sizeof("ISO-8859-4")];
data/dc3dd-7.2.646/lib/iconv_open-irix.h:103:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str22[sizeof("ISO-8859-3")];
data/dc3dd-7.2.646/lib/iconv_open-irix.h:104:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str23[sizeof("TIS-620")];
data/dc3dd-7.2.646/lib/iconv_open-osf.h:33:43:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
struct mapping { int standard_name; const char vendor_name[10 + 1]; };
data/dc3dd-7.2.646/lib/iconv_open-osf.h:86:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str6[sizeof("CP1255")];
data/dc3dd-7.2.646/lib/iconv_open-osf.h:87:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str7[sizeof("CP775")];
data/dc3dd-7.2.646/lib/iconv_open-osf.h:88:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str8[sizeof("CP1250")];
data/dc3dd-7.2.646/lib/iconv_open-osf.h:89:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str9[sizeof("EUC-TW")];
data/dc3dd-7.2.646/lib/iconv_open-osf.h:90:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str10[sizeof("EUC-KR")];
data/dc3dd-7.2.646/lib/iconv_open-osf.h:91:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str11[sizeof("TIS-620")];
data/dc3dd-7.2.646/lib/iconv_open-osf.h:92:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str12[sizeof("ISO-8859-5")];
data/dc3dd-7.2.646/lib/iconv_open-osf.h:93:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str13[sizeof("ISO-8859-15")];
data/dc3dd-7.2.646/lib/iconv_open-osf.h:94:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str14[sizeof("BIG5")];
data/dc3dd-7.2.646/lib/iconv_open-osf.h:95:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str15[sizeof("CP855")];
data/dc3dd-7.2.646/lib/iconv_open-osf.h:96:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str16[sizeof("CP1258")];
data/dc3dd-7.2.646/lib/iconv_open-osf.h:97:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str17[sizeof("CP850")];
data/dc3dd-7.2.646/lib/iconv_open-osf.h:98:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str18[sizeof("CP865")];
data/dc3dd-7.2.646/lib/iconv_open-osf.h:99:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str19[sizeof("EUC-JP")];
data/dc3dd-7.2.646/lib/iconv_open-osf.h:100:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str20[sizeof("CP1257")];
data/dc3dd-7.2.646/lib/iconv_open-osf.h:101:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str21[sizeof("CP1256")];
data/dc3dd-7.2.646/lib/iconv_open-osf.h:102:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str22[sizeof("ISO-8859-8")];
data/dc3dd-7.2.646/lib/iconv_open-osf.h:103:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str23[sizeof("SHIFT_JIS")];
data/dc3dd-7.2.646/lib/iconv_open-osf.h:104:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str25[sizeof("ISO-8859-9")];
data/dc3dd-7.2.646/lib/iconv_open-osf.h:105:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str26[sizeof("ISO-8859-7")];
data/dc3dd-7.2.646/lib/iconv_open-osf.h:106:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str27[sizeof("ISO-8859-6")];
data/dc3dd-7.2.646/lib/iconv_open-osf.h:107:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str29[sizeof("CP857")];
data/dc3dd-7.2.646/lib/iconv_open-osf.h:108:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str30[sizeof("CP1252")];
data/dc3dd-7.2.646/lib/iconv_open-osf.h:109:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str31[sizeof("CP869")];
data/dc3dd-7.2.646/lib/iconv_open-osf.h:110:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str32[sizeof("CP949")];
data/dc3dd-7.2.646/lib/iconv_open-osf.h:111:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str33[sizeof("CP866")];
data/dc3dd-7.2.646/lib/iconv_open-osf.h:112:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str34[sizeof("CP437")];
data/dc3dd-7.2.646/lib/iconv_open-osf.h:113:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str35[sizeof("CP1251")];
data/dc3dd-7.2.646/lib/iconv_open-osf.h:114:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str36[sizeof("ISO-8859-2")];
data/dc3dd-7.2.646/lib/iconv_open-osf.h:115:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str37[sizeof("CP1254")];
data/dc3dd-7.2.646/lib/iconv_open-osf.h:116:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str38[sizeof("CP874")];
data/dc3dd-7.2.646/lib/iconv_open-osf.h:117:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str39[sizeof("CP852")];
data/dc3dd-7.2.646/lib/iconv_open-osf.h:118:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str40[sizeof("CP1253")];
data/dc3dd-7.2.646/lib/iconv_open-osf.h:119:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str41[sizeof("ISO-8859-1")];
data/dc3dd-7.2.646/lib/iconv_open-osf.h:120:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str42[sizeof("CP862")];
data/dc3dd-7.2.646/lib/iconv_open-osf.h:121:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str43[sizeof("ISO-8859-4")];
data/dc3dd-7.2.646/lib/iconv_open-osf.h:122:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str46[sizeof("ISO-8859-3")];
data/dc3dd-7.2.646/lib/iconv_open-osf.h:123:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stringpool_str47[sizeof("CP861")];
data/dc3dd-7.2.646/lib/iconv_open.c:51:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char fromcode_upper[32];
data/dc3dd-7.2.646/lib/iconv_open.c:52:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char tocode_upper[32];
data/dc3dd-7.2.646/lib/idcache.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[FLEXIBLE_ARRAY_MEMBER];
data/dc3dd-7.2.646/lib/localcharset.c:138: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 (file_name, dir, dir_len);
data/dc3dd-7.2.646/lib/localcharset.c:141: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 (file_name + dir_len + add_slash, base, base_len + 1);
data/dc3dd-7.2.646/lib/localcharset.c:145:38:  [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 (file_name == NULL || (fp = fopen (file_name, "r")) == NULL)
data/dc3dd-7.2.646/lib/localcharset.c:157: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 buf1[50+1];
data/dc3dd-7.2.646/lib/localcharset.c:158: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 buf2[50+1];
data/dc3dd-7.2.646/lib/localcharset.c:311: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/dc3dd-7.2.646/lib/localcharset.c:337:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		  memcpy (buf, dot, modifier - dot);
data/dc3dd-7.2.646/lib/localcharset.c:345: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/dc3dd-7.2.646/lib/localcharset.c:382: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/dc3dd-7.2.646/lib/localcharset.c:385: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, "CP%u", GetACP ());
data/dc3dd-7.2.646/lib/localcharset.c:391: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/dc3dd-7.2.646/lib/localcharset.c:420: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 (buf, dot, modifier - dot);
data/dc3dd-7.2.646/lib/localcharset.c:436:4:  [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/dc3dd-7.2.646/lib/malloca.c:51:41:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
struct preliminary_header { void *next; char room[MAGIC_SIZE]; };
data/dc3dd-7.2.646/lib/malloca.c:55: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.
struct header { void *next; char room[HEADER_SIZE - sizeof (struct preliminary_header) + MAGIC_SIZE]; };
data/dc3dd-7.2.646/lib/mbchar.h:167:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/dc3dd-7.2.646/lib/mbchar.h:264: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/dc3dd-7.2.646/lib/mbiter.h:187: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/dc3dd-7.2.646/lib/mbsstr.c:266: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 (&rhaystack, &iter_haystack, sizeof (mbui_iterator_t));
data/dc3dd-7.2.646/lib/mbuiter.h:194: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/dc3dd-7.2.646/lib/md5.c:69:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const unsigned char fillbuf[64] = { 0x80, 0 /* , 0, 0, ...  */ };
data/dc3dd-7.2.646/lib/md5.c:92:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (cp, &v, sizeof v);
data/dc3dd-7.2.646/lib/md5.c:127:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (&((char *) ctx->buffer)[bytes], fillbuf, (size - 2) * 4 - bytes);
data/dc3dd-7.2.646/lib/md5.c:142:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[BLOCKSIZE + 72];
data/dc3dd-7.2.646/lib/md5.c: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 (&((char *) ctx->buffer)[left_over], buffer, add);
data/dc3dd-7.2.646/lib/md5.c:240: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 (ctx->buffer,
data/dc3dd-7.2.646/lib/md5.c:258: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.
	    md5_process_block (memcpy (ctx->buffer, buffer, 64), 64, ctx);
data/dc3dd-7.2.646/lib/md5.c:276:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (&((char *) ctx->buffer)[left_over], buffer, len);
data/dc3dd-7.2.646/lib/md5.c:282: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 (ctx->buffer, &ctx->buffer[16], left_over);
data/dc3dd-7.2.646/lib/memcpy.c:27:1:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
memcpy (void *destaddr, void const *srcaddr, size_t len)
data/dc3dd-7.2.646/lib/mempcpy.c:31: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/dc3dd-7.2.646/lib/memxfrm.c:75: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 stackbuf[4000];
data/dc3dd-7.2.646/lib/memxfrm.c:84: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 (dest + di, buf, destsize - di);
data/dc3dd-7.2.646/lib/memxfrm.c:100: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 (dest, src, srcsize);
data/dc3dd-7.2.646/lib/mkstemp-safer.c:33:20:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
  return fd_safer (mkstemp (templ));
data/dc3dd-7.2.646/lib/mkstemp.c:40:1:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
mkstemp (template)
data/dc3dd-7.2.646/lib/mktime.c:108: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.
#define verify(name, assertion) struct name { char a[(assertion) ? 1 : -1]; }
data/dc3dd-7.2.646/lib/mktime.c:590:38:  [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).
      tm.tm_isdst = argc == 3 ? -1 : atoi (argv[3]);
data/dc3dd-7.2.646/lib/mktime.c:606:21:  [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).
      time_t from = atol (argv[1]);
data/dc3dd-7.2.646/lib/mktime.c:607:19:  [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).
      time_t by = atol (argv[2]);
data/dc3dd-7.2.646/lib/mktime.c:608:19:  [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).
      time_t to = atol (argv[3]);
data/dc3dd-7.2.646/lib/mountlist.c:143: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/dc3dd-7.2.646/lib/mountlist.c:643:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp = fopen (table, "r");
data/dc3dd-7.2.646/lib/mountlist.c:654:2:  [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 (me->me_devname, "/dev/");
data/dc3dd-7.2.646/lib/mountlist.c:665: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 typebuf[FSTYPSZ];
data/dc3dd-7.2.646/lib/mountlist.c:735:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    lockfd = open (MNTTAB_LOCK, O_RDONLY);
data/dc3dd-7.2.646/lib/mountlist.c:757:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp = fopen (table, "r");
data/dc3dd-7.2.646/lib/mpsort.c:78:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (tmp, base + a, (alim - a) * sizeof *base);
data/dc3dd-7.2.646/lib/mpsort.c:140: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 (base + i, tmp + t, (tlim - t) * sizeof *base);
data/dc3dd-7.2.646/lib/obstack.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	contents[4];		/* objects begin here */
data/dc3dd-7.2.646/lib/obstack.h:301: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 (__o->next_free, where, __len);				\
data/dc3dd-7.2.646/lib/obstack.h:311: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 (__o->next_free, where, __len);				\
data/dc3dd-7.2.646/lib/obstack.h:437: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 ((h)->next_free, where, (h)->temp.tempint),			\
data/dc3dd-7.2.646/lib/obstack.h:444: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 ((h)->next_free, where, (h)->temp.tempint),			\
data/dc3dd-7.2.646/lib/open-safer.c:48: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/dc3dd-7.2.646/lib/openat-priv.h:24: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/dc3dd-7.2.646/lib/openat-priv.h:24: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/dc3dd-7.2.646/lib/openat-proc.c:38: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/dc3dd-7.2.646/lib/openat-proc.c:52: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/dc3dd-7.2.646/lib/openat-proc.c:53: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/dc3dd-7.2.646/lib/openat-proc.c:67: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).
      int proc_self_fd = open ("/proc/self/fd", O_RDONLY);
data/dc3dd-7.2.646/lib/openat-proc.c:74: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 dotdot_buf[PROC_SELF_FD_NAME_SIZE_BOUND (sizeof ".." - 1)];
data/dc3dd-7.2.646/lib/openat.c:84: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/dc3dd-7.2.646/lib/openat.c:87:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[OPENAT_BUFFER_SIZE];
data/dc3dd-7.2.646/lib/openat.c:91:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	int open_result = open (proc_file, flags, mode);
data/dc3dd-7.2.646/lib/openat.c:119: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/dc3dd-7.2.646/lib/openat.c:140: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_RDONLY);
data/dc3dd-7.2.646/lib/openat.c:144: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/dc3dd-7.2.646/lib/openat.c:179:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/dc3dd-7.2.646/lib/posixtm.c:299:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[MAX_BUFF_LEN + 1];
data/dc3dd-7.2.646/lib/posixtm.c:304: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_str[MAX_BUFF_LEN];
data/dc3dd-7.2.646/lib/propername.c:210: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 (locale_code_translit, locale_code, len);
data/dc3dd-7.2.646/lib/propername.c:211: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 (locale_code_translit + len, "//TRANSLIT", 10 + 1);
data/dc3dd-7.2.646/lib/putenv.c:121:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      (void) memcpy ((void *) new_environ, (void *) environ,
data/dc3dd-7.2.646/lib/quotearg.c:650: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/dc3dd-7.2.646/lib/rand-isaac.c:233: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 (s->iv, iv, sizeof s->iv);
data/dc3dd-7.2.646/lib/randint.c:141: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.
	  unsigned char buf[sizeof randnum];
data/dc3dd-7.2.646/lib/randread.c:95:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char c[RANDREAD_BUFFER_SIZE];
data/dc3dd-7.2.646/lib/randread.c:110: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.
	unsigned char b[ISAAC_BYTES];
data/dc3dd-7.2.646/lib/randread.c:238: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 (p, isaac->data.b + ISAAC_BYTES - inbytes, size);
data/dc3dd-7.2.646/lib/randread.c:243:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (p, isaac->data.b + ISAAC_BYTES - inbytes, inbytes);
data/dc3dd-7.2.646/lib/readtokens.c:74: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 isdelim[256];
data/dc3dd-7.2.646/lib/readtokens.c:194:26:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      tokens[n_tokens] = memcpy (tmp, token->buffer, token_length + 1);
data/dc3dd-7.2.646/lib/readutmp.c:135:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE *f = fopen (file, "r");
data/dc3dd-7.2.646/lib/regcomp.c:327: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/dc3dd-7.2.646/lib/regcomp.c:391: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[256];
data/dc3dd-7.2.646/lib/regcomp.c:554: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/dc3dd-7.2.646/lib/regcomp.c:2621:5:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    wchar_t cmp_buf[6] = {L'\0', L'\0', L'\0', L'\0', L'\0', L'\0'};
data/dc3dd-7.2.646/lib/regcomp.c:3073: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/dc3dd-7.2.646/lib/regcomp.c:3074: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/dc3dd-7.2.646/lib/regcomp.c:3393: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/dc3dd-7.2.646/lib/regex.h:664: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/dc3dd-7.2.646/lib/regex_internal.c:209: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/dc3dd-7.2.646/lib/regex_internal.c:212: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/dc3dd-7.2.646/lib/regex_internal.c:280:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/dc3dd-7.2.646/lib/regex_internal.c:283:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/dc3dd-7.2.646/lib/regex_internal.c:325: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/dc3dd-7.2.646/lib/regex_internal.c:333: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/dc3dd-7.2.646/lib/regex_internal.c:393: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/dc3dd-7.2.646/lib/regex_internal.c:418: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/dc3dd-7.2.646/lib/regex_internal.c:437: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 (pstr->mbs + byte_idx, p, mbclen);
data/dc3dd-7.2.646/lib/regex_internal.c:440: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/dc3dd-7.2.646/lib/regex_internal.c:739:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			  unsigned char buf[6];
data/dc3dd-7.2.646/lib/regex_internal.c:1041: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/dc3dd-7.2.646/lib/regex_internal.c:1135: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/dc3dd-7.2.646/lib/regex_internal.c:1179: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/dc3dd-7.2.646/lib/regex_internal.c:1185: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/dc3dd-7.2.646/lib/regex_internal.c:1216: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/dc3dd-7.2.646/lib/regex_internal.c:1238: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/dc3dd-7.2.646/lib/regex_internal.c:1266: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/dc3dd-7.2.646/lib/regex_internal.h:777: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/dc3dd-7.2.646/lib/regexec.c:396: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/dc3dd-7.2.646/lib/regexec.c:398: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/dc3dd-7.2.646/lib/regexec.c:399: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/dc3dd-7.2.646/lib/regexec.c:1407: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/dc3dd-7.2.646/lib/regexec.c:1420: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/dc3dd-7.2.646/lib/regexec.c:1474: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/dc3dd-7.2.646/lib/regexec.c:1584: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/dc3dd-7.2.646/lib/regexec.c:1595: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/dc3dd-7.2.646/lib/save-cwd.c:39: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/dc3dd-7.2.646/lib/save-cwd.c:40:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
# define open(File, Flags) (-1)
data/dc3dd-7.2.646/lib/save-cwd.c:72: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_RDONLY);
data/dc3dd-7.2.646/lib/savedir.c:99: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 (name_space + used, entry, entry_size);
data/dc3dd-7.2.646/lib/savewd.c:100:34:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
savewd_chdir (struct savewd *wd, char const *dir, int options,
data/dc3dd-7.2.646/lib/savewd.c:111:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      fd = open (dir,
data/dc3dd-7.2.646/lib/savewd.h:108:38:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
int savewd_chdir (struct savewd *wd, char const *dir, int options,
data/dc3dd-7.2.646/lib/setenv.c:170: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 (new_value, name, namelen);
data/dc3dd-7.2.646/lib/setenv.c:172: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 (&new_value[namelen + 1], value, vallen);
data/dc3dd-7.2.646/lib/setenv.c:191: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_environ[size], new_value, namelen + 1 + vallen);
data/dc3dd-7.2.646/lib/setenv.c:193: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_environ[size], name, namelen);
data/dc3dd-7.2.646/lib/setenv.c:195: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_environ[size][namelen + 1], value, vallen);
data/dc3dd-7.2.646/lib/setenv.c:208: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 ((char *) new_environ, (char *) __environ,
data/dc3dd-7.2.646/lib/setenv.c:238: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 (new_value, name, namelen);
data/dc3dd-7.2.646/lib/setenv.c:240: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 (&new_value[namelen + 1], value, vallen);
data/dc3dd-7.2.646/lib/setenv.c:259: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, new_value, namelen + 1 + vallen);
data/dc3dd-7.2.646/lib/setenv.c:261: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, name, namelen);
data/dc3dd-7.2.646/lib/setenv.c:263: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[namelen + 1], value, vallen);
data/dc3dd-7.2.646/lib/sha1.c:54:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const unsigned char fillbuf[64] = { 0x80, 0 /* , 0, 0, ...  */ };
data/dc3dd-7.2.646/lib/sha1.c:79:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (cp, &v, sizeof v);
data/dc3dd-7.2.646/lib/sha1.c:115:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (&((char *) ctx->buffer)[bytes], fillbuf, (size - 2) * 4 - bytes);
data/dc3dd-7.2.646/lib/sha1.c:130:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[BLOCKSIZE + 72];
data/dc3dd-7.2.646/lib/sha1.c: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 (&((char *) ctx->buffer)[left_over], buffer, add);
data/dc3dd-7.2.646/lib/sha1.c:227: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 (ctx->buffer,
data/dc3dd-7.2.646/lib/sha1.c:245: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.
	    sha1_process_block (memcpy (ctx->buffer, buffer, 64), 64, ctx);
data/dc3dd-7.2.646/lib/sha1.c:263:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (&((char *) ctx->buffer)[left_over], buffer, len);
data/dc3dd-7.2.646/lib/sha1.c:269: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 (ctx->buffer, &ctx->buffer[16], left_over);
data/dc3dd-7.2.646/lib/sha256.c:48:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const unsigned char fillbuf[64] = { 0x80, 0 /* , 0, 0, ...  */ };
data/dc3dd-7.2.646/lib/sha256.c:94:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (cp, &v, sizeof v);
data/dc3dd-7.2.646/lib/sha256.c:145:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (&((char *) ctx->buffer)[bytes], fillbuf, (size - 2) * 4 - bytes);
data/dc3dd-7.2.646/lib/sha256.c:172:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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 + 72];
data/dc3dd-7.2.646/lib/sha256.c:236:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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 + 72];
data/dc3dd-7.2.646/lib/sha256.c:339:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (&((char *) ctx->buffer)[left_over], buffer, add);
data/dc3dd-7.2.646/lib/sha256.c:348: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 (ctx->buffer,
data/dc3dd-7.2.646/lib/sha256.c:366: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.
	    sha256_process_block (memcpy (ctx->buffer, buffer, 64), 64, ctx);
data/dc3dd-7.2.646/lib/sha256.c:384:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (&((char *) ctx->buffer)[left_over], buffer, len);
data/dc3dd-7.2.646/lib/sha256.c:390: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 (ctx->buffer, &ctx->buffer[16], left_over);
data/dc3dd-7.2.646/lib/sha512.c:55:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const unsigned char fillbuf[128] = { 0x80, 0 /* , 0, 0, ...  */ };
data/dc3dd-7.2.646/lib/sha512.c:101:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (cp, &v, sizeof v);
data/dc3dd-7.2.646/lib/sha512.c:153:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (&((char *) ctx->buffer)[bytes], fillbuf, (size - 2) * 8 - bytes);
data/dc3dd-7.2.646/lib/sha512.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 buffer[BLOCKSIZE + 72];
data/dc3dd-7.2.646/lib/sha512.c:244:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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 + 72];
data/dc3dd-7.2.646/lib/sha512.c:347:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (&((char *) ctx->buffer)[left_over], buffer, add);
data/dc3dd-7.2.646/lib/sha512.c:356: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 (ctx->buffer,
data/dc3dd-7.2.646/lib/sha512.c:374: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.
	    sha512_process_block (memcpy (ctx->buffer, buffer, 128), 128, ctx);
data/dc3dd-7.2.646/lib/sha512.c:392:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (&((char *) ctx->buffer)[left_over], buffer, len);
data/dc3dd-7.2.646/lib/sha512.c:398: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 (ctx->buffer, &ctx->buffer[16], left_over);
data/dc3dd-7.2.646/lib/sig2str.c:41:34:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static struct numname { int num; char const name[8]; } numname_table[] =
data/dc3dd-7.2.646/lib/snprintf.c:61: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 (str, output, pruned_len);
data/dc3dd-7.2.646/lib/stdio--.h:23: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).
#undef fopen
data/dc3dd-7.2.646/lib/stdio--.h:24:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#define fopen fopen_safer
data/dc3dd-7.2.646/lib/stdio--.h:26:8:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
#undef tmpfile
data/dc3dd-7.2.646/lib/stdio--.h:27:9:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
#define tmpfile tmpfile_safer
data/dc3dd-7.2.646/lib/stdio-impl.h:44: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.
			 unsigned char _ubuf[3]; \
data/dc3dd-7.2.646/lib/stdio.in.h:220: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).
#  define fopen rpl_fopen
data/dc3dd-7.2.646/lib/stdio.in.h:221:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
extern FILE * fopen (const char *filename, const char *mode);
data/dc3dd-7.2.646/lib/stdio.in.h:224: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/dc3dd-7.2.646/lib/stdio.in.h:225:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
# define fopen(f,m) \
data/dc3dd-7.2.646/lib/stdio.in.h:228:5:  [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).
    fopen (f, m))
data/dc3dd-7.2.646/lib/stdlib--.h:23:8:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
#undef mkstemp
data/dc3dd-7.2.646/lib/stdlib--.h:24:9:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
#define mkstemp mkstemp_safer
data/dc3dd-7.2.646/lib/stdlib.in.h:155:11:  [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/dc3dd-7.2.646/lib/stdlib.in.h:156: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).
extern int mkstemp (char * /*template*/);
data/dc3dd-7.2.646/lib/stdlib.in.h:162: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/dc3dd-7.2.646/lib/stdlib.in.h:163:10:  [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(t) \
data/dc3dd-7.2.646/lib/stdlib.in.h:166:6:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
     mkstemp (t))
data/dc3dd-7.2.646/lib/strdup.c:51: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/dc3dd-7.2.646/lib/strerror.c:41: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 mesg[sizeof fmt + INT_STRLEN_BOUND (n)];
data/dc3dd-7.2.646/lib/strftime.c:86: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/dc3dd-7.2.646/lib/strftime.c:93: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/dc3dd-7.2.646/lib/strftime.c:796: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 ufmt[5];
data/dc3dd-7.2.646/lib/strftime.c:798: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 ubuf[1024]; /* enough for any single format in practice */
data/dc3dd-7.2.646/lib/striconv.c:66:33:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    union { unsigned int align; char buf[tmpbufsize]; } tmp;
data/dc3dd-7.2.646/lib/strndup.c:39: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/dc3dd-7.2.646/lib/tempname.c:68:21:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
# define small_open open
data/dc3dd-7.2.646/lib/tempname.c:69:21:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
# define large_open open
data/dc3dd-7.2.646/lib/tempname.c:150: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/dc3dd-7.2.646/lib/unicodeio.c:115:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char inbuf[6];
data/dc3dd-7.2.646/lib/unicodeio.c:154:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char outbuf[25];
data/dc3dd-7.2.646/lib/uniwidth/width.c:38: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[22*64] = {
data/dc3dd-7.2.646/lib/uniwidth/width.c:238: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[240] = {
data/dc3dd-7.2.646/lib/userspec.c:185: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[INT_BUFSIZE_BOUND (uintmax_t)];
data/dc3dd-7.2.646/lib/utime.c:51: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/dc3dd-7.2.646/lib/utime.c:70:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fd = open (file, O_RDWR);
data/dc3dd-7.2.646/lib/utimens.c:79: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 const *file, struct timespec const timespec[2])
data/dc3dd-7.2.646/lib/utimens.c:198: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/dc3dd-7.2.646/lib/utimens.h:2: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.
int gl_futimens (int, char const *, struct timespec const [2]);
data/dc3dd-7.2.646/lib/utimens.h:3: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/dc3dd-7.2.646/lib/vasnprintf.c:167: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/dc3dd-7.2.646/lib/vasnprintf.c:236:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/dc3dd-7.2.646/lib/vasnprintf.c:237: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/dc3dd-7.2.646/lib/vasnprintf.c:461: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/dc3dd-7.2.646/lib/vasnprintf.c:568: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 (r_ptr, a_ptr, a_len * sizeof (mp_limb_t));
data/dc3dd-7.2.646/lib/vasnprintf.c:2333: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 ((char *) p, "%+d", exponent);
data/dc3dd-7.2.646/lib/vasnprintf.c:2339: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 expbuf[6 + 1];
data/dc3dd-7.2.646/lib/vasnprintf.c:2341: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 (expbuf, "%+d", exponent);
data/dc3dd-7.2.646/lib/vasnprintf.c:2484: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 ((char *) p, "%+d", exponent);
data/dc3dd-7.2.646/lib/vasnprintf.c:2490: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 expbuf[6 + 1];
data/dc3dd-7.2.646/lib/vasnprintf.c:2492: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 (expbuf, "%+d", exponent);
data/dc3dd-7.2.646/lib/vasnprintf.c:2557: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 (result + length, tmp, count * sizeof (DCHAR_T));
data/dc3dd-7.2.646/lib/vasnprintf.c:2942: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 ((char *) p, "%+.2d", exponent);
data/dc3dd-7.2.646/lib/vasnprintf.c:2948: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 expbuf[6 + 1];
data/dc3dd-7.2.646/lib/vasnprintf.c:2950: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 (expbuf, "%+.2d", exponent);
data/dc3dd-7.2.646/lib/vasnprintf.c:3123:10:  [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/dc3dd-7.2.646/lib/vasnprintf.c:3129: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.
					    char expbuf[6 + 1];
data/dc3dd-7.2.646/lib/vasnprintf.c:3131:10:  [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/dc3dd-7.2.646/lib/vasnprintf.c:3363: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 expbuf[6 + 1];
data/dc3dd-7.2.646/lib/vasnprintf.c:3556: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.
					      char expbuf[6 + 1];
data/dc3dd-7.2.646/lib/vasnprintf.c:3681: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 (result + length, tmp, count * sizeof (DCHAR_T));
data/dc3dd-7.2.646/lib/vasnprintf.c:4068: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 (fbp, dp->width_start, n * sizeof (TCHAR_T));
data/dc3dd-7.2.646/lib/vasnprintf.c:4089: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 (fbp, dp->precision_start, n * sizeof (TCHAR_T));
data/dc3dd-7.2.646/lib/vasnprintf.c:4744: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 (result + length, tmp, count * sizeof (DCHAR_T));
data/dc3dd-7.2.646/lib/vfprintf.c: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 buf[2000];
data/dc3dd-7.2.646/lib/xmalloc.c:113:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  return memcpy (xmalloc (s), p, s);
data/dc3dd-7.2.646/lib/xstrtol-error.c:55:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char option_buffer[2];
data/dc3dd-7.2.646/src/dc3dd.c:238: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).
   void (*open)(struct _input_t* input);
data/dc3dd-7.2.646/src/dc3dd.c:275: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).
   void (*open)(struct _output_t* output);
data/dc3dd-7.2.646/src/dc3dd.c:471: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 errbuf[DISPLAY_MESSAGE_LENGTH];
data/dc3dd-7.2.646/src/dc3dd.c:682: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 message[DISPLAY_MESSAGE_LENGTH];
data/dc3dd-7.2.646/src/dc3dd.c:692: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 internal_error[DISPLAY_MESSAGE_LENGTH];
data/dc3dd-7.2.646/src/dc3dd.c:704: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 message[DISPLAY_MESSAGE_LENGTH];
data/dc3dd-7.2.646/src/dc3dd.c:768:10:  [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(message, _("   additional %"PRIuMAX" sectors of device hashed\n"), sectors);
data/dc3dd-7.2.646/src/dc3dd.c:770:10:  [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(message, _("   additional %"PRIuMAX" sectors + %"PRIuMAX" bytes of device hashed\n "), 
data/dc3dd-7.2.646/src/dc3dd.c:806: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 message[DISPLAY_MESSAGE_LENGTH];
data/dc3dd-7.2.646/src/dc3dd.c:872:10:  [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(message, _("   additional %"PRIuMAX" sectors of device hashed\n"), sectors);
data/dc3dd-7.2.646/src/dc3dd.c:874:10:  [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(message, _("   additional %"PRIuMAX" sectors + %"PRIuMAX" bytes of device hashed\n "), 
data/dc3dd-7.2.646/src/dc3dd.c:890: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 message[DISPLAY_MESSAGE_LENGTH];
data/dc3dd-7.2.646/src/dc3dd.c:922: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 message[DISPLAY_MESSAGE_LENGTH];
data/dc3dd-7.2.646/src/dc3dd.c:951: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 message[DISPLAY_MESSAGE_LENGTH];
data/dc3dd-7.2.646/src/dc3dd.c:973: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 message[DISPLAY_MESSAGE_LENGTH];
data/dc3dd-7.2.646/src/dc3dd.c:1005: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 message[DISPLAY_MESSAGE_LENGTH];   
data/dc3dd-7.2.646/src/dc3dd.c:1011: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(message, _("   %"PRIuMAX" bad sectors replaced by zeros\n"), input->bad_sectors);
data/dc3dd-7.2.646/src/dc3dd.c:1022: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(message, _("   %"PRIuMAX" sectors in\n"), input->bytes_input / input->sector_size); 
data/dc3dd-7.2.646/src/dc3dd.c:1095: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 hbuf[LONGEST_HUMAN_READABLE + 1];
data/dc3dd-7.2.646/src/dc3dd.c:1096: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 hbuf2[LONGEST_HUMAN_READABLE + 1];
data/dc3dd-7.2.646/src/dc3dd.c:1186: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 stats[DISPLAY_MESSAGE_LENGTH]; 
data/dc3dd-7.2.646/src/dc3dd.c:1187: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 hbuf[LONGEST_HUMAN_READABLE + 1];
data/dc3dd-7.2.646/src/dc3dd.c:1527:34:  [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).
         next_file->descriptor = open(next_file->name, next_file->flags, OUTPUT_FILE_PERMS);
data/dc3dd-7.2.646/src/dc3dd.c:1676: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 message[DISPLAY_MESSAGE_LENGTH];
data/dc3dd-7.2.646/src/dc3dd.c:1703:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      open(file->current_file->name, file->current_file->flags, OUTPUT_FILE_PERMS); 
data/dc3dd-7.2.646/src/dc3dd.c:2190:34:  [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).
         next_file->descriptor = open(next_file->name, next_file->flags, 0);
data/dc3dd-7.2.646/src/dc3dd.c:2253: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.
         char message[DISPLAY_MESSAGE_LENGTH];
data/dc3dd-7.2.646/src/dc3dd.c:2314: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.
         char message[DISPLAY_MESSAGE_LENGTH];
data/dc3dd-7.2.646/src/dc3dd.c:2526:29:  [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).
	    next_file.descriptor = open(next_file.name, O_RDONLY, 0);
data/dc3dd-7.2.646/src/dc3dd.c:2563:38:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   input->current_file->descriptor = open(input->current_file->name, input->current_file->flags, 0); 
data/dc3dd-7.2.646/src/dc3dd.c:2721: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.
         memcpy(buffer_queue->buffers[buffer_queue->next_available_buffer].data,
data/dc3dd-7.2.646/src/dc3dd.c:2794: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).
   task->input->open(task->input);
data/dc3dd-7.2.646/src/dc3dd.c:2800: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).
         output->open(output);
data/dc3dd-7.2.646/src/dc3dd.c:3340: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).
      device->descriptor = open(device->name, O_RDONLY, device->perms); 
data/dc3dd-7.2.646/src/dc3dd.c:3406: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 limits[DISPLAY_MESSAGE_LENGTH];
data/dc3dd-7.2.646/src/dc3dd.c:3410:16:  [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(limits, _("HPA limit: %11llu sectors\n"));
data/dc3dd-7.2.646/src/dc3dd.c:3416:16:  [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(limits, _("DCO limit: %11llu sectors\n"));
data/dc3dd-7.2.646/src/dc3dd.c:3420: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(limits, _("full size: %11llu sectors\n"), maximum_lba);
data/dc3dd-7.2.646/src/dc3dd.c:3485: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 stats[DISPLAY_MESSAGE_LENGTH];
data/dc3dd-7.2.646/src/dc3dd.c:3496: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).
      device->descriptor = open(device->name, O_RDONLY, device->perms); 
data/dc3dd-7.2.646/src/dc3dd.c:3522: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 message[DISPLAY_MESSAGE_LENGTH];
data/dc3dd-7.2.646/src/dc3dd.c:3575:23:  [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).
   file->descriptor = open(file->name, O_RDONLY, 0); 
data/dc3dd-7.2.646/src/dc3dd.c:3651: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).
      file->descriptor = open(file->name, O_RDONLY, 0); //attempt to open destination file
data/dc3dd-7.2.646/src/dc3dd.c:3728: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.
         char tmpstring[3];
data/dc3dd-7.2.646/src/dc3dd.c:4373: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 message[DISPLAY_MESSAGE_LENGTH];
data/dc3dd-7.2.646/src/dc3dd.c:4391: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 message[DISPLAY_MESSAGE_LENGTH];
data/dc3dd-7.2.646/src/dc3dd.c:4404: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 message[DISPLAY_MESSAGE_LENGTH];
data/dc3dd-7.2.646/src/dc3dd.c:4414:17:  [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(val, "a");
data/dc3dd-7.2.646/src/hdparm/identify.c:246:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char *minor_str[MINOR_MAX+2] = {			/* word 81 value: */
data/dc3dd-7.2.646/src/hdparm/identify.c:284:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char actual_ver[MINOR_MAX+2] = { 
data/dc3dd-7.2.646/src/hdparm/identify.c:331:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char unknown[8] = "obsolete";
data/dc3dd-7.2.646/src/hdparm/identify.c:335:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *feat_word82_str[16] = { 
data/dc3dd-7.2.646/src/hdparm/identify.c:353:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *feat_word83_str[16] = { 
data/dc3dd-7.2.646/src/hdparm/identify.c:371:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *feat_word84_str[16] = { 
data/dc3dd-7.2.646/src/hdparm/identify.c:389:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *feat_3_str[16] = { 
data/dc3dd-7.2.646/src/hdparm/identify.c:407:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *cap_sata0_str[16] = { 
data/dc3dd-7.2.646/src/hdparm/identify.c:425:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *feat_sata0_str[16] = {
data/dc3dd-7.2.646/src/hdparm/identify.c:487:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *feat_sct_str[16] = {
data/dc3dd-7.2.646/src/hdparm/identify.c:1152:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[256];
data/dc3dd-7.2.646/src/hdparm/identify.c:1162: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(modes + strlen(modes), "pio%u ", mode + 4);
data/dc3dd-7.2.646/src/hdparm/identify.c:1172: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(modes + strlen(modes), "mdma%u ", mode + 4);
data/dc3dd-7.2.646/src/hdparm/identify.c:1177:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			static const unsigned char io_times [4] = {255,120,100,80};
data/dc3dd-7.2.646/src/hdparm/identify.c:1178:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			static const unsigned char mem_times[4] = {250,120,100,80};
data/dc3dd-7.2.646/src/hdparm/identify.c:1192:6:  [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(modes + strlen(modes), "io_udma%u ", mode + 4);
data/dc3dd-7.2.646/src/hdparm/identify.c:1202:6:  [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(modes + strlen(modes), "mem_udma%u ", mode + 4);
data/dc3dd-7.2.646/src/hdparm/sgio.c:123: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.
	unsigned char cdb[SG_ATA_16_LEN];
data/dc3dd-7.2.646/src/hdparm/sgio.c:124: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.
	unsigned char sb[32], *desc;
data/dc3dd-7.2.646/src/system.h:537:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      DEST = memcpy (tmp_dest_, s_, len_);	\
data/dc3dd-7.2.646/lib/argmatch.c:91: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/dc3dd-7.2.646/lib/argmatch.c:98: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).
	  if (strlen (arglist[i]) == arglen)
data/dc3dd-7.2.646/lib/basename.c:116: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/dc3dd-7.2.646/lib/canonicalize.c:93: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).
  resolved_size = strlen (name);
data/dc3dd-7.2.646/lib/canonicalize.c:284: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).
	      n = strlen (buf);
data/dc3dd-7.2.646/lib/canonicalize.c:285: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).
	      len = strlen (end);
data/dc3dd-7.2.646/lib/chdir-long.c:113:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t len = strlen (dir);
data/dc3dd-7.2.646/lib/error.c:142: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/dc3dd-7.2.646/lib/exclude.c:104:23:  [1] (buffer) strlen:
  Does not handle 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/dc3dd-7.2.646/lib/exclude.c:232:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while ((c = getc (in)) != EOF)
data/dc3dd-7.2.646/lib/filenamecat.c:70: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/dc3dd-7.2.646/lib/fnmatch.c:163: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/dc3dd-7.2.646/lib/fnmatch.c:194:22:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#   define STRLEN(S) wcslen (S)
data/dc3dd-7.2.646/lib/fnmatch.c:343: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/dc3dd-7.2.646/lib/freadseek.c:93:11:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if (fgetc (fp) == EOF)
data/dc3dd-7.2.646/lib/fstatat.c:39: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).
      && file[strlen (file) - 1] == '/')
data/dc3dd-7.2.646/lib/getcwd.c:46: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/dc3dd-7.2.646/lib/getdate.c:1184: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/dc3dd-7.2.646/lib/getdate.c:2896: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/dc3dd-7.2.646/lib/getdate.c:3152:23:  [1] (buffer) strlen:
  Does not handle 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 tzsize = strlen (tz) + 1;
data/dc3dd-7.2.646/lib/getdelim.c:85:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      i = getc (fp);
data/dc3dd-7.2.646/lib/gethostname.c:48:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (name, uts.nodename, len);
data/dc3dd-7.2.646/lib/gethostname.c:50:3:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
  strcpy (name, "");		/* Hardcode your system name if you want.  */
data/dc3dd-7.2.646/lib/getloadavg.c:612:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  count = read (fd, ldavgbuf, sizeof ldavgbuf - 1);
data/dc3dd-7.2.646/lib/getloadavg.c:899: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 (nl[1].n_name, "");
data/dc3dd-7.2.646/lib/getloadavg.c:967:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  || read (channel, (char *) load_ave, sizeof (load_ave))
data/dc3dd-7.2.646/lib/getndelim2.c:131:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  c = getc (stream);
data/dc3dd-7.2.646/lib/getopt.c:270: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).
	      int len = d->__nonoption_flags_max_len = strlen (orig_str);
data/dc3dd-7.2.646/lib/getopt.c:497: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).
		== (unsigned int) strlen (p->name))
data/dc3dd-7.2.646/lib/getopt.c:546: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/dc3dd-7.2.646/lib/getopt.c:619: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).
		  d->__nextchar += strlen (d->__nextchar);
data/dc3dd-7.2.646/lib/getopt.c:659: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).
		  d->__nextchar += strlen (d->__nextchar);
data/dc3dd-7.2.646/lib/getopt.c:664: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/dc3dd-7.2.646/lib/getopt.c:867: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).
	      if ((unsigned int) (nameend - d->__nextchar) == strlen (p->name))
data/dc3dd-7.2.646/lib/getopt.c:912:23:  [1] (buffer) strlen:
  Does not handle 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/dc3dd-7.2.646/lib/getopt.c:956: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).
		    d->__nextchar += strlen (d->__nextchar);
data/dc3dd-7.2.646/lib/getopt.c:994: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).
		    d->__nextchar += strlen (d->__nextchar);
data/dc3dd-7.2.646/lib/getopt.c:998:23:  [1] (buffer) strlen:
  Does not handle 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/dc3dd-7.2.646/lib/gettext.h:199: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/dc3dd-7.2.646/lib/gettext.h:200: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/dc3dd-7.2.646/lib/gettext.h:245: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/dc3dd-7.2.646/lib/gettext.h:246: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/dc3dd-7.2.646/lib/human.c:85: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/dc3dd-7.2.646/lib/human.c:179: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/dc3dd-7.2.646/lib/human.c:186: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/dc3dd-7.2.646/lib/human.c:233: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).
	buflen = strlen (buf);
data/dc3dd-7.2.646/lib/human.c:251: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).
	buflen = strlen (buf);
data/dc3dd-7.2.646/lib/human.c:260: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).
	    buflen = strlen (buf);
data/dc3dd-7.2.646/lib/idcache.c:86:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      match = xmalloc (offsetof (struct userid, name) + strlen (name) + 1);
data/dc3dd-7.2.646/lib/idcache.c:123:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (!pwent && strspn (user, digits) < strlen (user))
data/dc3dd-7.2.646/lib/idcache.c:130:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  tail = xmalloc (offsetof (struct userid, name) + strlen (user) + 1);
data/dc3dd-7.2.646/lib/idcache.c:168:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      match = xmalloc (offsetof (struct userid, name) + strlen (name) + 1);
data/dc3dd-7.2.646/lib/idcache.c:205:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (!grent && strspn (group, digits) < strlen (group))
data/dc3dd-7.2.646/lib/idcache.c:212:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  tail = xmalloc (offsetof (struct userid, name) + strlen (group) + 1);
data/dc3dd-7.2.646/lib/linebuffer.c:72:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      c = getc (stream);
data/dc3dd-7.2.646/lib/localcharset.c:91:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
# undef getc
data/dc3dd-7.2.646/lib/localcharset.c:92:10:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
# define getc getc_unlocked
data/dc3dd-7.2.646/lib/localcharset.c:132: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 dir_len = strlen (dir);
data/dc3dd-7.2.646/lib/localcharset.c:133: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 base_len = strlen (base);
data/dc3dd-7.2.646/lib/localcharset.c:162:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	      c = getc (fp);
data/dc3dd-7.2.646/lib/localcharset.c:171:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		    c = getc (fp);
data/dc3dd-7.2.646/lib/localcharset.c:178:12:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
	      if (fscanf (fp, "%50s %50s", buf1, buf2) < 2)
data/dc3dd-7.2.646/lib/localcharset.c:180: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).
	      l1 = strlen (buf1);
data/dc3dd-7.2.646/lib/localcharset.c:181: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).
	      l2 = strlen (buf2);
data/dc3dd-7.2.646/lib/localcharset.c:450: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).
       aliases += strlen (aliases) + 1, aliases += strlen (aliases) + 1)
data/dc3dd-7.2.646/lib/localcharset.c:450:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
       aliases += strlen (aliases) + 1, aliases += strlen (aliases) + 1)
data/dc3dd-7.2.646/lib/localcharset.c:454: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).
	codeset = aliases + strlen (aliases) + 1;
data/dc3dd-7.2.646/lib/lstat.c:55: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/dc3dd-7.2.646/lib/mbslen.c:47:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    return strlen (string);
data/dc3dd-7.2.646/lib/mbswidth.c:53:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  return mbsnwidth (string, strlen (string), flags);
data/dc3dd-7.2.646/lib/mbuiter.h:159: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).
	  iter->cur.bytes = strlen (iter->cur.ptr);
data/dc3dd-7.2.646/lib/memcoll.c:61: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 size1 = strlen (s1) + 1;
data/dc3dd-7.2.646/lib/memcoll.c:62: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 size2 = strlen (s2) + 1;
data/dc3dd-7.2.646/lib/memxfrm.c:56: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 slen = strlen (src + si);
data/dc3dd-7.2.646/lib/mkdir.c:52: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/dc3dd-7.2.646/lib/mountlist.c:537:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                name = xmalloc (1 + strlen (d->d_name) + 1);
data/dc3dd-7.2.646/lib/mountlist.c:653: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).
	me->me_devname = xmalloc (strlen (mnt.mt_dev) + 6);
data/dc3dd-7.2.646/lib/mountlist.c:831: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).
	    me->me_devname = xmalloc (strlen (host) + strlen (dir) + 2);
data/dc3dd-7.2.646/lib/mountlist.c:831:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    me->me_devname = xmalloc (strlen (host) + strlen (dir) + 2);
data/dc3dd-7.2.646/lib/mountlist.c:833:6:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
	    strcat (me->me_devname, ":");
data/dc3dd-7.2.646/lib/openat-proc.c:89: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).
      size_t bufsize = PROC_SELF_FD_NAME_SIZE_BOUND (strlen (file));
data/dc3dd-7.2.646/lib/posixtm.c:116:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t s_len = strlen (s);
data/dc3dd-7.2.646/lib/propername.c:131: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).
	      p = tsub_in_string + strlen (tsub);
data/dc3dd-7.2.646/lib/propername.c:170: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).
	    XNMALLOC (strlen (translation) + 2 + strlen (name) + 1 + 1, char);
data/dc3dd-7.2.646/lib/propername.c:170: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).
	    XNMALLOC (strlen (translation) + 2 + strlen (name) + 1 + 1, char);
data/dc3dd-7.2.646/lib/propername.c:208: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_t len = strlen (locale_code);
data/dc3dd-7.2.646/lib/propername.c:251: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).
	    XNMALLOC (strlen (translation) + 2 + strlen (name) + 1 + 1, char);
data/dc3dd-7.2.646/lib/propername.c:251: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).
	    XNMALLOC (strlen (translation) + 2 + strlen (name) + 1 + 1, char);
data/dc3dd-7.2.646/lib/putenv.c:67: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/dc3dd-7.2.646/lib/quotearg.c:273: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).
	quote_string_len = strlen (quote_string);
data/dc3dd-7.2.646/lib/quotearg.c:473: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).
		  argsize = strlen (arg);
data/dc3dd-7.2.646/lib/readtokens.c:108:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  for (c = getc (stream); c >= 0 && isdelim[c]; c = getc (stream))
data/dc3dd-7.2.646/lib/readtokens.c:108:53:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  for (c = getc (stream); c >= 0 && isdelim[c]; c = getc (stream))
data/dc3dd-7.2.646/lib/readtokens.c:135:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      c = getc (stream);
data/dc3dd-7.2.646/lib/readtokens0.c:71:15:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      int c = fgetc (in);
data/dc3dd-7.2.646/lib/readutmp.c:54:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (trimmed_name, UT_USER (ut), sizeof (UT_USER (ut)));
data/dc3dd-7.2.646/lib/readutmp.c:59:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  for (p = trimmed_name + strlen (trimmed_name);
data/dc3dd-7.2.646/lib/regcomp.c:489: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/dc3dd-7.2.646/lib/regcomp.c:544: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/dc3dd-7.2.646/lib/regcomp.c:710: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/dc3dd-7.2.646/lib/regcomp.c:776: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/dc3dd-7.2.646/lib/regcomp.c:2611: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/dc3dd-7.2.646/lib/regcomp.c:2613: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), 0))
data/dc3dd-7.2.646/lib/regcomp.c:2720: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/dc3dd-7.2.646/lib/regcomp.c:2812: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/dc3dd-7.2.646/lib/regcomp.c:2948: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/dc3dd-7.2.646/lib/regcomp.c:3409: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).
      if (BE (idx1 == 0 || cp < name + strlen ((const char *) name), 0))
data/dc3dd-7.2.646/lib/regcomp.c:3458: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 (BE (strlen ((const char *) name) != 1, 0))
data/dc3dd-7.2.646/lib/regexec.c:251: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/dc3dd-7.2.646/lib/rename.c:40:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t s_len = strlen (src);
data/dc3dd-7.2.646/lib/safe-read.c:47:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
# define rw read
data/dc3dd-7.2.646/lib/savedir.c:31: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/dc3dd-7.2.646/lib/setenv.c:112: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/dc3dd-7.2.646/lib/setenv.c:113: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/dc3dd-7.2.646/lib/str-kmp.h:38: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).
  size_t m = strlen (needle);
data/dc3dd-7.2.646/lib/strdup.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 (s) + 1;
data/dc3dd-7.2.646/lib/strftime.c:87: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/dc3dd-7.2.646/lib/strftime.c:569: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).
	      format_end = f + strlen (f) + 1;
data/dc3dd-7.2.646/lib/strftime.c:581: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).
		    len += strlen (f + len);
data/dc3dd-7.2.646/lib/strftime.c:836: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 (era->era_name);
data/dc3dd-7.2.646/lib/strftime.c:1314: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).
	  cpy (strlen (zone), zone);
data/dc3dd-7.2.646/lib/striconv.c:224: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).
  int retval = mem_cd_iconv (src, strlen (src), cd, &result, &length);
data/dc3dd-7.2.646/lib/striconv.c:257: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 inbytes_remaining = strlen (src);
data/dc3dd-7.2.646/lib/tempname.c:111: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/dc3dd-7.2.646/lib/tempname.c:139: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/dc3dd-7.2.646/lib/tempname.c:206: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/dc3dd-7.2.646/lib/trim.c:61: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).
	  mbi_init (i, d, strlen (d));
data/dc3dd-7.2.646/lib/trim.c:66: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).
	  memmove (d, mbi_cur_ptr (i), strlen (mbi_cur_ptr (i)) + 1);
data/dc3dd-7.2.646/lib/trim.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).
	  mbi_init (i, d, strlen (d));
data/dc3dd-7.2.646/lib/trim.c:126: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).
	memmove (d, p, strlen (p) + 1);
data/dc3dd-7.2.646/lib/trim.c:131: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).
	for (p = d + strlen (d) - 1; p >= d && isspace ((unsigned char) *p); p--)
data/dc3dd-7.2.646/lib/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/dc3dd-7.2.646/lib/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/dc3dd-7.2.646/lib/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/dc3dd-7.2.646/lib/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/dc3dd-7.2.646/lib/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/dc3dd-7.2.646/lib/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/dc3dd-7.2.646/lib/unsetenv.c:63: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/dc3dd-7.2.646/lib/vasnprintf.c:125: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/dc3dd-7.2.646/lib/vasnprintf.c:2809: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).
				ndigits = strlen (digits);
data/dc3dd-7.2.646/lib/vasnprintf.c:2869: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).
					ndigits = strlen (digits);
data/dc3dd-7.2.646/lib/vasnprintf.c:2905: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).
					if (strlen (digits2) == precision + 1)
data/dc3dd-7.2.646/lib/vasnprintf.c:3005: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).
					ndigits = strlen (digits);
data/dc3dd-7.2.646/lib/vasnprintf.c:3041: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).
					if (strlen (digits2) == precision)
data/dc3dd-7.2.646/lib/vasnprintf.c:3213: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).
				ndigits = strlen (digits);
data/dc3dd-7.2.646/lib/vasnprintf.c:3270: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).
					ndigits = strlen (digits);
data/dc3dd-7.2.646/lib/vasnprintf.c:3305: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).
					if (strlen (digits2) == precision + 1)
data/dc3dd-7.2.646/lib/vasnprintf.c:3418: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).
					ndigits = strlen (digits);
data/dc3dd-7.2.646/lib/vasnprintf.c:3453: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).
					if (strlen (digits2) == precision)
data/dc3dd-7.2.646/lib/vasnprintf.c:3985: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).
			tmp_length = strlen (a.arg[dp->arg_index].a.a_string);
data/dc3dd-7.2.646/lib/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/dc3dd-7.2.646/src/dc3dd.c:512: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/dc3dd-7.2.646/src/dc3dd.c:1348: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 pos, len = strlen(pattern);
data/dc3dd-7.2.646/src/dc3dd.c:1411: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).
   if (strlen(file_ext_fmt) == 0 || !is_valid_file_ext_fmt(file_ext_fmt))
data/dc3dd-7.2.646/src/dc3dd.c:1416: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 fmt_len = strlen(file_ext_fmt);
data/dc3dd-7.2.646/src/dc3dd.c:1417: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 base_len = strlen(base_name);
data/dc3dd-7.2.646/src/dc3dd.c:1637:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      bytes_read = read(file_descriptor, buffer, bytes_to_read);
data/dc3dd-7.2.646/src/dc3dd.c:2788:4:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
   usleep(10*1000);
data/dc3dd-7.2.646/src/dc3dd.c:3693:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   settings->input_pattern_length = strlen(pattern);     
data/dc3dd-7.2.646/src/dc3dd.c:3701: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).
   if (strlen(hstr) != 2)
data/dc3dd-7.2.646/src/dc3dd.c:3720:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   size_t pattern_template_length = strlen(pattern_template);
data/dc3dd-7.2.646/src/dc3dd.c:3730:10:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
         strncpy(tmpstring, &pattern_template[i*2], 2);
data/dc3dd-7.2.646/src/dc3dd.c:4281: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).
      len += strlen(argv[i]);
data/dc3dd-7.2.646/src/dc3dd.c:4293: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 (size_t j = 0; j < strlen(argv[i]); ++j)
data/dc3dd-7.2.646/src/hdparm/identify.c:1161:6:  [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(modes, "*");
data/dc3dd-7.2.646/src/hdparm/identify.c:1162: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).
				sprintf(modes + strlen(modes), "pio%u ", mode + 4);
data/dc3dd-7.2.646/src/hdparm/identify.c:1171:6:  [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(modes, "*");
data/dc3dd-7.2.646/src/hdparm/identify.c:1172: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).
				sprintf(modes + strlen(modes), "mdma%u ", mode + 4);
data/dc3dd-7.2.646/src/hdparm/identify.c:1191:7:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
						strcat(modes, "*");
data/dc3dd-7.2.646/src/hdparm/identify.c:1192: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).
					sprintf(modes + strlen(modes), "io_udma%u ", mode + 4);
data/dc3dd-7.2.646/src/hdparm/identify.c:1201:7:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
						strcat(modes, "*");
data/dc3dd-7.2.646/src/hdparm/identify.c:1202: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).
					sprintf(modes + strlen(modes), "mem_udma%u ", mode + 4);
data/dc3dd-7.2.646/src/system.h:147: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/dc3dd-7.2.646/src/system.h:535: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 len_ = strlen (s_) + 1;		\

ANALYSIS SUMMARY:

Hits = 872
Lines analyzed = 81670 in approximately 4.13 seconds (19754 lines/second)
Physical Source Lines of Code (SLOC) = 53722
Hits@level = [0] 441 [1] 174 [2] 517 [3]  38 [4] 124 [5]  19
Hits@level+ = [0+] 1313 [1+] 872 [2+] 698 [3+] 181 [4+] 143 [5+]  19
Hits/KSLOC@level+ = [0+] 24.4406 [1+] 16.2317 [2+] 12.9928 [3+] 3.3692 [4+] 2.66185 [5+] 0.353673
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.