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/pseudo-1.9.0+git20200626+067950b/makedata.c
Examining data/pseudo-1.9.0+git20200626+067950b/offsets.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/common/guts/execl.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/common/guts/execle.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/common/guts/execlp.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/common/guts/execv.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/common/guts/execve.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/common/guts/execvp.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/common/guts/fork.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/common/pseudo_wrappers.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/darwin/guts/fcntl.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/darwin/guts/fgetgrent_r.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/darwin/guts/fgetpwent_r.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/darwin/guts/fgetxattr.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/darwin/guts/flistxattr.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/darwin/guts/fremovexattr.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/darwin/guts/fsetxattr.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/darwin/guts/fstat.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/darwin/guts/getgrent_r.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/darwin/guts/getgrouplist.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/darwin/guts/getgroups.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/darwin/guts/getpwent_r.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/darwin/guts/getxattr.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/darwin/guts/listxattr.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/darwin/guts/lstat.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/darwin/guts/open.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/darwin/guts/removexattr.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/darwin/guts/scandir.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/darwin/guts/setxattr.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/darwin/guts/stat.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/darwin/guts/sync_file_range.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/darwin/portdefs.h
Examining data/pseudo-1.9.0+git20200626+067950b/ports/darwin/pseudo_wrappers.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/__fxstat.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/__fxstat64.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/__fxstatat.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/__fxstatat64.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/__lxstat.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/__lxstat64.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/__openat64_2.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/__openat_2.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/__xmknod.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/__xmknodat.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/__xstat.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/__xstat64.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/canonicalize_file_name.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/capset.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/creat64.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/eaccess.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/euidaccess.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/fcntl.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/fopen64.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/freopen64.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/fstat.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/fstat64.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/ftw64.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/get_current_dir_name.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/getgrent_r.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/getgrouplist.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/getgroups.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/getpw.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/getpwent_r.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/getresgid.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/getresuid.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/glob64.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/lchown.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/lckpwdf.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/lstat.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/lstat64.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/mknod.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/mknodat.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/mkstemp64.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/nftw64.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/open.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/open64.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/openat.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/openat64.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/renameat2.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/scandir.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/scandir64.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/setfsgid.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/setfsuid.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/setgroups.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/setresgid.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/setresuid.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/stat.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/stat64.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/syscall.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/truncate64.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/ulckpwdf.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/newclone/guts/clone.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/newclone/pseudo_wrappers.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/noxattr/guts/fgetxattr.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/noxattr/guts/flistxattr.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/noxattr/guts/fremovexattr.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/noxattr/guts/fsetxattr.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/noxattr/guts/getxattr.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/noxattr/guts/lgetxattr.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/noxattr/guts/listxattr.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/noxattr/guts/llistxattr.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/noxattr/guts/lremovexattr.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/noxattr/guts/lsetxattr.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/noxattr/guts/removexattr.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/noxattr/guts/setxattr.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/oldclone/guts/clone.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/oldclone/pseudo_wrappers.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/portdefs.h
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/pseudo_wrappers.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/statvfs/guts/statvfs.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/statx/guts/statx.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/statx/portdefs.h
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/xattr/guts/fgetxattr.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/xattr/guts/flistxattr.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/xattr/guts/fremovexattr.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/xattr/guts/fsetxattr.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/xattr/guts/getxattr.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/xattr/guts/lgetxattr.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/xattr/guts/listxattr.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/xattr/guts/llistxattr.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/xattr/guts/lremovexattr.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/xattr/guts/lsetxattr.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/xattr/guts/removexattr.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/xattr/guts/setxattr.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/xattr/portdefs.h
Examining data/pseudo-1.9.0+git20200626+067950b/ports/linux/xattr/pseudo_wrappers.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/uids_generic/guts/endgrent.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/uids_generic/guts/endpwent.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/uids_generic/guts/getegid.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/uids_generic/guts/geteuid.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/uids_generic/guts/getgid.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/uids_generic/guts/getgrent.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/uids_generic/guts/getgrgid.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/uids_generic/guts/getgrgid_r.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/uids_generic/guts/getgrnam.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/uids_generic/guts/getgrnam_r.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/uids_generic/guts/getpwent.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/uids_generic/guts/getpwnam.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/uids_generic/guts/getpwnam_r.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/uids_generic/guts/getpwuid.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/uids_generic/guts/getpwuid_r.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/uids_generic/guts/getuid.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/uids_generic/guts/setegid.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/uids_generic/guts/seteuid.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/uids_generic/guts/setgid.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/uids_generic/guts/setgrent.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/uids_generic/guts/setpwent.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/uids_generic/guts/setregid.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/uids_generic/guts/setreuid.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/uids_generic/guts/setuid.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/access.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/acct.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/bind.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/chdir.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/chmod.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/chown.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/chroot.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/close.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/closedir.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/creat.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/dup.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/dup2.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/fchdir.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/fchmod.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/fchmodat.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/fchown.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/fchownat.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/fclose.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/fdatasync.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/fopen.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/freopen.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/fsync.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/fts_open.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/ftw.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/getcwd.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/getwd.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/glob.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/lchown.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/link.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/linkat.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/lutimes.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/mkdir.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/mkdirat.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/mkdtemp.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/mkfifo.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/mkfifoat.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/mknod.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/mknodat.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/mkostemp.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/mkostemps.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/mkstemp.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/mkstemps.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/mktemp.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/msync.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/nftw.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/opendir.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/pathconf.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/popen.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/readlink.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/readlinkat.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/realpath.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/remove.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/rename.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/renameat.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/rmdir.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/symlink.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/symlinkat.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/sync.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/sync_file_range.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/system.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/tempnam.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/tmpnam.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/truncate.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/umask.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/unlink.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/unlinkat.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/utime.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/utimes.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/pseudo_wrappers.c
Examining data/pseudo-1.9.0+git20200626+067950b/ports/unix/syncfs/guts/syncfs.c
Examining data/pseudo-1.9.0+git20200626+067950b/pseudo.c
Examining data/pseudo-1.9.0+git20200626+067950b/pseudo.h
Examining data/pseudo-1.9.0+git20200626+067950b/pseudo_client.c
Examining data/pseudo-1.9.0+git20200626+067950b/pseudo_client.h
Examining data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c
Examining data/pseudo-1.9.0+git20200626+067950b/pseudo_db.h
Examining data/pseudo-1.9.0+git20200626+067950b/pseudo_ipc.c
Examining data/pseudo-1.9.0+git20200626+067950b/pseudo_ipc.h
Examining data/pseudo-1.9.0+git20200626+067950b/pseudo_profile.c
Examining data/pseudo-1.9.0+git20200626+067950b/pseudo_server.c
Examining data/pseudo-1.9.0+git20200626+067950b/pseudo_server.h
Examining data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c
Examining data/pseudo-1.9.0+git20200626+067950b/pseudo_wrappers.c
Examining data/pseudo-1.9.0+git20200626+067950b/pseudodb.c
Examining data/pseudo-1.9.0+git20200626+067950b/pseudolog.c
Examining data/pseudo-1.9.0+git20200626+067950b/table_templates/pseudo_tables.c
Examining data/pseudo-1.9.0+git20200626+067950b/table_templates/pseudo_tables.h
Examining data/pseudo-1.9.0+git20200626+067950b/templates/wrapfuncs.c
Examining data/pseudo-1.9.0+git20200626+067950b/templates/wrapfuncs.h

FINAL RESULTS:

data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:689:14:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
			linklen = readlink(newpath, linkbuf, pseudo_path_max());
data/pseudo-1.9.0+git20200626+067950b/offsets.c:30:54:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	printf("access: %d\n", (int) offsetof(pseudo_msg_t, access));
data/pseudo-1.9.0+git20200626+067950b/ports/common/pseudo_wrappers.c:68:1:  [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(const char *file, const char *arg, ...) {
data/pseudo-1.9.0+git20200626+067950b/ports/common/pseudo_wrappers.c:119:1:  [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(const char *file, const char *arg, ...) {
data/pseudo-1.9.0+git20200626+067950b/ports/common/pseudo_wrappers.c:169:1:  [4] (shell) execle:
  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.
execle(const char *file, const char *arg, ...) {
data/pseudo-1.9.0+git20200626+067950b/ports/common/pseudo_wrappers.c:220:1:  [4] (shell) execv:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
execv(const char *file, char *const *argv) {
data/pseudo-1.9.0+git20200626+067950b/ports/common/pseudo_wrappers.c:297:1:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
execvp(const char *file, char *const *argv) {
data/pseudo-1.9.0+git20200626+067950b/ports/unix/pseudo_wrappers.c:6:1:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
popen(const char *command, const char *mode) {
data/pseudo-1.9.0+git20200626+067950b/pseudo.c:117:3:  [4] (shell) execv:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		execv(argv[0], argv);
data/pseudo-1.9.0+git20200626+067950b/pseudo.c:412:9:  [4] (shell) execv:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			rc = execv(fullpath, argv);
data/pseudo-1.9.0+git20200626+067950b/pseudo.h:34:61:  [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 pseudo_diag(char *, ...) __attribute__ ((format (printf, 1, 2)));
data/pseudo-1.9.0+git20200626+067950b/pseudo.h:35:71:  [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 pseudo_evlog_internal(char *, ...) __attribute__ ((format (printf, 1, 2)));
data/pseudo-1.9.0+git20200626+067950b/pseudo_client.c:98:58:  [4] (shell) execv:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
int (*pseudo_real_execv)(const char *, char * const *) = execv;
data/pseudo-1.9.0+git20200626+067950b/pseudo_client.c:1486:38:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
pseudo_client_op(pseudo_op_t op, int access, int fd, int dirfd, const char *path, const PSEUDO_STATBUF *buf, ...) {
data/pseudo-1.9.0+git20200626+067950b/pseudo_client.c:1755:15:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	msg.access = access;
data/pseudo-1.9.0+git20200626+067950b/pseudo_client.h:9:59:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
extern pseudo_msg_t *pseudo_client_op(pseudo_op_t op, int access, int fd, int dirfd, const char *path, const PSEUDO_STATBUF *buf, ...);
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:352:8:  [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.
	len = vsnprintf(debuff, 8192, fmt, ap);
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:492:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
				snprintf(buffer, sizeof(buffer), sql_tables[i].values[j].fmt, sql_tables[i].values[j].arg);
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:888:40:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		sqlite3_bind_int(insert, field++, e->access);
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:960:3:  [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(buffer, 8192, text, ap);
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:982:42:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		sqlite3_bind_int(insert, field++, msg->access);
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:1057:7:  [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.
	rc = vsnprintf(b->tail, b->buflen - curlen, fmt, ap);
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:1075:8:  [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.
		rc = vsnprintf(b->tail, b->buflen - curlen, fmt, ap);
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.h:13:6:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	int access;
data/pseudo-1.9.0+git20200626+067950b/pseudo_ipc.h:17:6:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	int access;
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:493:8:  [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.
	len = vsnprintf(debuff, 8192, fmt, ap);
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:580: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.
	ev->len = vsnprintf(ev->data, PSEUDO_EVLOG_LENGTH, fmt, ap);
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:1067:3:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
		snprintf(newenv, len, PRELINK_PATH "=%s:%s64", libdir_path, libdir_path);
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:1092:3:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
		snprintf(newenv, len, PRELINK_LIBRARIES "=%s", ld_preload);
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:1400:4:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
			access |= (PSA_APPEND | PSA_WRITE);
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:1403:4:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
			access |= PSA_READ;
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:1406:4:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
			access |= PSA_WRITE;
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:1412:4:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
			access |= PSA_EXEC;
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:1420:4:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
			access |= (PSA_READ | PSA_WRITE);
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:1427:9:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	return access;
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:1500:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
				strcpy(realname, filename);
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:1584:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
				snprintf(pseudo_path, len, filename, getpid(), program_invocation_short_name);
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:1586:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
				snprintf(pseudo_path, len, filename, program_invocation_short_name, getpid());
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:1589:4:  [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(pseudo_path, len, filename, getpid());
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:1591:4:  [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(pseudo_path, len, filename, program_invocation_short_name);
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:1593:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(pseudo_path, filename);
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:701:17:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		} else if (e->access != 0) {
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:702:11:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
			if (e->access & PSA_READ) {
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:704:12:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
				if (e->access & PSA_WRITE)
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:706:18:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
			} else if (e->access & PSA_WRITE) {
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:707:12:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
				if (e->access & PSA_APPEND) {
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:712:12:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
				if (e->access & PSA_READ)
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:714:18:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
			} else if (e->access & PSA_EXEC) {
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:718:11:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
			if (e->access & PSA_APPEND && !(e->access & PSA_WRITE)) {
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:718:39:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
			if (e->access & PSA_APPEND && !(e->access & PSA_WRITE)) {
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:725:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf(fmtbuf, scratch);
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:729:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf(fmtbuf, (int) e->client);
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:733:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf(fmtbuf, (int) e->dev);
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:737:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf(fmtbuf, (int) e->fd);
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:741:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf(fmtbuf, (int) e->gid);
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:745:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf(fmtbuf, e->tag ? e->tag : "");
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:749:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf(fmtbuf, (unsigned long long) e->ino);
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:753:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf(fmtbuf, (unsigned int) e->mode & ALLPERMS);
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:757:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf(fmtbuf, (unsigned int) e->mode);
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:761:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf(fmtbuf, pseudo_op_name(e->op));
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:765:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf(fmtbuf, e->path ? e->path : "");
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:769:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf(fmtbuf, pseudo_res_name(e->result));
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:773:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf(fmtbuf, e->program ? e->program : "");
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:780:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf(fmtbuf, scratch);
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:784:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf(fmtbuf, pseudo_sev_name(e->severity));
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:803:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf(fmtbuf, scratch);
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:807:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf(fmtbuf, e->text ? e->text : "");
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:811:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf(fmtbuf, (int) e->uid);
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:815:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf(fmtbuf, pseudo_msg_type_name(e->type));
data/pseudo-1.9.0+git20200626+067950b/pseudo.c:83:17:  [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 *ld_env = getenv(PRELINK_LIBRARIES);
data/pseudo-1.9.0+git20200626+067950b/pseudo.c:137:14:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((o = getopt(argc, argv, "+BCdfhi:lm:M:p:P:r:R:St:vVx:")) != -1) {
data/pseudo-1.9.0+git20200626+067950b/pseudo.c:359: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.
			argv[0] = getenv("SHELL");
data/pseudo-1.9.0+git20200626+067950b/pseudo.c:369: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.
			if ((path = getenv("PATH")) == NULL)
data/pseudo-1.9.0+git20200626+067950b/pseudo_client.c:451:8:  [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.
	env = getenv("PSEUDO_DISABLED");
data/pseudo-1.9.0+git20200626+067950b/pseudo_client.c:494:8:  [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.
	env = getenv("PSEUDO_ALLOW_FSYNC");
data/pseudo-1.9.0+git20200626+067950b/pseudo_client.c:514:8:  [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.
	env = getenv("PSEUDO_UNLOAD");
data/pseudo-1.9.0+git20200626+067950b/pseudo_client.c:1996: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.
	char *path = getenv("PATH");
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:80:62:  [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 GETENV(x) (pseudo_real_getenv ? pseudo_real_getenv : getenv)(x)
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:106:46:  [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 * (*pseudo_real_getenv)(const char *) = getenv;
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:515:14:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((o = getopt(argc, argv, "vla:c:d:DE:f:F:g:G:hi:I:m:M:o:O:p:P:r:R:s:S:t:T:u:Ux:y:")) != -1) {
data/pseudo-1.9.0+git20200626+067950b/makedata.c:22: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).
					fp = fopen(name, "w");
data/pseudo-1.9.0+git20200626+067950b/ports/common/pseudo_wrappers.c:371:1:  [2] (race) vfork:
  On some old systems, vfork() permits race conditions, and it's very
  difficult to use correctly (CWE-362). Use fork() instead.
vfork(void) {
data/pseudo-1.9.0+git20200626+067950b/ports/darwin/pseudo_wrappers.c:147: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(value, result->path, result->pathlen);
data/pseudo-1.9.0+git20200626+067950b/ports/darwin/pseudo_wrappers.c:149: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(value, result->path, size);
data/pseudo-1.9.0+git20200626+067950b/ports/darwin/pseudo_wrappers.c:223:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char extra_name_buf[4096];
data/pseudo-1.9.0+git20200626+067950b/ports/darwin/pseudo_wrappers.c:251: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(list, result->path, result->pathlen);
data/pseudo-1.9.0+git20200626+067950b/ports/darwin/pseudo_wrappers.c:254: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(list, result->path, size);
data/pseudo-1.9.0+git20200626+067950b/ports/darwin/pseudo_wrappers.c:260:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy(list + used, extra_name_buf, real_attr_len);
data/pseudo-1.9.0+git20200626+067950b/ports/darwin/pseudo_wrappers.c:263: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(list + used, extra_name_buf, size - used);
data/pseudo-1.9.0+git20200626+067950b/ports/darwin/pseudo_wrappers.c:306:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char linebuf[PLENTY_LONG] = { 0 };
data/pseudo-1.9.0+git20200626+067950b/ports/darwin/pseudo_wrappers.c:369: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(buf, linebuf, len);
data/pseudo-1.9.0+git20200626+067950b/ports/darwin/pseudo_wrappers.c:433:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char linebuf[PLENTY_LONG] = { 0 };
data/pseudo-1.9.0+git20200626+067950b/ports/darwin/pseudo_wrappers.c:494: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(buf, linebuf, len);
data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/getpw.c:12:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char pwbuf[PSEUDO_PWD_MAX];
data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/mkstemp64.c:46: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(template + len - 6, tmp_template + strlen(tmp_template) - 6, 6);
data/pseudo-1.9.0+git20200626+067950b/ports/linux/portdefs.h:28: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.
GLIBC_COMPAT_SYMBOL(memcpy,2.2.5);
data/pseudo-1.9.0+git20200626+067950b/ports/linux/portdefs.h:30: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.
GLIBC_COMPAT_SYMBOL(memcpy,2.0);
data/pseudo-1.9.0+git20200626+067950b/ports/linux/xattr/pseudo_wrappers.c:146: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(value, result->path, result->pathlen);
data/pseudo-1.9.0+git20200626+067950b/ports/linux/xattr/pseudo_wrappers.c:148: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(value, result->path, size);
data/pseudo-1.9.0+git20200626+067950b/ports/linux/xattr/pseudo_wrappers.c:266: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(list, result->path, result->pathlen);
data/pseudo-1.9.0+git20200626+067950b/ports/linux/xattr/pseudo_wrappers.c:268: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(list, result->path, size);
data/pseudo-1.9.0+git20200626+067950b/ports/uids_generic/guts/getpwent.c:12:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char pwbuf[PSEUDO_PWD_MAX];
data/pseudo-1.9.0+git20200626+067950b/ports/uids_generic/guts/getpwnam.c:12:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char pwbuf[PSEUDO_PWD_MAX];
data/pseudo-1.9.0+git20200626+067950b/ports/uids_generic/guts/getpwuid.c:12:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char pwbuf[PSEUDO_PWD_MAX];
data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/getcwd.c:62: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(buf, pseudo_cwd_rel, (pseudo_cwd_len + 1) - (pseudo_cwd_rel - pseudo_cwd));
data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/linkat.c:58:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		tmpfile_fd = atoi(oldpath + 14);
data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/mkdtemp.c:43: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(template + len - 6, tmp_template + strlen(tmp_template) - 6, 6);
data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/mkostemps.c:54: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(template + len - 6 - suffixlen, tmp_template + strlen(tmp_template) - 6 - suffixlen, 6);
data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/mktemp.c:32: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(template + len - 6, tmp_template + strlen(tmp_template) - 6, 6);
data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/realpath.c:29: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(resolved_name, rname, len + 1);
data/pseudo-1.9.0+git20200626+067950b/pseudo.c:59: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 symbolics[2];
data/pseudo-1.9.0+git20200626+067950b/pseudo.c:60:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		const char *descriptions[2];
data/pseudo-1.9.0+git20200626+067950b/pseudo.c:85:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char opts[pseudo_path_max()], *optptr = opts;
data/pseudo-1.9.0+git20200626+067950b/pseudo.c:340:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char fullpath[pseudo_path_max()];
data/pseudo-1.9.0+git20200626+067950b/pseudo.c:356: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.
			static char *newargv[2];
data/pseudo-1.9.0+git20200626+067950b/pseudo_client.c:336: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).
			fd = open(profile_path, O_RDWR | O_CREAT, 0600);
data/pseudo-1.9.0+git20200626+067950b/pseudo_client.c:550: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).
				pseudo_prefix_dir_fd = open(pseudo_path, O_RDONLY);
data/pseudo-1.9.0+git20200626+067950b/pseudo_client.c:555: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).
					pseudo_prefix_dir_fd = open(pseudo_path, O_RDONLY);
data/pseudo-1.9.0+git20200626+067950b/pseudo_client.c:573:32:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
				pseudo_localstate_dir_fd = open(pseudo_path, O_RDONLY);
data/pseudo-1.9.0+git20200626+067950b/pseudo_client.c:578:33:  [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).
					pseudo_localstate_dir_fd = open(pseudo_path, O_RDONLY);
data/pseudo-1.9.0+git20200626+067950b/pseudo_client.c:788:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char uidbuf[256];
data/pseudo-1.9.0+git20200626+067950b/pseudo_client.c:796:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char gidbuf[256];
data/pseudo-1.9.0+git20200626+067950b/pseudo_client.c:823: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(pseudo_chroot, path, pseudo_chroot_len + 1);
data/pseudo-1.9.0+git20200626+067950b/pseudo_client.c:955: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).
			fp = fopen(pseudo_pidfile, "r");
data/pseudo-1.9.0+git20200626+067950b/pseudo_client.c:1052:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char tagbuf[pseudo_path_max()];
data/pseudo-1.9.0+git20200626+067950b/pseudo_client.c:1148: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).
	cwd_fd = open(".", O_RDONLY);
data/pseudo-1.9.0+git20200626+067950b/pseudo_client.c:1219:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fp = fopen(pseudo_pidfile, "r");
data/pseudo-1.9.0+git20200626+067950b/pseudo_client.c:1354:27:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
			pseudo_prefix_dir_fd = open(pseudo_path, O_RDONLY);
data/pseudo-1.9.0+git20200626+067950b/pseudo_client.c:1359: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).
				pseudo_prefix_dir_fd = open(pseudo_path, O_RDONLY);
data/pseudo-1.9.0+git20200626+067950b/pseudo_client.c:1378:31:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
			pseudo_localstate_dir_fd = open(pseudo_path, O_RDONLY);
data/pseudo-1.9.0+git20200626+067950b/pseudo_client.c:1383:32:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
				pseudo_localstate_dir_fd = open(pseudo_path, O_RDONLY);
data/pseudo-1.9.0+git20200626+067950b/pseudo_client.c:1687: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(alloced_path, path, partial_len);
data/pseudo-1.9.0+git20200626+067950b/pseudo_client.c:1689: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(alloced_path + partial_len + 1, path_extra_1, path_extra_1len);
data/pseudo-1.9.0+git20200626+067950b/pseudo_client.c:1692: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(alloced_path + partial_len + path_extra_1len + 2, path_extra_2, path_extra_2len);
data/pseudo-1.9.0+git20200626+067950b/pseudo_client.c:1711: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(alloced_path, path, pathlen);
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:348:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char debuff[8192];
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:491:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[256];
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:629:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char datebuf[64];
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:953:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[8192];
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:1068: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(newbuf, b->data, curlen + 1);
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:2178: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(oldmsg, msg, sizeof(msg) + msg->pathlen);
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:2506: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(*value, response, length);
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:2563: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_buffer, buffer, used);
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:2568: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(buffer + used, value, len);
data/pseudo-1.9.0+git20200626+067950b/pseudo_ipc.c:200: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(newmsg, old, sizeof(pseudo_msg_t) + old->pathlen);
data/pseudo-1.9.0+git20200626+067950b/pseudo_ipc.c:215: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(newmsg->path, path, pathlen);
data/pseudo-1.9.0+git20200626+067950b/pseudo_ipc.c:231: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(newmsg->path, path, pathlen);
data/pseudo-1.9.0+git20200626+067950b/pseudo_profile.c:26: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).
	fd = open(argv[1], O_RDONLY);
data/pseudo-1.9.0+git20200626+067950b/pseudo_server.c:122:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fp = fopen(pseudo_path, "w");
data/pseudo-1.9.0+git20200626+067950b/pseudo_server.c:263: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).
	lockfd = open(lockname, O_RDWR | O_CREAT, 0644);
data/pseudo-1.9.0+git20200626+067950b/pseudo_server.c:408:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(new_clients, clients, max_clients * sizeof(*clients));
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:231: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).
		int level = atoi(env);
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:255: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 pid_text[32];
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:296:68:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static int (*real_regexec)(const regex_t *__restrict __preg, const char *__restrict __string, size_t __nmatch, regmatch_t __pmatch[__restrict_arr], int __eflags);
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:403:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char s[2] = { pseudo_debug_type_symbolic(max_debug_level) };
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:413:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char s[2] = { pseudo_debug_type_symbolic(max_debug_level + 1) };
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:436:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[PDBG_MAX + 1] = "", *s = buf;
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:484:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char debuff[8192];
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:510:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char scratch[256], firstdate[64], lastdate[64];
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:583:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(ev->data + PSEUDO_EVLOG_LENGTH - 5, "...\n");
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:660: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(current, element, elen);
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:685: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 linkbuf[pseudo_path_max() + 1];
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:789: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 *pathbufs[PATHBUFS] = { 0 };
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:836: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(current, base, baselen);
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:1235:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char mypath[pseudo_path_max()];
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:1456:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[pseudo_path_max()];
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:1497: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).
		rc = open(filename, flags, 0600);
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:1597: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).
	fd = open(pseudo_path, O_WRONLY | O_APPEND | O_CREAT, 0644);
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:1688:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char hexbuf[128];
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:1689:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char asciibuf[32];
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:323:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char timebuf[4096];
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:668:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char fmtbuf[256];
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:670:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char scratch[4096];
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:700:4:  [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(scratch, "invalid");
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:719:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
				strcat(scratch, "?a");
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:748:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(s, "llu");
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:789:4:  [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(scratch, "file");
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:791:4:  [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(scratch, "link");
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:793:4:  [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(scratch, "dir");
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:795:4:  [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(scratch, "fifo");
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:797:4:  [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(scratch, "block");
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:799:4:  [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(scratch, "char");
data/pseudo-1.9.0+git20200626+067950b/ports/darwin/pseudo_wrappers.c:346:4:  [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(s, "\n");
data/pseudo-1.9.0+git20200626+067950b/ports/darwin/pseudo_wrappers.c:364: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(linebuf);
data/pseudo-1.9.0+git20200626+067950b/ports/darwin/pseudo_wrappers.c:485: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(linebuf);
data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/glob64.c:16: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(pattern) + pseudo_chroot_len + 2;
data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/mkstemp64.c:21:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen(template);
data/pseudo-1.9.0+git20200626+067950b/ports/linux/guts/mkstemp64.c:46:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	memcpy(template + len - 6, tmp_template + strlen(tmp_template) - 6, 6);
data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/getcwd.c:64: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(buf, "/");
data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/glob.c:16: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(pattern) + pseudo_chroot_len + 2;
data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/mkdtemp.c:21:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen(template);
data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/mkdtemp.c:43:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	memcpy(template + len - 6, tmp_template + strlen(tmp_template) - 6, 6);
data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/mkostemps.c:24:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen(template);
data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/mkostemps.c:54: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).
	memcpy(template + len - 6 - suffixlen, tmp_template + strlen(tmp_template) - 6 - suffixlen, 6);
data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/mktemp.c:19:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen(template);
data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/mktemp.c:32:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	memcpy(template + len - 6, tmp_template + strlen(tmp_template) - 6, 6);
data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/realpath.c:17: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(rname);
data/pseudo-1.9.0+git20200626+067950b/ports/unix/guts/symlinkat.c:15:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		size_t len = pseudo_chroot_len + strlen(oldname) + 1;
data/pseudo-1.9.0+git20200626+067950b/pseudo.c:478: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).
			initial_len = strlen(msg->path);
data/pseudo-1.9.0+git20200626+067950b/pseudo.c:688:8:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
			if (mismatch) {
data/pseudo-1.9.0+git20200626+067950b/pseudo_client.c:108: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(path);
data/pseudo-1.9.0+git20200626+067950b/pseudo_client.c:349:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
						rc = read(fd, &profile_data, sizeof(profile_data));
data/pseudo-1.9.0+git20200626+067950b/pseudo_client.c:544:18:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
		pseudo_umask = umask(022);
data/pseudo-1.9.0+git20200626+067950b/pseudo_client.c:545:3:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
		umask(pseudo_umask);
data/pseudo-1.9.0+git20200626+067950b/pseudo_client.c:634: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).
				pseudo_chroot_len = strlen(pseudo_chroot);
data/pseudo-1.9.0+git20200626+067950b/pseudo_client.c:815: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).
	pseudo_chroot_len = strlen(path);
data/pseudo-1.9.0+git20200626+067950b/pseudo_client.c:858: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).
		pseudo_cwd_len = strlen(pseudo_cwd);
data/pseudo-1.9.0+git20200626+067950b/pseudo_client.c:1134: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).
	sun.sun_len = strlen(PSEUDO_SOCKET) + 1;
data/pseudo-1.9.0+git20200626+067950b/pseudo_client.c:1448: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).
				baselen = strlen(basepath);
data/pseudo-1.9.0+git20200626+067950b/pseudo_client.c:1521: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).
			pathlen = strlen(path) + 1;
data/pseudo-1.9.0+git20200626+067950b/pseudo_client.c:1617: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).
		path_extra_1len = strlen(path_extra_1);
data/pseudo-1.9.0+git20200626+067950b/pseudo_client.c:1629: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).
		path_extra_1len = strlen(path_extra_1);
data/pseudo-1.9.0+git20200626+067950b/pseudo_client.c:1641: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).
		path_extra_1len = strlen(path_extra_1);
data/pseudo-1.9.0+git20200626+067950b/pseudo_client.c:1649: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).
			pathlen = strlen(path) + 1;
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:529: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).
	rc = sqlite3_prepare_v2(db, sql, strlen(sql), &stmt, NULL);
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:571:5:  [1] (buffer) strlen:
  Does not handle 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(m->sql),
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:599:5:  [1] (buffer) strlen:
  Does not handle 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(update_sql),
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:873: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).
		rc = sqlite3_prepare_v2(log_db, sql, strlen(sql), &insert, NULL);
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:971: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).
		rc = sqlite3_prepare_v2(log_db, sql, strlen(sql), &insert, NULL);
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:1252: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).
	rc = sqlite3_prepare_v2(log_db, sql->data, strlen(sql->data), &stmt, NULL);
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:1492: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).
		rc = sqlite3_prepare_v2(file_db, delete_sql, strlen(delete_sql), &delete, NULL);
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:1522: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).
		rc = sqlite3_prepare_v2(file_db, delete_sql, strlen(delete_sql), &delete, NULL);
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:1559:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		rc = sqlite3_prepare_v2(file_db, copy_sql, strlen(copy_sql), &copy, NULL);
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:1590:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		rc = sqlite3_prepare_v2(file_db, scan_sql, strlen(scan_sql), &scan, NULL);
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:1637: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).
		rc = sqlite3_prepare_v2(file_db, sql, strlen(sql), &insert, NULL);
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:1683: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).
		rc = sqlite3_prepare_v2(file_db, sql, strlen(sql), &sql_delete, NULL);
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:1718: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).
		rc = sqlite3_prepare_v2(file_db, sql, strlen(sql), &update, NULL);
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:1753:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		rc = sqlite3_prepare_v2(file_db, sql_mark_file, strlen(sql_mark_file), &mark_file, NULL);
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:1798:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		rc = sqlite3_prepare_v2(file_db, sql_mark_file, strlen(sql_mark_file), &mark_file, NULL);
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:1840: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).
		rc = sqlite3_prepare_v2(file_db, sql_delete_exact, strlen(sql_delete_exact), &delete_exact, NULL);
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:1876: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).
		rc = sqlite3_prepare_v2(file_db, sql_delete_exact, strlen(sql_delete_exact), &delete_exact, NULL);
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:1919: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).
		rc = sqlite3_prepare_v2(file_db, sql_delete_exact, strlen(sql_delete_exact), &delete_exact, NULL);
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:1967: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).
		rc = sqlite3_prepare_v2(file_db, sql_delete_sub, strlen(sql_delete_sub), &delete_sub, NULL);
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:2019: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).
		rc = sqlite3_prepare_v2(file_db, sql_update_exact, strlen(sql_update_exact), &update_exact, NULL);
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:2026: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).
		rc = sqlite3_prepare_v2(file_db, sql_update_sub, strlen(sql_update_sub), &update_sub, NULL);
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:2092: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).
		rc = sqlite3_prepare_v2(file_db, files_sql, strlen(files_sql), &files_update, NULL);
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:2099: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).
		rc = sqlite3_prepare_v2(file_db, xattrs_sql, strlen(xattrs_sql), &xattrs_update, NULL);
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:2165: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).
		rc = sqlite3_prepare_v2(file_db, sql, strlen(sql), &update, NULL);
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:2228: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).
		rc = sqlite3_prepare_v2(file_db, sql, strlen(sql), &update, NULL);
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:2269: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).
		rc = sqlite3_prepare_v2(file_db, sql, strlen(sql), &select, NULL);
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:2320: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).
		rc = sqlite3_prepare_v2(file_db, sql, strlen(sql), &select, NULL);
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:2377: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).
		rc = sqlite3_prepare_v2(file_db, sql, strlen(sql), &select, NULL);
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:2426: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).
		rc = sqlite3_prepare_v2(file_db, sql, strlen(sql), &select, NULL);
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:2480: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).
		rc = sqlite3_prepare_v2(file_db, sql, strlen(sql), &select, NULL);
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:2543: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).
		rc = sqlite3_prepare_v2(file_db, sql, strlen(sql), &select, NULL);
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:2597: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).
		rc = sqlite3_prepare_v2(file_db, sql, strlen(sql), &delete, NULL);
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:2638: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).
		rc = sqlite3_prepare_v2(file_db, select_sql, strlen(select_sql), &select, NULL);
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:2676: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).
	vlen = strlen(value);
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:2684: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).
			rc = sqlite3_prepare_v2(file_db, update_sql, strlen(update_sql), &update, NULL);
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:2707: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).
			rc = sqlite3_prepare_v2(file_db, insert_sql, strlen(insert_sql), &insert, NULL);
data/pseudo-1.9.0+git20200626+067950b/pseudo_db.c:2751: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).
		rc = sqlite3_prepare_v2(file_db, sql, strlen(sql), &select, NULL);
data/pseudo-1.9.0+git20200626+067950b/pseudo_ipc.c:117:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			len = strlen(path) + 1;
data/pseudo-1.9.0+git20200626+067950b/pseudo_ipc.c:154:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	r = read(fd, &header, PSEUDO_HEADER_SIZE);
data/pseudo-1.9.0+git20200626+067950b/pseudo_ipc.c:178:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		r = read(fd, incoming->path, incoming->pathlen);
data/pseudo-1.9.0+git20200626+067950b/pseudo_ipc.c:228: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).
			pathlen = strlen(path) + 1;
data/pseudo-1.9.0+git20200626+067950b/pseudo_profile.c:32:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	while (read(fd, &item, sizeof(item)) == sizeof(item)) {
data/pseudo-1.9.0+git20200626+067950b/pseudo_server.c:95: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(path);
data/pseudo-1.9.0+git20200626+067950b/pseudo_server.c:164:2:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
	umask(022);
data/pseudo-1.9.0+git20200626+067950b/pseudo_server.c:312: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).
	sun.sun_len = strlen(PSEUDO_SOCKET) + 1;
data/pseudo-1.9.0+git20200626+067950b/pseudo_server.c:487: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).
				proglen = strlen(in->path);
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:346:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		memmove(start, end, strlen(end) + 1);
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:366: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(list) + 1 + strlen(libdir_path) + 1 + strlen(libpseudo_name) + 1;
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:366:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		len = strlen(list) + 1 + strlen(libdir_path) + 1 + strlen(libpseudo_name) + 1;
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:366: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).
		len = strlen(list) + 1 + strlen(libdir_path) + 1 + strlen(libpseudo_name) + 1;
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:371: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(list) + 1 + strlen(libpseudo_name) + 1;
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:371:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		len = strlen(list) + 1 + strlen(libpseudo_name) + 1;
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:817: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).
	pathlen = strlen(path);
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:893:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (ld_preload && strlen(ld_preload)) {
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:962: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(libdir_path) + 1 + (strlen(libdir_path) + 2) + 1;
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:962: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).
		size_t len = strlen(libdir_path) + 1 + (strlen(libdir_path) + 2) + 1;
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:970: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(ld_library_path) + 1 + strlen(libdir_path) + 1 + (strlen(libdir_path) + 2) + 1;
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:970:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		size_t len = strlen(ld_library_path) + 1 + strlen(libdir_path) + 1 + (strlen(libdir_path) + 2) + 1;
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:970:73:  [1] (buffer) strlen:
  Does not handle 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(ld_library_path) + 1 + strlen(libdir_path) + 1 + (strlen(libdir_path) + 2) + 1;
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:1062: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(PRELINK_PATH "=") + strlen(libdir_path) + 1 + (strlen(libdir_path) + 2) + 1;
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:1062: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).
		size_t len = strlen(PRELINK_PATH "=") + strlen(libdir_path) + 1 + (strlen(libdir_path) + 2) + 1;
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:1062:70:  [1] (buffer) strlen:
  Does not handle 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(PRELINK_PATH "=") + strlen(libdir_path) + 1 + (strlen(libdir_path) + 2) + 1;
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:1070: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(ld_library_path) + 1 + strlen(libdir_path) + 1 + (strlen(libdir_path) + 2) + 1;
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:1070:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		size_t len = strlen(ld_library_path) + 1 + strlen(libdir_path) + 1 + (strlen(libdir_path) + 2) + 1;
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:1070:73:  [1] (buffer) strlen:
  Does not handle 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(ld_library_path) + 1 + strlen(libdir_path) + 1 + (strlen(libdir_path) + 2) + 1;
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:1090: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(PRELINK_LIBRARIES "=") + strlen(ld_preload) + 1;
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:1090:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		size_t len = strlen(PRELINK_LIBRARIES "=") + strlen(ld_preload) + 1;
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:1108: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).
			if (!strncmp(pseudo_env[i].key,new_envp[k],strlen(pseudo_env[i].key))) {
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:1114:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			size_t len = strlen(pseudo_env[i].key) + 1 + strlen(pseudo_env[i].value) + 1;
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:1114: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).
			size_t len = strlen(pseudo_env[i].key) + 1 + strlen(pseudo_env[i].value) + 1;
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:1135: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 len = prefix_len + strlen(file) + 2;
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:1172:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	rc = pseudo_append_path(prefix, strlen(prefix), file);	
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:1189:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	rc = pseudo_append_path(bindir, strlen(bindir), file);	
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:1206:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	rc = pseudo_append_path(libdir, strlen(libdir), file);	
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:1223: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).
	rc = pseudo_append_path(localstatedir, strlen(localstatedir), file);	
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:1241: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).
			s = mypath + strlen(mypath);
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:1246: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).
			s = mypath + strlen(mypath);
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:1252: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).
		if ((int) strlen(tmp_path) >= pseudo_path_max()) {
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:1272:4:  [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(mypath, "/");
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:1312: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);
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:1572: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(filename) + 1;
data/pseudo-1.9.0+git20200626+067950b/pseudo_util.c:1576: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).
			len += strlen(program_invocation_short_name);
data/pseudo-1.9.0+git20200626+067950b/pseudo_wrappers.c:270: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(s);
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:272: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(string);
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:703:5:  [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(scratch, "r");
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:705: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(scratch, "+");
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:708:6:  [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(scratch, "a");
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:710:6:  [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(scratch, "w");
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:713: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(scratch, "+");
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:715:5:  [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(scratch, "x");
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:722:4:  [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(scratch, "-");
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:724: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(s, "s");
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:728: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(s, "d");
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:732: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(s, "d");
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:736: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(s, "d");
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:740: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(s, "d");
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:744: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(s, "s");
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:752: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(s, "o");
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:756: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(s, "o");
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:760: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(s, "s");
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:764: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(s, "s");
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:768: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(s, "s");
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:772: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(s, "s");
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:776: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(s, "s");
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:783: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(s, "s");
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:787:2:  [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(s, "s");
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:806: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(s, "s");
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:810: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(s, "d");
data/pseudo-1.9.0+git20200626+067950b/pseudolog.c:814: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(s, "s");

ANALYSIS SUMMARY:

Hits = 323
Lines analyzed = 18357 in approximately 0.55 seconds (33381 lines/second)
Physical Source Lines of Code (SLOC) = 12304
Hits@level = [0]  80 [1] 141 [2] 102 [3]  11 [4]  68 [5]   1
Hits@level+ = [0+] 403 [1+] 323 [2+] 182 [3+]  80 [4+]  69 [5+]   1
Hits/KSLOC@level+ = [0+] 32.7536 [1+] 26.2516 [2+] 14.7919 [3+] 6.50195 [4+] 5.60793 [5+] 0.0812744
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.