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/smlnj-110.79/nlffi/lib/Tests/ll/ll.c
Examining data/smlnj-110.79/nlffi/lib/Tests/ll/ll.h
Examining data/smlnj-110.79/nlffi/lib/Tests/printf/printf.h
Examining data/smlnj-110.79/nlffi/lib/Tests/intr/intr.c
Examining data/smlnj-110.79/nlffi/lib/Tests/v/v.c
Examining data/smlnj-110.79/nlffi/lib/Tests/divmod.c
Examining data/smlnj-110.79/nlffi/lib/Tests/math/math.h
Examining data/smlnj-110.79/nlffi/lib/Tests/various/various.c
Examining data/smlnj-110.79/nlffi/lib/Tests/testcall.c
Examining data/smlnj-110.79/nlffi/lib/Tests/pdb/pdb.c
Examining data/smlnj-110.79/nlffi/lib/Tests/pdb/forward.c
Examining data/smlnj-110.79/smlnj-c/cc-info.c
Examining data/smlnj-110.79/base/runtime/mach-dep/x86-masm.h
Examining data/smlnj-110.79/base/runtime/mach-dep/unix-fault.c
Examining data/smlnj-110.79/base/runtime/mach-dep/win32-fault.h
Examining data/smlnj-110.79/base/runtime/mach-dep/unix-signal.c
Examining data/smlnj-110.79/base/runtime/mach-dep/win32-signal.c
Examining data/smlnj-110.79/base/runtime/mach-dep/assyntax.h
Examining data/smlnj-110.79/base/runtime/mach-dep/unix-prof.c
Examining data/smlnj-110.79/base/runtime/mach-dep/win32-fault.c
Examining data/smlnj-110.79/base/runtime/mach-dep/ml-fp.h
Examining data/smlnj-110.79/base/runtime/mach-dep/signal-sysdep.h
Examining data/smlnj-110.79/base/runtime/mach-dep/cygwin-fault.c
Examining data/smlnj-110.79/base/runtime/mach-dep/win32-timers.h
Examining data/smlnj-110.79/base/runtime/mach-dep/mklinux-regs.h
Examining data/smlnj-110.79/base/runtime/mach-dep/win32-util.c
Examining data/smlnj-110.79/base/runtime/mach-dep/signal-util.c
Examining data/smlnj-110.79/base/runtime/memory/malloc.c
Examining data/smlnj-110.79/base/runtime/memory/mem-win32.c
Examining data/smlnj-110.79/base/runtime/memory/mem-mmap.c
Examining data/smlnj-110.79/base/runtime/memory/mem-mach.c
Examining data/smlnj-110.79/base/runtime/kernel/timers.c
Examining data/smlnj-110.79/base/runtime/kernel/standalone.c
Examining data/smlnj-110.79/base/runtime/kernel/main.c
Examining data/smlnj-110.79/base/runtime/kernel/ml-options.c
Examining data/smlnj-110.79/base/runtime/kernel/qualify-name.c
Examining data/smlnj-110.79/base/runtime/kernel/bill-os.c
Examining data/smlnj-110.79/base/runtime/kernel/globals.c
Examining data/smlnj-110.79/base/runtime/kernel/swap-bytes.c
Examining data/smlnj-110.79/base/runtime/kernel/win32-timers.c
Examining data/smlnj-110.79/base/runtime/kernel/ml-state.c
Examining data/smlnj-110.79/base/runtime/kernel/error.c
Examining data/smlnj-110.79/base/runtime/kernel/load-ml.c
Examining data/smlnj-110.79/base/runtime/kernel/boot.c
Examining data/smlnj-110.79/base/runtime/kernel/run-ml.c
Examining data/smlnj-110.79/base/runtime/kernel/unix-timers.c
Examining data/smlnj-110.79/base/runtime/include/c-globals-tbl.h
Examining data/smlnj-110.79/base/runtime/include/ml-globals.h
Examining data/smlnj-110.79/base/runtime/include/bibop.h
Examining data/smlnj-110.79/base/runtime/include/ml-signals.h
Examining data/smlnj-110.79/base/runtime/include/ml-roots.h
Examining data/smlnj-110.79/base/runtime/include/ml-objects.h
Examining data/smlnj-110.79/base/runtime/include/cache-flush.h
Examining data/smlnj-110.79/base/runtime/include/ml-unixdep.h
Examining data/smlnj-110.79/base/runtime/include/ml-request.h
Examining data/smlnj-110.79/base/runtime/include/stats-data.h
Examining data/smlnj-110.79/base/runtime/include/profile.h
Examining data/smlnj-110.79/base/runtime/include/asm-base.h
Examining data/smlnj-110.79/base/runtime/include/ml-values.h
Examining data/smlnj-110.79/base/runtime/include/ml-limits.h
Examining data/smlnj-110.79/base/runtime/include/bill-os.h
Examining data/smlnj-110.79/base/runtime/include/gc.h
Examining data/smlnj-110.79/base/runtime/include/ml-base.h
Examining data/smlnj-110.79/base/runtime/include/bin-file.h
Examining data/smlnj-110.79/base/runtime/include/ml-timer.h
Examining data/smlnj-110.79/base/runtime/include/memory.h
Examining data/smlnj-110.79/base/runtime/include/tags.h
Examining data/smlnj-110.79/base/runtime/include/cntr.h
Examining data/smlnj-110.79/base/runtime/include/c-library.h
Examining data/smlnj-110.79/base/runtime/include/machine-id.h
Examining data/smlnj-110.79/base/runtime/include/ml-mp.h
Examining data/smlnj-110.79/base/runtime/include/ml-options.h
Examining data/smlnj-110.79/base/runtime/include/heap-io.h
Examining data/smlnj-110.79/base/runtime/include/ml-osdep.h
Examining data/smlnj-110.79/base/runtime/include/vproc-state.h
Examining data/smlnj-110.79/base/runtime/include/ml-state.h
Examining data/smlnj-110.79/base/runtime/c-libs/posix-procenv/times.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-procenv/getpgrp.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-procenv/getpid.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-procenv/setgid.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-procenv/getlogin.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-procenv/getppid.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-procenv/uname.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-procenv/ctermid.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-procenv/ttyname.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-procenv/cfun-proto-list.h
Examining data/smlnj-110.79/base/runtime/c-libs/posix-procenv/getuid.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-procenv/sysconf.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-procenv/getgid.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-procenv/setsid.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-procenv/environ.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-procenv/posix-procenv-lib.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-procenv/setuid.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-procenv/getgroups.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-procenv/getenv.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-procenv/geteuid.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-procenv/cfun-list.h
Examining data/smlnj-110.79/base/runtime/c-libs/posix-procenv/time.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-procenv/isatty.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-procenv/getegid.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-procenv/setpgid.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-prof/getpquantum.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-prof/cfun-proto-list.h
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-prof/smlnj-prof-lib.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-prof/setptimer.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-prof/cfun-list.h
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-prof/setpref.c
Examining data/smlnj-110.79/base/runtime/c-libs/c-libraries.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-math/atan64.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-math/exp64.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-math/ctlrndmode.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-math/cfun-proto-list.h
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-math/dtoa.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-math/math.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-math/smlnj-math-lib.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-math/sqrt64.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-math/sin64.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-math/log64.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-math/cfun-list.h
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-math/fp-dep.h
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-math/g_fmt.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-math/cos64.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-time/smlnj-time-lib.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-time/cfun-proto-list.h
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-time/timeofday.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-time/gettime.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-time/cfun-list.h
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-bytecode/trace.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-ccalls/cutil.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-ccalls/c-calls-lib.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-ccalls/cfun-proto-list.h
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-ccalls/c-calls.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-ccalls/c-calls.h
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-ccalls/cfun-list.h
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-ccalls/c-calls-fns.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-ccalls/cutil-cfuns.h
Examining data/smlnj-110.79/base/runtime/c-libs/win32-process/cfun-proto-list.h
Examining data/smlnj-110.79/base/runtime/c-libs/win32-process/win32-process.c
Examining data/smlnj-110.79/base/runtime/c-libs/win32-process/cfun-list.h
Examining data/smlnj-110.79/base/runtime/c-libs/win32-process/win32-process-lib.c
Examining data/smlnj-110.79/base/runtime/c-libs/ml-c.h
Examining data/smlnj-110.79/base/runtime/c-libs/posix-error/posix-name-val.h
Examining data/smlnj-110.79/base/runtime/c-libs/posix-error/listerrors.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-error/cfun-proto-list.h
Examining data/smlnj-110.79/base/runtime/c-libs/posix-error/posix-error-lib.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-error/posix-name-val.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-error/errmsg.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-error/tbl-errno.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-error/cfun-list.h
Examining data/smlnj-110.79/base/runtime/c-libs/posix-error/geterror.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-runtime/mkliterals.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-runtime/alloc-code.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-runtime/blast-in.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-runtime/shift-argv.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-runtime/blast-out.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-runtime/smlnj-runt-lib.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-runtime/cfun-proto-list.h
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-runtime/cmd-name.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-runtime/sysinfo.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-runtime/record-concat.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-runtime/record1.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-runtime/itick.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-runtime/export-heap.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-runtime/argv.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-runtime/dummy.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-runtime/cfun-list.h
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-runtime/export-fun.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-runtime/debug.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-runtime/raw-argv.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-runtime/gc-ctl.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-runtime/setitimer.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-runtime/mkexec.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-io/lseek.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-io/close.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-io/write.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-io/pipe.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-io/fsync.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-io/osval.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-io/cfun-proto-list.h
Examining data/smlnj-110.79/base/runtime/c-libs/posix-io/fcntl_gfl.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-io/writebuf.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-io/fcntl_d.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-io/read.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-io/dup2.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-io/posix-io-lib.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-io/lseek_64.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-io/cfun-list.h
Examining data/smlnj-110.79/base/runtime/c-libs/posix-io/fcntl_sfd.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-io/fcntl_gfd.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-io/dup.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-io/fcntl_l.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-io/readbuf.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-io/fcntl_l_64.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-io/clib-list.h
Examining data/smlnj-110.79/base/runtime/c-libs/posix-io/fcntl_sfl.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/ctlDEBUG.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/util-mknetent.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/tbl-addr-family.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/close.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/sockets-osdep.h
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/ctlREUSEADDR.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/getpeername.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/recvbuffrom.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/getERROR.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/socketpair.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/ctlLINGER.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/inetany.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/getnetbyaddr.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/bind.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/accept.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/getrpcbyname.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/getprotbyname.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/util-mkhostent.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/ctlSNDBUF.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/getaddrfamily.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/cfun-proto-list.h
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/getNREAD.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/ctlBROADCAST.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/socket.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/getservbyport.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/sendbuf.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/ctlDONTROUTE.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/list-sock-types.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/recvbuf.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/connect.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/getservbyname.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/gethostbyaddr.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/getATMARK.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/gethostname.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/util-mkservent.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/to-inetaddr.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/util-sockopt.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/ctlNODELAY.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/setNBIO.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/getTYPE.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/getsockname.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/smlnj-sock-lib.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/sendbufto.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/to-unixaddr.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/getnetbyname.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/ctlOOBINLINE.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/from-unixaddr.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/sock-util.h
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/getrpcbynum.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/getprotbynum.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/cfun-list.h
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/ctlRCVBUF.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/recvfrom.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/tbl-sock-type.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/from-inetaddr.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/ctlKEEPALIVE.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/gethostbyname.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/listen.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/shutdown.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/recv.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/list-addr-families.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-sysdb/getgrnam.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-sysdb/posix-sysdb-lib.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-sysdb/cfun-proto-list.h
Examining data/smlnj-110.79/base/runtime/c-libs/posix-sysdb/getgrgid.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-sysdb/getpwuid.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-sysdb/cfun-list.h
Examining data/smlnj-110.79/base/runtime/c-libs/posix-sysdb/getpwnam.c
Examining data/smlnj-110.79/base/runtime/c-libs/templates/template-lib.c
Examining data/smlnj-110.79/base/runtime/c-libs/templates/cfun-proto-list.h
Examining data/smlnj-110.79/base/runtime/c-libs/templates/cfun-list.h
Examining data/smlnj-110.79/base/runtime/c-libs/unix-raise-syserr.c
Examining data/smlnj-110.79/base/runtime/c-libs/win32/win32-dde.c
Examining data/smlnj-110.79/base/runtime/c-libs/win32/win32-reg.c
Examining data/smlnj-110.79/base/runtime/c-libs/win32/cfun-proto-list.h
Examining data/smlnj-110.79/base/runtime/c-libs/win32/name-val.c
Examining data/smlnj-110.79/base/runtime/c-libs/win32/win32-debug.c
Examining data/smlnj-110.79/base/runtime/c-libs/win32/win32-constants.c
Examining data/smlnj-110.79/base/runtime/c-libs/win32/cfun-list.h
Examining data/smlnj-110.79/base/runtime/c-libs/win32/win32-config.c
Examining data/smlnj-110.79/base/runtime/c-libs/win32/win32-lib.c
Examining data/smlnj-110.79/base/runtime/c-libs/win32/name-val.h
Examining data/smlnj-110.79/base/runtime/c-libs/win32/win32-errors.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-process/execp.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-process/osval.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-process/cfun-proto-list.h
Examining data/smlnj-110.79/base/runtime/c-libs/posix-process/fork.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-process/posix-process-lib.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-process/sleep.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-process/pause.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-process/kill.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-process/cfun-list.h
Examining data/smlnj-110.79/base/runtime/c-libs/posix-process/exec.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-process/exece.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-process/alarm.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-process/exit.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-process/waitpid.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-signals/setsigstate.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-signals/cfun-proto-list.h
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-signals/getsigstate.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-signals/listsignals.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-signals/pause.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-signals/cfun-list.h
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-signals/setsigmask.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-signals/getsigmask.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-signals/smlnj-sig-lib.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-os/cfun-proto-list.h
Examining data/smlnj-110.79/base/runtime/c-libs/posix-os/OLDselect.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-os/tmpname.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-os/posix-os-lib.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-os/cfun-list.h
Examining data/smlnj-110.79/base/runtime/c-libs/posix-os/poll.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-signal/osval.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-signal/cfun-proto-list.h
Examining data/smlnj-110.79/base/runtime/c-libs/posix-signal/cfun-list.h
Examining data/smlnj-110.79/base/runtime/c-libs/posix-signal/posix-signal-lib.c
Examining data/smlnj-110.79/base/runtime/c-libs/win32-raise-syserr.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-mp/spin-lock.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-mp/release-proc.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-mp/libsmlnj-mp.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-mp/cfun-proto-list.h
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-mp/max-procs.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-mp/acquire-proc.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-mp/cfun-list.h
Examining data/smlnj-110.79/base/runtime/c-libs/posix-filesys/closedir.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-filesys/rmdir.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-filesys/rename.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-filesys/getcwd.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-filesys/ftruncate_64.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-filesys/osval.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-filesys/cfun-proto-list.h
Examining data/smlnj-110.79/base/runtime/c-libs/posix-filesys/mkfifo.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-filesys/access.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-filesys/posix-filesys-lib.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-filesys/link.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-filesys/stat_64.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-filesys/mkdir.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-filesys/umask.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-filesys/openf.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-filesys/unlink.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-filesys/chdir.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-filesys/chmod.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-filesys/utime.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-filesys/pathconf.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-filesys/rewinddir.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-filesys/opendir.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-filesys/readdir.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-filesys/cfun-list.h
Examining data/smlnj-110.79/base/runtime/c-libs/posix-filesys/stat.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-filesys/symlink.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-filesys/ftruncate.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-filesys/fchmod.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-filesys/chown.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-filesys/fchown.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-filesys/readlink.c
Examining data/smlnj-110.79/base/runtime/c-libs/dl/dlopen.c
Examining data/smlnj-110.79/base/runtime/c-libs/dl/dlclose.c
Examining data/smlnj-110.79/base/runtime/c-libs/dl/cfun-proto-list.h
Examining data/smlnj-110.79/base/runtime/c-libs/dl/dynload-lib.c
Examining data/smlnj-110.79/base/runtime/c-libs/dl/cfun-list.h
Examining data/smlnj-110.79/base/runtime/c-libs/dl/unix-dynload-lib.c
Examining data/smlnj-110.79/base/runtime/c-libs/dl/dlerror.c
Examining data/smlnj-110.79/base/runtime/c-libs/dl/dlsym.c
Examining data/smlnj-110.79/base/runtime/c-libs/win32-filesys/cfun-proto-list.h
Examining data/smlnj-110.79/base/runtime/c-libs/win32-filesys/win32-filesys.c
Examining data/smlnj-110.79/base/runtime/c-libs/win32-filesys/win32-filesys-lib.c
Examining data/smlnj-110.79/base/runtime/c-libs/win32-filesys/cfun-list.h
Examining data/smlnj-110.79/base/runtime/c-libs/win32-io/win32-io.c
Examining data/smlnj-110.79/base/runtime/c-libs/win32-io/cfun-proto-list.h
Examining data/smlnj-110.79/base/runtime/c-libs/win32-io/win32-io-lib.c
Examining data/smlnj-110.79/base/runtime/c-libs/win32-io/cfun-list.h
Examining data/smlnj-110.79/base/runtime/c-libs/win32-io/poll.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-tty/tcsetattr.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-tty/tcgetpgrp.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-tty/osval.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-tty/cfun-proto-list.h
Examining data/smlnj-110.79/base/runtime/c-libs/posix-tty/tcdrain.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-tty/tcflush.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-tty/tcsendbreak.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-tty/tcflow.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-tty/posix-tty-lib.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-tty/cfun-list.h
Examining data/smlnj-110.79/base/runtime/c-libs/posix-tty/tcsetpgrp.c
Examining data/smlnj-110.79/base/runtime/c-libs/posix-tty/tcgetattr.c
Examining data/smlnj-110.79/base/runtime/c-libs/clib-list.h
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-date/cfun-proto-list.h
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-date/strftime.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-date/localtime.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-date/asctime.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-date/mktime.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-date/localoffset.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-date/smlnj-date-lib.c
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-date/cfun-list.h
Examining data/smlnj-110.79/base/runtime/c-libs/smlnj-date/gmtime.c
Examining data/smlnj-110.79/base/runtime/mp/solaris-mp.c
Examining data/smlnj-110.79/base/runtime/mp/sgi-mp.c
Examining data/smlnj-110.79/base/runtime/config/unix-sigtbl.c
Examining data/smlnj-110.79/base/runtime/config/gen-unix-signals.h
Examining data/smlnj-110.79/base/runtime/config/gen-win32-sigtbl.c
Examining data/smlnj-110.79/base/runtime/config/win32-sigtab.h
Examining data/smlnj-110.79/base/runtime/config/gen.h
Examining data/smlnj-110.79/base/runtime/config/gen-bc-instr-def.c
Examining data/smlnj-110.79/base/runtime/config/gen-regmask.c
Examining data/smlnj-110.79/base/runtime/config/gen-win32-signals.c
Examining data/smlnj-110.79/base/runtime/config/gen-sizes.c
Examining data/smlnj-110.79/base/runtime/config/gen-unix-sigtbl.c
Examining data/smlnj-110.79/base/runtime/config/gen-offsets.c
Examining data/smlnj-110.79/base/runtime/config/gen-common.c
Examining data/smlnj-110.79/base/runtime/config/unix-signals.c
Examining data/smlnj-110.79/base/runtime/config/gen-unix-signals.c
Examining data/smlnj-110.79/base/runtime/gc/heap-in-util.c
Examining data/smlnj-110.79/base/runtime/gc/blast-out.h
Examining data/smlnj-110.79/base/runtime/gc/blast-in.c
Examining data/smlnj-110.79/base/runtime/gc/writer.h
Examining data/smlnj-110.79/base/runtime/gc/mem-writer.c
Examining data/smlnj-110.79/base/runtime/gc/blast-out.c
Examining data/smlnj-110.79/base/runtime/gc/card-map.h
Examining data/smlnj-110.79/base/runtime/gc/heap.h
Examining data/smlnj-110.79/base/runtime/gc/gc-stats.h
Examining data/smlnj-110.79/base/runtime/gc/build-literals.c
Examining data/smlnj-110.79/base/runtime/gc/addr-hash.c
Examining data/smlnj-110.79/base/runtime/gc/init-gc.c
Examining data/smlnj-110.79/base/runtime/gc/mp-gc.c
Examining data/smlnj-110.79/base/runtime/gc/gc-stats.c
Examining data/smlnj-110.79/base/runtime/gc/addr-hash.h
Examining data/smlnj-110.79/base/runtime/gc/export-heap.c
Examining data/smlnj-110.79/base/runtime/gc/check-heap.c
Examining data/smlnj-110.79/base/runtime/gc/c-globals-tbl.c
Examining data/smlnj-110.79/base/runtime/gc/major-gc.c
Examining data/smlnj-110.79/base/runtime/gc/flip.c
Examining data/smlnj-110.79/base/runtime/gc/minor-gc.c
Examining data/smlnj-110.79/base/runtime/gc/heap-input.h
Examining data/smlnj-110.79/base/runtime/gc/writer.c
Examining data/smlnj-110.79/base/runtime/gc/arena-id.h
Examining data/smlnj-110.79/base/runtime/gc/blast-gc.c
Examining data/smlnj-110.79/base/runtime/gc/call-gc.c
Examining data/smlnj-110.79/base/runtime/gc/heap-output.h
Examining data/smlnj-110.79/base/runtime/gc/heap-out-util.c
Examining data/smlnj-110.79/base/runtime/gc/record-ops.c
Examining data/smlnj-110.79/base/runtime/gc/ml-objects.c
Examining data/smlnj-110.79/base/runtime/gc/big-objects.c
Examining data/smlnj-110.79/base/runtime/gc/ml-heap-image.h
Examining data/smlnj-110.79/base/runtime/gc/heap-monitor.h
Examining data/smlnj-110.79/base/runtime/gc/gc-util.c
Examining data/smlnj-110.79/base/runtime/gc/import-heap.c
Examining data/smlnj-110.79/base/runtime/gc/copy-loop.h
Examining data/smlnj-110.79/base/runtime/gc/obj-info.c
Examining data/smlnj-110.79/MLRISC/c-call/varargs/interp/util.c
Examining data/smlnj-110.79/MLRISC/c-call/varargs/interp/test-interp.c
Examining data/smlnj-110.79/MLRISC/c-call/varargs/interp/test.c
Examining data/smlnj-110.79/MLRISC/c-call/varargs/interp/located-arg.h
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r56.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r40.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r44.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/t2.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r39.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r61.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r4.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/t15.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r21.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r53.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r25.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r51.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r59.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r48.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r22.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r57.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r27.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r26.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r38.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r6.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r3.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r15.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r34.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r20.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r24.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r33.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r5.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r42.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r66.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r10.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r64.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r54.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r31.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r12.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r32.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r50.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r29.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r47.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r13.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r52.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r55.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r9.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r1.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r2.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r17.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r60.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r36.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/a208.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r18.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r7.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r28.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r41.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r43.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r30.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r46.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r65.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r49.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/counter-example.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r37.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r8.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r16.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r11.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r19.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/a37.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r45.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r23.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r62.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r63.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r14.c
Examining data/smlnj-110.79/ckit/regression/invalid-programs/r35.c
Examining data/smlnj-110.79/ckit/regression/valid-programs.obs/i100.c.c
Examining data/smlnj-110.79/ckit/regression/valid-programs.obs/c100.c.c
Examining data/smlnj-110.79/ckit/regression/valid-programs.obs/t22.c
Examining data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c
Examining data/smlnj-110.79/ckit/regression/valid-programs.obs/t7.c
Examining data/smlnj-110.79/ckit/regression/output/a50.c
Examining data/smlnj-110.79/ckit/regression/output/test5.c
Examining data/smlnj-110.79/ckit/regression/output/a107.c
Examining data/smlnj-110.79/ckit/regression/output/a11.c
Examining data/smlnj-110.79/ckit/regression/output/a15.c
Examining data/smlnj-110.79/ckit/regression/output/t15.c
Examining data/smlnj-110.79/ckit/regression/output/t12.c
Examining data/smlnj-110.79/ckit/regression/output/a23.c
Examining data/smlnj-110.79/ckit/regression/output/kf.c
Examining data/smlnj-110.79/ckit/regression/output/a110.c
Examining data/smlnj-110.79/ckit/regression/output/t11.c
Examining data/smlnj-110.79/ckit/regression/output/a117.c
Examining data/smlnj-110.79/ckit/regression/output/t9.c
Examining data/smlnj-110.79/ckit/regression/output/b3.c
Examining data/smlnj-110.79/ckit/regression/output/a14.c
Examining data/smlnj-110.79/ckit/regression/output/words.c.c
Examining data/smlnj-110.79/ckit/regression/output/a8.c
Examining data/smlnj-110.79/ckit/regression/output/a200.c
Examining data/smlnj-110.79/ckit/regression/output/a203.c
Examining data/smlnj-110.79/ckit/regression/output/fact1.c
Examining data/smlnj-110.79/ckit/regression/output/a104.c
Examining data/smlnj-110.79/ckit/regression/output/t4.c
Examining data/smlnj-110.79/ckit/regression/output/a101.c
Examining data/smlnj-110.79/ckit/regression/output/a108.c
Examining data/smlnj-110.79/ckit/regression/output/a26.c
Examining data/smlnj-110.79/ckit/regression/output/a4.c
Examining data/smlnj-110.79/ckit/regression/output/b2.c
Examining data/smlnj-110.79/ckit/regression/output/a202.c
Examining data/smlnj-110.79/ckit/regression/output/a201.c
Examining data/smlnj-110.79/ckit/regression/output/i100.c.c
Examining data/smlnj-110.79/ckit/regression/output/test4.c
Examining data/smlnj-110.79/ckit/regression/output/c100.c.c
Examining data/smlnj-110.79/ckit/regression/output/a43.c
Examining data/smlnj-110.79/ckit/regression/output/a22.c
Examining data/smlnj-110.79/ckit/regression/output/a102.c
Examining data/smlnj-110.79/ckit/regression/output/a105.c
Examining data/smlnj-110.79/ckit/regression/output/a205.c
Examining data/smlnj-110.79/ckit/regression/output/a2.c
Examining data/smlnj-110.79/ckit/regression/output/a5.c
Examining data/smlnj-110.79/ckit/regression/output/a109.c
Examining data/smlnj-110.79/ckit/regression/output/a24.c
Examining data/smlnj-110.79/ckit/regression/output/typedef.c
Examining data/smlnj-110.79/ckit/regression/output/a209.c
Examining data/smlnj-110.79/ckit/regression/output/a25.c
Examining data/smlnj-110.79/ckit/regression/output/a210.c
Examining data/smlnj-110.79/ckit/regression/output/a27.c
Examining data/smlnj-110.79/ckit/regression/output/a3.c
Examining data/smlnj-110.79/ckit/regression/output/a12.c
Examining data/smlnj-110.79/ckit/regression/output/typedef2.c
Examining data/smlnj-110.79/ckit/regression/output/test.c
Examining data/smlnj-110.79/ckit/regression/output/t1.c
Examining data/smlnj-110.79/ckit/regression/output/a114.c
Examining data/smlnj-110.79/ckit/regression/output/a33.c
Examining data/smlnj-110.79/ckit/regression/output/a40.c
Examining data/smlnj-110.79/ckit/regression/output/t14.c
Examining data/smlnj-110.79/ckit/regression/output/a29.c
Examining data/smlnj-110.79/ckit/regression/output/t13.c
Examining data/smlnj-110.79/ckit/regression/output/a207.c
Examining data/smlnj-110.79/ckit/regression/output/t6.c
Examining data/smlnj-110.79/ckit/regression/output/a118.c
Examining data/smlnj-110.79/ckit/regression/output/a7.c
Examining data/smlnj-110.79/ckit/regression/output/a16.c
Examining data/smlnj-110.79/ckit/regression/output/a38.c
Examining data/smlnj-110.79/ckit/regression/output/t22.c
Examining data/smlnj-110.79/ckit/regression/output/a113.c
Examining data/smlnj-110.79/ckit/regression/output/a21.c
Examining data/smlnj-110.79/ckit/regression/output/a208.c
Examining data/smlnj-110.79/ckit/regression/output/a1.c
Examining data/smlnj-110.79/ckit/regression/output/a44.c
Examining data/smlnj-110.79/ckit/regression/output/a28.c
Examining data/smlnj-110.79/ckit/regression/output/a13.c
Examining data/smlnj-110.79/ckit/regression/output/a39.c
Examining data/smlnj-110.79/ckit/regression/output/a115.c
Examining data/smlnj-110.79/ckit/regression/output/a18.c
Examining data/smlnj-110.79/ckit/regression/output/a112.c
Examining data/smlnj-110.79/ckit/regression/output/primes.c.c
Examining data/smlnj-110.79/ckit/regression/output/a116.c
Examining data/smlnj-110.79/ckit/regression/output/a106.c
Examining data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c
Examining data/smlnj-110.79/ckit/regression/output/a103.c
Examining data/smlnj-110.79/ckit/regression/output/a17.c
Examining data/smlnj-110.79/ckit/regression/output/a36.c
Examining data/smlnj-110.79/ckit/regression/output/a31.c
Examining data/smlnj-110.79/ckit/regression/output/test2.c
Examining data/smlnj-110.79/ckit/regression/output/t8.c
Examining data/smlnj-110.79/ckit/regression/output/t10.c
Examining data/smlnj-110.79/ckit/regression/output/a19.c
Examining data/smlnj-110.79/ckit/regression/output/a206.c
Examining data/smlnj-110.79/ckit/regression/output/test1.c
Examining data/smlnj-110.79/ckit/regression/output/a37.c
Examining data/smlnj-110.79/ckit/regression/output/a34.c
Examining data/smlnj-110.79/ckit/regression/output/a10.c
Examining data/smlnj-110.79/ckit/regression/output/t7.c
Examining data/smlnj-110.79/ckit/regression/output/a30.c
Examining data/smlnj-110.79/ckit/regression/output/a111.c
Examining data/smlnj-110.79/ckit/regression/output/a204.c
Examining data/smlnj-110.79/ckit/regression/output/t5.c
Examining data/smlnj-110.79/ckit/regression/output/a35.c
Examining data/smlnj-110.79/ckit/regression/output/a9.c
Examining data/smlnj-110.79/ckit/regression/output/a6.c
Examining data/smlnj-110.79/ckit/regression/output/t3.c
Examining data/smlnj-110.79/ckit/regression/output/a20.c
Examining data/smlnj-110.79/ckit/regression/output/a100.c
Examining data/smlnj-110.79/ckit/regression/output/test10.c
Examining data/smlnj-110.79/ckit/regression/output/a32.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a63.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a50.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/test5.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a239.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a107.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a11.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a227.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a15.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a234.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a45.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/t12.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a225.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a23.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/kf.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a64.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a67.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a110.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/t11.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a60.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a226.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a117.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a224.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/t9.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a220.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/b3.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a14.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a8.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a200.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a203.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/fact1.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a104.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/t4.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a216.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a101.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a108.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a26.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a4.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/b2.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a233.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a202.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a201.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/test4.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a217.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a43.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a22.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a102.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a105.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a229.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a205.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a2.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a222.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a238.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a5.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a109.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a24.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/typedef.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a209.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a25.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a210.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a221.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a27.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a3.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a12.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/typedef2.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a228.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/test.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/t1.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a114.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a232.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a33.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a40.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/t14.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a29.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a235.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/t13.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a207.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/t6.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a118.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a7.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a230.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a211.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a16.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a65.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a214.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a38.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a113.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a62.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a231.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a213.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a21.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a1.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a44.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a28.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a13.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a39.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a115.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a18.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a112.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a237.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/primes.c.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a116.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a215.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a106.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a103.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a17.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a36.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a223.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a31.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a212.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/test2.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/t8.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/t10.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a19.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a206.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/test1.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a37.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a66.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a34.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a61.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a10.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a30.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a236.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a111.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a204.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/t5.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a35.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a9.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a6.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/t3.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a20.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a100.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/test10.c
Examining data/smlnj-110.79/ckit/regression/valid-programs/a32.c
Examining data/smlnj-110.79/ckit/src/test.c
Examining data/smlnj-110.79/ckit/src/c-util/sizes.c

FINAL RESULTS:

data/smlnj-110.79/base/runtime/c-libs/posix-filesys/chmod.c:24:11:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
    sts = chmod (STR_MLtoC(path), mode);
data/smlnj-110.79/base/runtime/c-libs/posix-filesys/chown.c:27:11:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
    sts = chown (STR_MLtoC(path), uid, gid);
data/smlnj-110.79/base/runtime/c-libs/posix-filesys/readlink.c:41:11:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
    len = readlink(path, buf, MAXPATHLEN);
data/smlnj-110.79/base/runtime/c-libs/posix-filesys/readlink.c:68:8:  [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.
	len = readlink(path, buf, len);
data/smlnj-110.79/base/runtime/c-libs/win32-process/win32-process.c:66:5:  [5] (misc) SetSecurityDescriptorDacl:
  Never create NULL ACLs; an attacker can set it to Everyone (Deny All
  Access), which would even forbid administrator access (CWE-732).
    SetSecurityDescriptorDacl(&sd, TRUE, NULL, FALSE);
data/smlnj-110.79/base/runtime/c-libs/win32-process/win32-process.c:66:5:  [5] (misc) SetSecurityDescriptorDacl:
  Never create NULL ACLs; an attacker can set it to Everyone (Deny All
  Access), which would even forbid administrator access (CWE-732).
    SetSecurityDescriptorDacl(&sd, TRUE, NULL, FALSE);
data/smlnj-110.79/base/runtime/include/bill-os.h:54:5:  [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.
int readlink(const char * , const char *) __NO_THROW;
data/smlnj-110.79/ckit/regression/output/c100.c.c:53:15:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
extern char * gets (char *);
data/smlnj-110.79/ckit/regression/output/i100.c.c:53:15:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
extern char * gets (char *);
data/smlnj-110.79/ckit/regression/output/primes.c.c:53:15:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
extern char * gets (char *);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:53:15:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
extern char * gets (char *);
data/smlnj-110.79/ckit/regression/output/words.c.c:53:15:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
extern char * gets (char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/c100.c.c:578:14:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
extern char	*gets(char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/i100.c.c:578:14:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
extern char	*gets(char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:640:14:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
extern char	*gets(char *);
data/smlnj-110.79/ckit/regression/valid-programs/primes.c.c:578:14:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
extern char	*gets(char *);
data/smlnj-110.79/MLRISC/c-call/varargs/interp/test-interp.c:18:16:  [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.
  VarargInterp(printf, &larg, &larg+1);
data/smlnj-110.79/base/runtime/c-libs/c-libraries.c:51:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	    sprintf (nameBuf, "%s.%s", clib->libName, cfuns[j].name);
data/smlnj-110.79/base/runtime/c-libs/dl/dlerror.c:31:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  sprintf (dl_error, fmt, s);
data/smlnj-110.79/base/runtime/c-libs/posix-filesys/access.c:26: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.
    sts = access (STR_MLtoC(path), mode);
data/smlnj-110.79/base/runtime/c-libs/posix-os/tmpname.c:29: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 (template, TEMPLATE);
data/smlnj-110.79/base/runtime/c-libs/posix-procenv/getlogin.c:21:12:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
    name = getlogin();
data/smlnj-110.79/base/runtime/c-libs/posix-process/exec.c:37:11:  [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.
    sts = execv(STR_MLtoC(path), argv);
data/smlnj-110.79/base/runtime/c-libs/posix-process/execp.c:37:11:  [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.
    sts = execvp(STR_MLtoC(file), argv);
data/smlnj-110.79/base/runtime/c-libs/smlnj-ccalls/c-calls.c:126:12:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    return strcpy(p,s);
data/smlnj-110.79/base/runtime/c-libs/smlnj-ccalls/c-calls.c:535:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(errbuf,"SML/NJ-C-Interface: %s",errtbl[err]);
data/smlnj-110.79/base/runtime/c-libs/smlnj-ccalls/c-calls.c:748: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(r,s);
data/smlnj-110.79/base/runtime/c-libs/smlnj-runtime/export-fun.c:29:23:  [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).
    QualifyImageName (strcpy(fname, STR_MLtoC(mlName)));
data/smlnj-110.79/base/runtime/c-libs/smlnj-runtime/export-heap.c:28:23:  [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).
    QualifyImageName (strcpy(fname, STR_MLtoC(arg)));
data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/to-unixaddr.c:32: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 (addr.sun_path, path);
data/smlnj-110.79/base/runtime/c-libs/win32-io/win32-io.c:364:31:  [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.
  HANDLE h =  CreateFile(name,access,share,NULL,create,attr,INVALID_HANDLE_VALUE);
data/smlnj-110.79/base/runtime/c-libs/win32-process/win32-process.c:133: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(&(quoted[1]), unquoted);
data/smlnj-110.79/base/runtime/c-libs/win32-process/win32-process.c:136:11:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    ret = system(quoted);
data/smlnj-110.79/base/runtime/c-libs/win32-process/win32-process.c:213:21:  [4] (shell) ShellExecute:
  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 result = (int)ShellExecute(NULL, NULL, fileName, argument, NULL, SW_SHOWNORMAL);
data/smlnj-110.79/base/runtime/c-libs/win32-process/win32-process.c:226:21:  [4] (shell) ShellExecute:
  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 result = (int)ShellExecute(NULL, NULL, document, NULL, NULL, SW_SHOWNORMAL);
data/smlnj-110.79/base/runtime/c-libs/win32/win32-config.c:62:25:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ml_val_t res, volume, system, serial, maxcomponent, vec1, vec2;
data/smlnj-110.79/base/runtime/c-libs/win32/win32-config.c:80:22:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  SEQHDR_ALLOC (msp, system, DESC_string, vec2, length);
data/smlnj-110.79/base/runtime/c-libs/win32/win32-config.c:82:32:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  REC_ALLOC4(msp, res, volume, system, serial, maxcomponent);
data/smlnj-110.79/base/runtime/gc/import-heap.c:93:23:  [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).
	if (QualifyImageName(strcpy(buf, fname))
data/smlnj-110.79/base/runtime/gc/ml-objects.c:61:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy (PTR_MLtoC(char, res), v);
data/smlnj-110.79/base/runtime/include/machine-id.h:77:28:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
#  error unknown operating system
data/smlnj-110.79/base/runtime/include/ml-mp.h:35:36:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
#  error MP not supported for this system
data/smlnj-110.79/base/runtime/kernel/boot.c:87:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(fname, STR_MLtoC(LIST_hd(BinFileList)));
data/smlnj-110.79/base/runtime/kernel/error.c:27:5:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vfprintf (stdout, fmt, ap);
data/smlnj-110.79/base/runtime/kernel/error.c:41:5:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vfprintf (DebugF, fmt, ap);
data/smlnj-110.79/base/runtime/kernel/error.c:56:5:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vfprintf (stderr, fmt, ap);
data/smlnj-110.79/base/runtime/kernel/error.c:71:5:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vfprintf (stderr, fmt, ap);
data/smlnj-110.79/base/runtime/kernel/qualify-name.c:28:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat (buf, "." SUFFIX);
data/smlnj-110.79/ckit/regression/output/a110.c:2:12:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int printf ();
data/smlnj-110.79/ckit/regression/output/a111.c:2:12:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int printf ();
data/smlnj-110.79/ckit/regression/output/c100.c.c:38:12:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int fprintf (FILE_t81 *,char *,...);
data/smlnj-110.79/ckit/regression/output/c100.c.c:39:12:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
extern int fscanf (FILE_t81 *,char *,...);
data/smlnj-110.79/ckit/regression/output/c100.c.c:40:12:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int printf (char *,...);
data/smlnj-110.79/ckit/regression/output/c100.c.c:41:12:  [4] (buffer) scanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
extern int scanf (char *,...);
data/smlnj-110.79/ckit/regression/output/c100.c.c:42:12:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
extern int sprintf (char *,char *,...);
data/smlnj-110.79/ckit/regression/output/c100.c.c:43:12:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
extern int sscanf (char *,char *,...);
data/smlnj-110.79/ckit/regression/output/c100.c.c:44:12:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int vfprintf (FILE_t81 *,char *,char *);
data/smlnj-110.79/ckit/regression/output/c100.c.c:45:12:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int vprintf (char *,char *);
data/smlnj-110.79/ckit/regression/output/c100.c.c:46:12:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
extern int vsprintf (char *,char *,char *);
data/smlnj-110.79/ckit/regression/output/c100.c.c:80:19:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
extern FILE_t81 * popen (char *,char *);
data/smlnj-110.79/ckit/regression/output/c100.c.c:90:15:  [4] (misc) cuserid:
  Exactly what cuserid() does is poorly defined (e.g., some systems use the
  effective uid, like Linux, while others like System V use the real uid).
  Thus, you can't trust what it does. It's certainly not portable (The
  cuserid function was included in the 1988 version of POSIX, but removed
  from the 1990 version). Also, if passed a non-null parameter, there's a
  risk of a buffer overflow if the passed-in buffer is not at least L_cuserid
  characters long (CWE-120). Use getpwuid(geteuid()) and extract the desired
  information instead.
extern char * cuserid (char *);
data/smlnj-110.79/ckit/regression/output/c100.c.c:94:15:  [4] (tmpfile) mktemp:
  Temporary file race condition (CWE-377).
extern char * mktemp (char *);
data/smlnj-110.79/ckit/regression/output/c100.c.c:98:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
extern int system (char *);
data/smlnj-110.79/ckit/regression/output/i100.c.c:38:12:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int fprintf (FILE_t96 *,char *,...);
data/smlnj-110.79/ckit/regression/output/i100.c.c:39:12:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
extern int fscanf (FILE_t96 *,char *,...);
data/smlnj-110.79/ckit/regression/output/i100.c.c:40:12:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int printf (char *,...);
data/smlnj-110.79/ckit/regression/output/i100.c.c:41:12:  [4] (buffer) scanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
extern int scanf (char *,...);
data/smlnj-110.79/ckit/regression/output/i100.c.c:42:12:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
extern int sprintf (char *,char *,...);
data/smlnj-110.79/ckit/regression/output/i100.c.c:43:12:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
extern int sscanf (char *,char *,...);
data/smlnj-110.79/ckit/regression/output/i100.c.c:44:12:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int vfprintf (FILE_t96 *,char *,char *);
data/smlnj-110.79/ckit/regression/output/i100.c.c:45:12:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int vprintf (char *,char *);
data/smlnj-110.79/ckit/regression/output/i100.c.c:46:12:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
extern int vsprintf (char *,char *,char *);
data/smlnj-110.79/ckit/regression/output/i100.c.c:80:19:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
extern FILE_t96 * popen (char *,char *);
data/smlnj-110.79/ckit/regression/output/i100.c.c:90:15:  [4] (misc) cuserid:
  Exactly what cuserid() does is poorly defined (e.g., some systems use the
  effective uid, like Linux, while others like System V use the real uid).
  Thus, you can't trust what it does. It's certainly not portable (The
  cuserid function was included in the 1988 version of POSIX, but removed
  from the 1990 version). Also, if passed a non-null parameter, there's a
  risk of a buffer overflow if the passed-in buffer is not at least L_cuserid
  characters long (CWE-120). Use getpwuid(geteuid()) and extract the desired
  information instead.
extern char * cuserid (char *);
data/smlnj-110.79/ckit/regression/output/i100.c.c:94:15:  [4] (tmpfile) mktemp:
  Temporary file race condition (CWE-377).
extern char * mktemp (char *);
data/smlnj-110.79/ckit/regression/output/i100.c.c:98:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
extern int system (char *);
data/smlnj-110.79/ckit/regression/output/i100.c.c:131:7:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      printf ((char *) "\n");
data/smlnj-110.79/ckit/regression/output/primes.c.c:38:12:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int fprintf (FILE_t115 *,char *,...);
data/smlnj-110.79/ckit/regression/output/primes.c.c:39:12:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
extern int fscanf (FILE_t115 *,char *,...);
data/smlnj-110.79/ckit/regression/output/primes.c.c:40:12:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int printf (char *,...);
data/smlnj-110.79/ckit/regression/output/primes.c.c:41:12:  [4] (buffer) scanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
extern int scanf (char *,...);
data/smlnj-110.79/ckit/regression/output/primes.c.c:42:12:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
extern int sprintf (char *,char *,...);
data/smlnj-110.79/ckit/regression/output/primes.c.c:43:12:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
extern int sscanf (char *,char *,...);
data/smlnj-110.79/ckit/regression/output/primes.c.c:44:12:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int vfprintf (FILE_t115 *,char *,char *);
data/smlnj-110.79/ckit/regression/output/primes.c.c:45:12:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int vprintf (char *,char *);
data/smlnj-110.79/ckit/regression/output/primes.c.c:46:12:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
extern int vsprintf (char *,char *,char *);
data/smlnj-110.79/ckit/regression/output/primes.c.c:80:20:  [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.
extern FILE_t115 * popen (char *,char *);
data/smlnj-110.79/ckit/regression/output/primes.c.c:90:15:  [4] (misc) cuserid:
  Exactly what cuserid() does is poorly defined (e.g., some systems use the
  effective uid, like Linux, while others like System V use the real uid).
  Thus, you can't trust what it does. It's certainly not portable (The
  cuserid function was included in the 1988 version of POSIX, but removed
  from the 1990 version). Also, if passed a non-null parameter, there's a
  risk of a buffer overflow if the passed-in buffer is not at least L_cuserid
  characters long (CWE-120). Use getpwuid(geteuid()) and extract the desired
  information instead.
extern char * cuserid (char *);
data/smlnj-110.79/ckit/regression/output/primes.c.c:94:15:  [4] (tmpfile) mktemp:
  Temporary file race condition (CWE-377).
extern char * mktemp (char *);
data/smlnj-110.79/ckit/regression/output/primes.c.c:98:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
extern int system (char *);
data/smlnj-110.79/ckit/regression/output/primes.c.c:125:5:  [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 ((char *) "%d\n",i_p876);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:38:12:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int fprintf (FILE_t130 *,char *,...);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:39:12:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
extern int fscanf (FILE_t130 *,char *,...);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:40:12:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int printf (char *,...);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:41:12:  [4] (buffer) scanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
extern int scanf (char *,...);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:42:12:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
extern int sprintf (char *,char *,...);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:43:12:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
extern int sscanf (char *,char *,...);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:44:12:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int vfprintf (FILE_t130 *,char *,char *);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:45:12:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int vprintf (char *,char *);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:46:12:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
extern int vsprintf (char *,char *,char *);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:80:20:  [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.
extern FILE_t130 * popen (char *,char *);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:90:15:  [4] (misc) cuserid:
  Exactly what cuserid() does is poorly defined (e.g., some systems use the
  effective uid, like Linux, while others like System V use the real uid).
  Thus, you can't trust what it does. It's certainly not portable (The
  cuserid function was included in the 1988 version of POSIX, but removed
  from the 1990 version). Also, if passed a non-null parameter, there's a
  risk of a buffer overflow if the passed-in buffer is not at least L_cuserid
  characters long (CWE-120). Use getpwuid(geteuid()) and extract the desired
  information instead.
extern char * cuserid (char *);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:94:15:  [4] (tmpfile) mktemp:
  Temporary file race condition (CWE-377).
extern char * mktemp (char *);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:98:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
extern int system (char *);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:233:15:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
extern char * strcpy (char *,char *);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:235:15:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
extern char * strcat (char *,char *);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:319:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
extern int system (char *);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:350:15:  [4] (tmpfile) mktemp:
  Temporary file race condition (CWE-377).
extern char * mktemp (char *);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:363:12:  [4] (buffer) getpw:
  This function is dangerous; it may overflow the provided buffer. It
  extracts data from a 'protected' area, but most systems have many commands
  to let users modify the protected area, and it's not always clear what
  their limits are. Best to avoid using this function altogether (CWE-676,
  CWE-120). Use getpwuid() instead.
extern int getpw (int,char *);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:369:15:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
extern char * getlogin (void);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:370:15:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
extern char * getpass (char *);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:426:11:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
          fprintf ((FILE_t130 *) (&__iob[2]),(char *) "ps2txt: error opening file %s\n",argv_p1258[i_p1259]);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:427:11:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
          fprintf ((FILE_t130 *) (&__iob[2]),(char *) "usage:  ps2txt [-dvi] [-] [input_file.ps]\n");
data/smlnj-110.79/ckit/regression/output/t1.c:2:12:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int printf ();
data/smlnj-110.79/ckit/regression/output/words.c.c:38:12:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int fprintf (FILE_t298 *,char *,...);
data/smlnj-110.79/ckit/regression/output/words.c.c:39:12:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
extern int fscanf (FILE_t298 *,char *,...);
data/smlnj-110.79/ckit/regression/output/words.c.c:40:12:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int printf (char *,...);
data/smlnj-110.79/ckit/regression/output/words.c.c:41:12:  [4] (buffer) scanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
extern int scanf (char *,...);
data/smlnj-110.79/ckit/regression/output/words.c.c:42:12:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
extern int sprintf (char *,char *,...);
data/smlnj-110.79/ckit/regression/output/words.c.c:43:12:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
extern int sscanf (char *,char *,...);
data/smlnj-110.79/ckit/regression/output/words.c.c:44:12:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int vfprintf (FILE_t298 *,char *,char *);
data/smlnj-110.79/ckit/regression/output/words.c.c:45:12:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int vprintf (char *,char *);
data/smlnj-110.79/ckit/regression/output/words.c.c:46:12:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
extern int vsprintf (char *,char *,char *);
data/smlnj-110.79/ckit/regression/output/words.c.c:80:20:  [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.
extern FILE_t298 * popen (char *,char *);
data/smlnj-110.79/ckit/regression/output/words.c.c:90:15:  [4] (misc) cuserid:
  Exactly what cuserid() does is poorly defined (e.g., some systems use the
  effective uid, like Linux, while others like System V use the real uid).
  Thus, you can't trust what it does. It's certainly not portable (The
  cuserid function was included in the 1988 version of POSIX, but removed
  from the 1990 version). Also, if passed a non-null parameter, there's a
  risk of a buffer overflow if the passed-in buffer is not at least L_cuserid
  characters long (CWE-120). Use getpwuid(geteuid()) and extract the desired
  information instead.
extern char * cuserid (char *);
data/smlnj-110.79/ckit/regression/output/words.c.c:94:15:  [4] (tmpfile) mktemp:
  Temporary file race condition (CWE-377).
extern char * mktemp (char *);
data/smlnj-110.79/ckit/regression/output/words.c.c:98:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
extern int system (char *);
data/smlnj-110.79/ckit/regression/output/words.c.c:141:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            printf ((char *) "%s\n",(char *) a_p1773);
data/smlnj-110.79/ckit/regression/valid-programs.obs/c100.c.c:555:12:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int	fprintf(FILE *, const char *, ...);
data/smlnj-110.79/ckit/regression/valid-programs.obs/c100.c.c:557:12:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
extern int	fscanf(FILE *, const char *, ...);
data/smlnj-110.79/ckit/regression/valid-programs.obs/c100.c.c:559:12:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int	printf(const char *, ...);
data/smlnj-110.79/ckit/regression/valid-programs.obs/c100.c.c:561:12:  [4] (buffer) scanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
extern int	scanf(const char *, ...);
data/smlnj-110.79/ckit/regression/valid-programs.obs/c100.c.c:563:12:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
extern int	sprintf(char *, const char *, ...);
data/smlnj-110.79/ckit/regression/valid-programs.obs/c100.c.c:565:12:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
extern int	sscanf(const char *, const char *, ...);
data/smlnj-110.79/ckit/regression/valid-programs.obs/c100.c.c:566:12:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int	vfprintf(FILE *, const char *,   char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/c100.c.c:567:12:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int	vprintf(const char *,   char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/c100.c.c:568:12:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
extern int	vsprintf(char *, const char *,   char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/c100.c.c:616:14:  [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.
extern FILE	*popen(const char *, const char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/c100.c.c:671:14:  [4] (misc) cuserid:
  Exactly what cuserid() does is poorly defined (e.g., some systems use the
  effective uid, like Linux, while others like System V use the real uid).
  Thus, you can't trust what it does. It's certainly not portable (The
  cuserid function was included in the 1988 version of POSIX, but removed
  from the 1990 version). Also, if passed a non-null parameter, there's a
  risk of a buffer overflow if the passed-in buffer is not at least L_cuserid
  characters long (CWE-120). Use getpwuid(geteuid()) and extract the desired
  information instead.
extern char	*cuserid(char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/c100.c.c:680:14:  [4] (tmpfile) mktemp:
  Temporary file race condition (CWE-377).
extern char	*mktemp(char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/c100.c.c:684:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
extern int	system(const char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/i100.c.c:555:12:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int	fprintf(FILE *, const char *, ...);
data/smlnj-110.79/ckit/regression/valid-programs.obs/i100.c.c:557:12:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
extern int	fscanf(FILE *, const char *, ...);
data/smlnj-110.79/ckit/regression/valid-programs.obs/i100.c.c:559:12:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int	printf(const char *, ...);
data/smlnj-110.79/ckit/regression/valid-programs.obs/i100.c.c:561:12:  [4] (buffer) scanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
extern int	scanf(const char *, ...);
data/smlnj-110.79/ckit/regression/valid-programs.obs/i100.c.c:563:12:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
extern int	sprintf(char *, const char *, ...);
data/smlnj-110.79/ckit/regression/valid-programs.obs/i100.c.c:565:12:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
extern int	sscanf(const char *, const char *, ...);
data/smlnj-110.79/ckit/regression/valid-programs.obs/i100.c.c:566:12:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int	vfprintf(FILE *, const char *,   char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/i100.c.c:567:12:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int	vprintf(const char *,   char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/i100.c.c:568:12:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
extern int	vsprintf(char *, const char *,   char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/i100.c.c:616:14:  [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.
extern FILE	*popen(const char *, const char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/i100.c.c:671:14:  [4] (misc) cuserid:
  Exactly what cuserid() does is poorly defined (e.g., some systems use the
  effective uid, like Linux, while others like System V use the real uid).
  Thus, you can't trust what it does. It's certainly not portable (The
  cuserid function was included in the 1988 version of POSIX, but removed
  from the 1990 version). Also, if passed a non-null parameter, there's a
  risk of a buffer overflow if the passed-in buffer is not at least L_cuserid
  characters long (CWE-120). Use getpwuid(geteuid()) and extract the desired
  information instead.
extern char	*cuserid(char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/i100.c.c:680:14:  [4] (tmpfile) mktemp:
  Temporary file race condition (CWE-377).
extern char	*mktemp(char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/i100.c.c:684:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
extern int	system(const char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:617:12:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int	fprintf(FILE *, const char *, ...);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:619:12:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
extern int	fscanf(FILE *, const char *, ...);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:621:12:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int	printf(const char *, ...);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:623:12:  [4] (buffer) scanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
extern int	scanf(const char *, ...);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:625:12:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
extern int	sprintf(char *, const char *, ...);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:627:12:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
extern int	sscanf(const char *, const char *, ...);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:628:12:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int	vfprintf(FILE *, const char *,   char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:629:12:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int	vprintf(const char *,   char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:630:12:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
extern int	vsprintf(char *, const char *,   char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:678:14:  [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.
extern FILE	*popen(const char *, const char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:733:14:  [4] (misc) cuserid:
  Exactly what cuserid() does is poorly defined (e.g., some systems use the
  effective uid, like Linux, while others like System V use the real uid).
  Thus, you can't trust what it does. It's certainly not portable (The
  cuserid function was included in the 1988 version of POSIX, but removed
  from the 1990 version). Also, if passed a non-null parameter, there's a
  risk of a buffer overflow if the passed-in buffer is not at least L_cuserid
  characters long (CWE-120). Use getpwuid(geteuid()) and extract the desired
  information instead.
extern char	*cuserid(char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:742:14:  [4] (tmpfile) mktemp:
  Temporary file race condition (CWE-377).
extern char	*mktemp(char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:746:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
extern int	system(const char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:1316:14:  [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).
extern char *strcpy(char *, const char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:1318:14:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
extern char *strcat(char *, const char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:1647:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
extern int system(const char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:1693:14:  [4] (tmpfile) mktemp:
  Temporary file race condition (CWE-377).
extern char *mktemp(char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:1715:12:  [4] (buffer) getpw:
  This function is dangerous; it may overflow the provided buffer. It
  extracts data from a 'protected' area, but most systems have many commands
  to let users modify the protected area, and it's not always clear what
  their limits are. Best to avoid using this function altogether (CWE-676,
  CWE-120). Use getpwuid() instead.
extern int getpw(int, char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:1728:14:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
extern char *getlogin(void);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:1729:14:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
extern char *getpass(const char *);
data/smlnj-110.79/ckit/regression/valid-programs/a1.c:1:8:  [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 printf ();
data/smlnj-110.79/ckit/regression/valid-programs/a108.c:1:6:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
void printf();
data/smlnj-110.79/ckit/regression/valid-programs/a110.c:1:8:  [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 printf ();
data/smlnj-110.79/ckit/regression/valid-programs/a111.c:1:8:  [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 printf ();
data/smlnj-110.79/ckit/regression/valid-programs/a202.c:1:6:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
void printf();
data/smlnj-110.79/ckit/regression/valid-programs/a203.c:1:6:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
void printf();
data/smlnj-110.79/ckit/regression/valid-programs/a204.c:1:6:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
void printf();
data/smlnj-110.79/ckit/regression/valid-programs/a211.c:2:6:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
void printf();
data/smlnj-110.79/ckit/regression/valid-programs/a212.c:2:6:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
void printf();
data/smlnj-110.79/ckit/regression/valid-programs/a213.c:2:6:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
void printf();
data/smlnj-110.79/ckit/regression/valid-programs/a214.c:2:6:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
void printf();
data/smlnj-110.79/ckit/regression/valid-programs/a215.c:2:6:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
void printf();
data/smlnj-110.79/ckit/regression/valid-programs/a216.c:1:6:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
void printf();
data/smlnj-110.79/ckit/regression/valid-programs/a217.c:1:6:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
void printf();
data/smlnj-110.79/ckit/regression/valid-programs/a226.c:3:6:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
void printf();
data/smlnj-110.79/ckit/regression/valid-programs/a227.c:3:6:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
void printf();
data/smlnj-110.79/ckit/regression/valid-programs/a229.c:1:6:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
void printf();
data/smlnj-110.79/ckit/regression/valid-programs/a45.c:1:6:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
void printf();
data/smlnj-110.79/ckit/regression/valid-programs/fact1.c:1:6:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
void printf();
data/smlnj-110.79/ckit/regression/valid-programs/primes.c.c:555:12:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int	fprintf(FILE *, const char *, ...);
data/smlnj-110.79/ckit/regression/valid-programs/primes.c.c:557:12:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
extern int	fscanf(FILE *, const char *, ...);
data/smlnj-110.79/ckit/regression/valid-programs/primes.c.c:559:12:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int	printf(const char *, ...);
data/smlnj-110.79/ckit/regression/valid-programs/primes.c.c:561:12:  [4] (buffer) scanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
extern int	scanf(const char *, ...);
data/smlnj-110.79/ckit/regression/valid-programs/primes.c.c:563:12:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
extern int	sprintf(char *, const char *, ...);
data/smlnj-110.79/ckit/regression/valid-programs/primes.c.c:565:12:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
extern int	sscanf(const char *, const char *, ...);
data/smlnj-110.79/ckit/regression/valid-programs/primes.c.c:566:12:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int	vfprintf(FILE *, const char *,   char *);
data/smlnj-110.79/ckit/regression/valid-programs/primes.c.c:567:12:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int	vprintf(const char *,   char *);
data/smlnj-110.79/ckit/regression/valid-programs/primes.c.c:568:12:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
extern int	vsprintf(char *, const char *,   char *);
data/smlnj-110.79/ckit/regression/valid-programs/primes.c.c:616:14:  [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.
extern FILE	*popen(const char *, const char *);
data/smlnj-110.79/ckit/regression/valid-programs/primes.c.c:671:14:  [4] (misc) cuserid:
  Exactly what cuserid() does is poorly defined (e.g., some systems use the
  effective uid, like Linux, while others like System V use the real uid).
  Thus, you can't trust what it does. It's certainly not portable (The
  cuserid function was included in the 1988 version of POSIX, but removed
  from the 1990 version). Also, if passed a non-null parameter, there's a
  risk of a buffer overflow if the passed-in buffer is not at least L_cuserid
  characters long (CWE-120). Use getpwuid(geteuid()) and extract the desired
  information instead.
extern char	*cuserid(char *);
data/smlnj-110.79/ckit/regression/valid-programs/primes.c.c:680:14:  [4] (tmpfile) mktemp:
  Temporary file race condition (CWE-377).
extern char	*mktemp(char *);
data/smlnj-110.79/ckit/regression/valid-programs/primes.c.c:684:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
extern int	system(const char *);
data/smlnj-110.79/ckit/regression/valid-programs/t1.c:1:12:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int printf();
data/smlnj-110.79/ckit/regression/valid-programs/t10.c:1:8:  [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 printf ();
data/smlnj-110.79/ckit/regression/valid-programs/t12.c:1:8:  [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 printf ();
data/smlnj-110.79/ckit/regression/valid-programs/t13.c:1:8:  [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 printf ();
data/smlnj-110.79/ckit/regression/valid-programs/t14.c:1:6:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
void printf();
data/smlnj-110.79/ckit/regression/valid-programs/test.c:1:6:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
void printf();
data/smlnj-110.79/ckit/regression/valid-programs/test1.c:3:6:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
void printf();
data/smlnj-110.79/ckit/regression/valid-programs/test10.c:1:6:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
void printf();
data/smlnj-110.79/ckit/regression/valid-programs/test2.c:1:6:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
void printf();
data/smlnj-110.79/ckit/regression/valid-programs/test4.c:1:6:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
void printf();
data/smlnj-110.79/ckit/regression/valid-programs/test5.c:1:6:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
void printf();
data/smlnj-110.79/ckit/src/c-util/sizes.c:18:2:  [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(#ty " = {bits = %d, align = %d},\n",			\
data/smlnj-110.79/ckit/src/test.c:1:6:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
void printf();
data/smlnj-110.79/nlffi/lib/Tests/pdb/pdb.c:54:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy (res, buf);
data/smlnj-110.79/nlffi/lib/Tests/printf/printf.h:1:12:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int printf (const char *, ...);
data/smlnj-110.79/base/runtime/c-libs/dl/dlopen.c:37:21:  [3] (misc) LoadLibrary:
  Ensure that the full path to the library is specified, or current directory
  may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to
  find library path, if you aren't already.
  handle = (void *) LoadLibrary (libname);
data/smlnj-110.79/base/runtime/c-libs/posix-os/tmpname.c:43:5:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
    tmpnam (buf);
data/smlnj-110.79/base/runtime/c-libs/posix-procenv/getenv.c:21:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    sts = getenv(STR_MLtoC(arg));
data/smlnj-110.79/base/runtime/c-libs/win32-filesys/win32-filesys.c:336:8:  [3] (tmpfile) GetTempFileName:
  Temporary file race condition in certain cases (e.g., if run as SYSTEM in
  many versions of Windows) (CWE-377).
      (GetTempFileName(path_buf,TMP_PREFIX,0,name_buf) != 0)) {
data/smlnj-110.79/base/runtime/c-libs/win32-process/win32-process.c:41:14:  [3] (shell) CreateProcess:
  This causes a new process to execute and is difficult to use safely
  (CWE-78). Specify the application path in the first argument, NOT as part
  of the second, or embedded spaces could allow an attacker to force a
  different program to run.
  fSuccess = CreateProcess (NULL,str,NULL,NULL,TRUE,CREATE_NEW_CONSOLE,NULL,NULL,pStartup,&pi);
data/smlnj-110.79/base/runtime/c-libs/win32-process/win32-process.c:41:14:  [3] (shell) CreateProcess:
  This causes a new process to execute and is difficult to use safely
  (CWE-78). Specify the application path in the first argument, NOT as part
  of the second, or embedded spaces could allow an attacker to force a
  different program to run.
  fSuccess = CreateProcess (NULL,str,NULL,NULL,TRUE,CREATE_NEW_CONSOLE,NULL,NULL,pStartup,&pi);
data/smlnj-110.79/ckit/regression/output/a117.c:2:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
extern int getopt ();
data/smlnj-110.79/ckit/regression/output/a117.c:15:15:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  call_p122 = getopt (argc_p116,argv_p117,"c:a:f:F:");
data/smlnj-110.79/ckit/regression/output/c100.c.c:31:15:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
extern char * tmpnam (char *);
data/smlnj-110.79/ckit/regression/output/c100.c.c:82:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
extern int getopt (int,char **,char *);
data/smlnj-110.79/ckit/regression/output/c100.c.c:91:15:  [3] (tmpfile) tempnam:
  Temporary file race condition (CWE-377).
extern char * tempnam (char *,char *);
data/smlnj-110.79/ckit/regression/output/i100.c.c:31:15:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
extern char * tmpnam (char *);
data/smlnj-110.79/ckit/regression/output/i100.c.c:82:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
extern int getopt (int,char **,char *);
data/smlnj-110.79/ckit/regression/output/i100.c.c:91:15:  [3] (tmpfile) tempnam:
  Temporary file race condition (CWE-377).
extern char * tempnam (char *,char *);
data/smlnj-110.79/ckit/regression/output/primes.c.c:31:15:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
extern char * tmpnam (char *);
data/smlnj-110.79/ckit/regression/output/primes.c.c:82:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
extern int getopt (int,char **,char *);
data/smlnj-110.79/ckit/regression/output/primes.c.c:91:15:  [3] (tmpfile) tempnam:
  Temporary file race condition (CWE-377).
extern char * tempnam (char *,char *);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:31:15:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
extern char * tmpnam (char *);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:82:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
extern int getopt (int,char **,char *);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:91:15:  [3] (tmpfile) tempnam:
  Temporary file race condition (CWE-377).
extern char * tempnam (char *,char *);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:310:13:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
extern void srand (unsigned int);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:318:15:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
extern char * getenv (char *);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:332:15:  [3] (random) drand48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
extern double drand48 (void);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:333:15:  [3] (random) erand48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
extern double erand48 (unsigned short *);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:334:13:  [3] (random) lrand48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
extern long lrand48 (void);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:335:13:  [3] (random) nrand48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
extern long nrand48 (unsigned short *);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:336:13:  [3] (random) mrand48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
extern long mrand48 (void);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:337:13:  [3] (random) jrand48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
extern long jrand48 (unsigned short *);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:339:13:  [3] (random) lcong48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
extern void lcong48 (unsigned short *);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:341:25:  [3] (random) seed48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
extern unsigned short * seed48 (unsigned short *);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:353:13:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
extern long random (void);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:354:15:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
extern char * realpath (char *,char *);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:355:15:  [3] (random) setstate:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
extern char * setstate (char *);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:356:13:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
extern void srandom (unsigned int);
data/smlnj-110.79/ckit/regression/output/words.c.c:31:15:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
extern char * tmpnam (char *);
data/smlnj-110.79/ckit/regression/output/words.c.c:82:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
extern int getopt (int,char **,char *);
data/smlnj-110.79/ckit/regression/output/words.c.c:91:15:  [3] (tmpfile) tempnam:
  Temporary file race condition (CWE-377).
extern char * tempnam (char *,char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/c100.c.c:547:14:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
extern char	*tmpnam(char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/c100.c.c:647:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
extern int	getopt(int, char *const *, const char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/c100.c.c:672:14:  [3] (tmpfile) tempnam:
  Temporary file race condition (CWE-377).
extern char	*tempnam(const char *, const char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/i100.c.c:547:14:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
extern char	*tmpnam(char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/i100.c.c:647:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
extern int	getopt(int, char *const *, const char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/i100.c.c:672:14:  [3] (tmpfile) tempnam:
  Temporary file race condition (CWE-377).
extern char	*tempnam(const char *, const char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:609:14:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
extern char	*tmpnam(char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:709:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
extern int	getopt(int, char *const *, const char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:734:14:  [3] (tmpfile) tempnam:
  Temporary file race condition (CWE-377).
extern char	*tempnam(const char *, const char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:1636:13:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
extern void srand(unsigned int);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:1646:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
extern char *getenv(const char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:1671:15:  [3] (random) drand48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
extern double	drand48(void);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:1672:15:  [3] (random) erand48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
extern double	erand48(unsigned short [3]);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:1673:13:  [3] (random) lrand48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
extern long	lrand48(void);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:1674:13:  [3] (random) nrand48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
extern long	nrand48(unsigned short [3]);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:1675:13:  [3] (random) mrand48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
extern long	mrand48(void);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:1676:13:  [3] (random) jrand48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
extern long	jrand48(unsigned short [3]);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:1678:13:  [3] (random) lcong48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
extern void	lcong48(unsigned short int [7]);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:1680:25:  [3] (random) seed48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
extern unsigned short * seed48(unsigned short int [3]);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:1696:13:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
extern long random(void);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:1697:14:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
extern char *realpath(const char *, char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:1698:14:  [3] (random) setstate:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
extern char *setstate(const char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:1699:13:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
extern void srandom(unsigned);
data/smlnj-110.79/ckit/regression/valid-programs/a117.c:1:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
extern int getopt ();
data/smlnj-110.79/ckit/regression/valid-programs/a117.c:10:15:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((i = getopt(argc, argv, "c:a:f:F:")) != -1)
data/smlnj-110.79/ckit/regression/valid-programs/primes.c.c:547:14:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
extern char	*tmpnam(char *);
data/smlnj-110.79/ckit/regression/valid-programs/primes.c.c:647:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
extern int	getopt(int, char *const *, const char *);
data/smlnj-110.79/ckit/regression/valid-programs/primes.c.c:672:14:  [3] (tmpfile) tempnam:
  Temporary file race condition (CWE-377).
extern char	*tempnam(const char *, const char *);
data/smlnj-110.79/base/runtime/c-libs/posix-error/errmsg.c:31: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[64];
data/smlnj-110.79/base/runtime/c-libs/posix-error/errmsg.c:32:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(buf, "<unknown error %d>", errnum);
data/smlnj-110.79/base/runtime/c-libs/posix-error/errmsg.c:39: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[64];
data/smlnj-110.79/base/runtime/c-libs/posix-error/errmsg.c:40:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(buf, "<unknown error %d>", errnum);
data/smlnj-110.79/base/runtime/c-libs/posix-filesys/getcwd.c:26:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	path[MAXPATHLEN];
data/smlnj-110.79/base/runtime/c-libs/posix-filesys/openf.c:24:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fd = open (STR_MLtoC(path), flags, mode);
data/smlnj-110.79/base/runtime/c-libs/posix-filesys/readlink.c:38:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[MAXPATHLEN];
data/smlnj-110.79/base/runtime/c-libs/posix-os/tmpname.c:26:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	template[sizeof(TEMPLATE)];
data/smlnj-110.79/base/runtime/c-libs/posix-os/tmpname.c:30:11:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
    sts = mkstemp (template);
data/smlnj-110.79/base/runtime/c-libs/posix-os/tmpname.c:41:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	buf[L_tmpnam];
data/smlnj-110.79/base/runtime/c-libs/posix-procenv/ctermid.c:20:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     name[L_ctermid];
data/smlnj-110.79/base/runtime/c-libs/posix-tty/tcgetattr.c:36: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 (GET_SEQ_DATAPTR(void, cc), data.c_cc, NCCS);
data/smlnj-110.79/base/runtime/c-libs/posix-tty/tcsetattr.c:34: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 (data.c_cc, GET_SEQ_DATAPTR(void, REC_SEL(termio_rep, 4)), NCCS);
data/smlnj-110.79/base/runtime/c-libs/smlnj-ccalls/c-calls-fns.c:23:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	*argtypes[N_ARGS];
data/smlnj-110.79/base/runtime/c-libs/smlnj-ccalls/c-calls-fns.c:301: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 (p, (void *)grabPC, szb);
data/smlnj-110.79/base/runtime/c-libs/smlnj-ccalls/c-calls.c:177: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 (res, &g, sizeof(double));
data/smlnj-110.79/base/runtime/c-libs/smlnj-ccalls/c-calls.c:531:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
PVT char errbuf[100];
data/smlnj-110.79/base/runtime/c-libs/smlnj-ccalls/c-calls.c:600:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy (*dst, &src, bytes);
data/smlnj-110.79/base/runtime/c-libs/smlnj-ccalls/c-calls.c:610:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy (dst, *src, bytes);
data/smlnj-110.79/base/runtime/c-libs/smlnj-ccalls/c-calls.c:646: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 *argtypes[N_ARGS], *rettype;
data/smlnj-110.79/base/runtime/c-libs/smlnj-ccalls/c-calls.c:716: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 (&g, (Word_t *)val, sizeof(double));
data/smlnj-110.79/base/runtime/c-libs/smlnj-ccalls/cutil.c:22: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 (&i, p, sizeof(int));
data/smlnj-110.79/base/runtime/c-libs/smlnj-date/strftime.c:26:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[512];
data/smlnj-110.79/base/runtime/c-libs/smlnj-math/dtoa.c:435:20:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#define Bcopy(x,y) memcpy((char *)&x->sign, (char *)&y->sign, \
data/smlnj-110.79/base/runtime/c-libs/smlnj-runtime/export-fun.c:23:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	fname[1024];
data/smlnj-110.79/base/runtime/c-libs/smlnj-runtime/export-fun.c:31:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((file = fopen(fname, "wb")) == NULL)
data/smlnj-110.79/base/runtime/c-libs/smlnj-runtime/export-heap.c:24:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	fname[1024];
data/smlnj-110.79/base/runtime/c-libs/smlnj-runtime/export-heap.c:30:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((file = fopen(fname, "wb")) == NULL)
data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/accept.c:19:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	addrBuf[MAX_SOCK_ADDR_SZB];
data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/gethostname.c:22:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	hostname[MAXHOSTNAMELEN];
data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/getpeername.c:19:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	    addr[MAX_SOCK_ADDR_SZB];
data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/getsockname.c:19:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	addrBuf[MAX_SOCK_ADDR_SZB];
data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/recvbuffrom.c:23:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	addrBuf[MAX_SOCK_ADDR_SZB];
data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/recvfrom.c:21:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	addrBuf[MAX_SOCK_ADDR_SZB];
data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/to-inetaddr.c:28: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 (
data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/util-mkhostent.c:39:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy (GET_SEQ_DATAPTR(void, addr), hentry->h_addr_list[i],
data/smlnj-110.79/base/runtime/c-libs/unix-raise-syserr.c:51:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[32];
data/smlnj-110.79/base/runtime/c-libs/unix-raise-syserr.c:61:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(buf, "<unknown error %d>", errno);
data/smlnj-110.79/base/runtime/c-libs/win32-filesys/win32-filesys.c:83:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[MAX_PATH];
data/smlnj-110.79/base/runtime/c-libs/win32-filesys/win32-filesys.c:149:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[MAX_PATH], *dummy;
data/smlnj-110.79/base/runtime/c-libs/win32-filesys/win32-filesys.c:330:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name_buf[MAX_PATH];
data/smlnj-110.79/base/runtime/c-libs/win32-filesys/win32-filesys.c:331:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char path_buf[MAX_PATH];
data/smlnj-110.79/base/runtime/c-libs/win32-process/win32-process.c:159:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[GEV_BUF_SZ];
data/smlnj-110.79/base/runtime/c-libs/win32-process/win32-process.c:188:3:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  TCHAR szResultPath[MAX_PATH];
data/smlnj-110.79/base/runtime/c-libs/win32-raise-syserr.c:27:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[32];
data/smlnj-110.79/base/runtime/c-libs/win32-raise-syserr.c:36:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(buf, "<win32 error code %d>", ml_errno);
data/smlnj-110.79/base/runtime/c-libs/win32/win32-config.c:55:3:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  TCHAR szVolumeName[MAX_PATH+1];
data/smlnj-110.79/base/runtime/c-libs/win32/win32-config.c:59:3:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  TCHAR szFilesystemName[MAX_PATH+1];
data/smlnj-110.79/base/runtime/c-libs/win32/win32-config.c:89:3:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  TCHAR directory[MAX_PATH+1];
data/smlnj-110.79/base/runtime/c-libs/win32/win32-config.c:106:3:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  TCHAR directory[MAX_PATH+1];
data/smlnj-110.79/base/runtime/c-libs/win32/win32-config.c:123:3:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  TCHAR name[MAX_PATH+1];
data/smlnj-110.79/base/runtime/c-libs/win32/win32-config.c:140:3:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  TCHAR name[MAX_PATH+1];
data/smlnj-110.79/base/runtime/config/gen-common.c:20:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((f = fopen(fname, "w")) == NULL) {
data/smlnj-110.79/base/runtime/config/gen-offsets.c:27: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		b[sizeof(vproc_state_t)];
data/smlnj-110.79/base/runtime/config/gen-offsets.c:31: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		b[sizeof(ml_state_t)];
data/smlnj-110.79/base/runtime/config/gen-sizes.c:23:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	    bytes[sizeof(unsigned long)];
data/smlnj-110.79/base/runtime/gc/build-literals.c:220:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy (PTR_MLtoC(void, res), &lits[pc], n); pc += n;
data/smlnj-110.79/base/runtime/gc/flip.c:16: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.
extern char	*ArenaName[NUM_ARENAS+1];
data/smlnj-110.79/base/runtime/gc/heap-in-util.c:90: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 (blk, bp->buf, len);
data/smlnj-110.79/base/runtime/gc/heap-in-util.c:95: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 (blk, bp->buf, bp->nbytes);
data/smlnj-110.79/base/runtime/gc/heap-out-util.c:56:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	strSize += (strlen((char *)(externs[i])) + 1);
data/smlnj-110.79/base/runtime/gc/heap-out-util.c:74: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	pad[8] = {0, 0, 0, 0, 0, 0, 0, 0};
data/smlnj-110.79/base/runtime/gc/import-heap.c:86:25:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      if ((inBuf.file = fopen(fname, "rb")) != NULL) {
data/smlnj-110.79/base/runtime/gc/import-heap.c:91: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[1024];
data/smlnj-110.79/base/runtime/gc/import-heap.c:94:24:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	    && ((inBuf.file = fopen(buf, "rb")) != NULL)) {
data/smlnj-110.79/base/runtime/gc/init-gc.c:55:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	    option[MAX_OPT_LEN], *optionArg;
data/smlnj-110.79/base/runtime/gc/init-gc.c:98:21:  [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).
		params->numGens = atoi(optionArg);
data/smlnj-110.79/base/runtime/gc/init-gc.c:106:22:  [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).
		params->cacheGen = atoi(optionArg);
data/smlnj-110.79/base/runtime/gc/major-gc.c:121:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char		*ArenaName[NUM_ARENAS+1] = {
data/smlnj-110.79/base/runtime/gc/mem-writer.c:83:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy (bp->next, data, nbytes);
data/smlnj-110.79/base/runtime/gc/ml-heap-image.h:53:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	    arch[12];	/* the exporting machine's architecture */
data/smlnj-110.79/base/runtime/gc/ml-heap-image.h:54:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	    opsys[12];	/* the exporting machine's operating system */
data/smlnj-110.79/base/runtime/gc/ml-objects.c:504: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 (PTR_MLtoC(void, obj), data, nbytes);
data/smlnj-110.79/base/runtime/include/bill-os.h:52:5:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
int open(const char * filename, int, ...) __NO_THROW;
data/smlnj-110.79/base/runtime/kernel/boot.c:132:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        sizeBuf[SIZE_BUF_LEN];
data/smlnj-110.79/base/runtime/kernel/boot.c:203:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((file = fopen (fname, isBinary ? "rb" : "r")) == NULL)
data/smlnj-110.79/base/runtime/kernel/boot.c:564: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 (STR_MLtoC(mlPerID), (char *)perID, PERID_LEN);
data/smlnj-110.79/base/runtime/kernel/boot.c:583: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[64];
data/smlnj-110.79/base/runtime/kernel/boot.c:599:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (cp, "%02x", perID->bytes[i]);
data/smlnj-110.79/base/runtime/kernel/globals.c:141:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char _ML_string0_data[1]  = {0};
data/smlnj-110.79/base/runtime/kernel/main.c:91:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	option[MAX_OPT_LEN], *optionArg, **nextArg;
data/smlnj-110.79/base/runtime/kernel/main.c:131:14:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		NumProcs = atoi(optionArg);
data/smlnj-110.79/base/runtime/kernel/main.c:149:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if ((DebugF = fopen(optionArg, "w")) == NULL) {
data/smlnj-110.79/base/runtime/kernel/main.c:159:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		StatsFD = open (optionArg, O_WRONLY|O_TRUNC|O_CREAT, 0666);
data/smlnj-110.79/base/runtime/kernel/main.c:170:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		BC_stdout = fopen (optionArg, "w");
data/smlnj-110.79/base/runtime/kernel/ml-options.c:65:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	return (scale * atoi(sz));
data/smlnj-110.79/base/runtime/kernel/run-ml.c:154: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	buf2[192];
data/smlnj-110.79/base/runtime/kernel/run-ml.c:155:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(buf2, "<file %.184s>", namestring);
data/smlnj-110.79/base/runtime/kernel/run-ml.c:277:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	buf[1024];
data/smlnj-110.79/base/runtime/kernel/run-ml.c:280:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "%ld\n", (long int) INT_MLtoC(val));
data/smlnj-110.79/base/runtime/kernel/run-ml.c:284:6:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	    sprintf (buf, "\"%.*s\"", (int) GET_SEQ_LEN(val), STR_MLtoC(val));
data/smlnj-110.79/base/runtime/kernel/run-ml.c:286:6:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	    sprintf (buf, "<unknown>");
data/smlnj-110.79/base/runtime/kernel/run-ml.c:297:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf+strlen(buf), " raised at %.*s",
data/smlnj-110.79/base/runtime/memory/mem-mmap.c:87:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((fd = open("/dev/zero", O_RDONLY)) == -1) {
data/smlnj-110.79/base/runtime/mp/solaris-mp.c:75:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if ((fd = open("/dev/zero",O_RDWR)) == -1)
data/smlnj-110.79/ckit/regression/output/a105.c:3: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.
typedef char mystring_t10[10];
data/smlnj-110.79/ckit/regression/output/a200.c:13:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char s1_p207[19]={78,111,116,32,110,117,108,108,32,116,101,114,109,105,110,97,116,101,100};
data/smlnj-110.79/ckit/regression/output/a200.c:14:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char s2_p208[16]={78,117,108,108,32,116,101,114,109,105,110,97,116,101,100,0};
data/smlnj-110.79/ckit/regression/output/a200.c:15:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char s3_p209[16]={78,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
data/smlnj-110.79/ckit/regression/output/a200.c:17:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char s5_p211[19];
data/smlnj-110.79/ckit/regression/output/a200.c:18:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char s6_p212[16];
data/smlnj-110.79/ckit/regression/output/a200.c:35:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char z_p229[2][3];
data/smlnj-110.79/ckit/regression/output/a201.c:12:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char z_p237[2][3];
data/smlnj-110.79/ckit/regression/output/c100.c.c:30:19:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
extern FILE_t81 * tmpfile (void);
data/smlnj-110.79/ckit/regression/output/c100.c.c:34:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
extern FILE_t81 * fopen (char *,char *);
data/smlnj-110.79/ckit/regression/output/c100.c.c:95:12:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
extern int mkstemp (char *);
data/smlnj-110.79/ckit/regression/output/i100.c.c:30:19:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
extern FILE_t96 * tmpfile (void);
data/smlnj-110.79/ckit/regression/output/i100.c.c:34:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
extern FILE_t96 * fopen (char *,char *);
data/smlnj-110.79/ckit/regression/output/i100.c.c:95:12:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
extern int mkstemp (char *);
data/smlnj-110.79/ckit/regression/output/primes.c.c:30:20:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
extern FILE_t115 * tmpfile (void);
data/smlnj-110.79/ckit/regression/output/primes.c.c:34:20:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
extern FILE_t115 * fopen (char *,char *);
data/smlnj-110.79/ckit/regression/output/primes.c.c:95:12:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
extern int mkstemp (char *);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:30:20:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
extern FILE_t130 * tmpfile (void);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:34:20:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
extern FILE_t130 * fopen (char *,char *);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:95:12:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
extern int mkstemp (char *);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:231:15:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
extern void * memcpy (void *,void *,size_t_t124);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:265:13:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
extern void bcopy (void *,void *,size_t_t124);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:304:12:  [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).
extern int atoi (char *);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:305:13:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
extern long atol (char *);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:351:12:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
extern int mkstemp (char *);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:402:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  call_p1287 = strcmp ((char *) argv_p1258[i_p1259],(char *) "-dvi");
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:409:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  call_p1288 = strcmp ((char *) argv_p1258[i_p1259],(char *) "-");
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:419:20:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      call_p1289 = fopen ((char *) argv_p1258[i_p1259],(char *) "r");
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:419:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      call_p1289 = fopen ((char *) argv_p1258[i_p1259],(char *) "r");
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:450:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char junk_p1274[80];
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:1105:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char junk_p1278[80];
data/smlnj-110.79/ckit/regression/output/words.c.c:30:20:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
extern FILE_t298 * tmpfile (void);
data/smlnj-110.79/ckit/regression/output/words.c.c:34:20:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
extern FILE_t298 * fopen (char *,char *);
data/smlnj-110.79/ckit/regression/output/words.c.c:95:12:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
extern int mkstemp (char *);
data/smlnj-110.79/ckit/regression/output/words.c.c:118:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char a_p1773[1000];
data/smlnj-110.79/ckit/regression/valid-programs.obs/c100.c.c:546:14:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
extern FILE	*tmpfile(void);
data/smlnj-110.79/ckit/regression/valid-programs.obs/c100.c.c:550:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
extern FILE	*fopen(const char *, const char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/c100.c.c:681:12:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
extern int	mkstemp(char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/i100.c.c:546:14:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
extern FILE	*tmpfile(void);
data/smlnj-110.79/ckit/regression/valid-programs.obs/i100.c.c:550:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
extern FILE	*fopen(const char *, const char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/i100.c.c:681:12:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
extern int	mkstemp(char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:608:14:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
extern FILE	*tmpfile(void);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:612:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
extern FILE	*fopen(const char *, const char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:743:12:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
extern int	mkstemp(char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:1314:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
extern void *memcpy(void *, const void *, size_t);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:1416:13:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
extern void	bcopy(const void *, void *, size_t);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:1630:12:  [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).
extern int atoi(const char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:1631:17:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
extern long int atol(const char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:1694:12:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
extern int mkstemp(char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:1783:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	  if ((file=fopen(argv[i],"r")) != 0L  )
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:1809:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char junk[80];           
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:1904:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char junk[80];
data/smlnj-110.79/ckit/regression/valid-programs/a105.c:3: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.
typedef char mystring[10];
data/smlnj-110.79/ckit/regression/valid-programs/a200.c:7:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char s1[19] = "Not null terminated";
data/smlnj-110.79/ckit/regression/valid-programs/a200.c:8:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char s2[16] = "Null terminated";
data/smlnj-110.79/ckit/regression/valid-programs/a200.c:9:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char s3[16] = "N";
data/smlnj-110.79/ckit/regression/valid-programs/a200.c:12:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char s5[19] = "Not null terminated";
data/smlnj-110.79/ckit/regression/valid-programs/a200.c:13:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char s6[16] = "Null terminated";
data/smlnj-110.79/ckit/regression/valid-programs/a234.c:10:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char common[sizeof (struct tree_common)];
data/smlnj-110.79/ckit/regression/valid-programs/primes.c.c:546:14:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
extern FILE	*tmpfile(void);
data/smlnj-110.79/ckit/regression/valid-programs/primes.c.c:550:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
extern FILE	*fopen(const char *, const char *);
data/smlnj-110.79/ckit/regression/valid-programs/primes.c.c:681:12:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
extern int	mkstemp(char *);
data/smlnj-110.79/nlffi/lib/Tests/pdb/pdb.c:44:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[MAX];
data/smlnj-110.79/nlffi/lib/Tests/pdb/pdb.c:61:14:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  return s ? atoi(s) : 0;
data/smlnj-110.79/base/runtime/c-libs/c-libraries.c:48: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).
	libNameLen = strlen(clib->libName) + 2; /* incl "." and "\0" */
data/smlnj-110.79/base/runtime/c-libs/c-libraries.c:50:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    nameBuf = NEW_VEC(char, strlen(cfuns[j].name) + libNameLen);
data/smlnj-110.79/base/runtime/c-libs/dl/dlerror.c:30: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).
  dl_error = malloc (strlen (fmt) + strlen (s) + 1);
data/smlnj-110.79/base/runtime/c-libs/dl/dlerror.c:30:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  dl_error = malloc (strlen (fmt) + strlen (s) + 1);
data/smlnj-110.79/base/runtime/c-libs/posix-filesys/umask.c:23:13:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    omask = umask(WORD_MLtoC(arg));
data/smlnj-110.79/base/runtime/c-libs/posix-io/read.c:32:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    n = read (fd, PTR_MLtoC(char, vec), nbytes);
data/smlnj-110.79/base/runtime/c-libs/posix-io/readbuf.c:26:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    n = read (fd, start, nbytes);
data/smlnj-110.79/base/runtime/c-libs/smlnj-ccalls/c-calls-fns.c:293:20:  [1] (free) memalign:
  On some systems (though not Linux-based systems) an attempt to free()
  results from memalign() may fail. This may, on a few systems, be
  exploitable. Also note that memalign() may not check that the boundary
  parameter is correct (CWE-676). Use posix_memalign instead (defined in
  POSIX's 1003.1d). Don't switch to valloc(); it is marked as obsolete in BSD
  4.3, as legacy in SUSv2, and is no longer defined in SUSv3. In some cases,
  malloc()'s alignment may be sufficient.
    p = (Byte_t *) memalign(sizeof(Word_t),szb+sizeof(code_header_t));
data/smlnj-110.79/base/runtime/c-libs/smlnj-ccalls/c-calls.c:124:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if ((p = (char *) MALLOC(strlen(s)+1)) == NULL)
data/smlnj-110.79/base/runtime/c-libs/smlnj-ccalls/c-calls.c:659:8:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	      strncpy(argtypes[i],this_arg,len);
data/smlnj-110.79/base/runtime/c-libs/smlnj-ccalls/c-calls.c:671:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	  strncpy(rettype,this_arg,len);
data/smlnj-110.79/base/runtime/c-libs/smlnj-ccalls/c-calls.c:747:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  r = (char *) checked_alloc(strlen(s)+1);
data/smlnj-110.79/base/runtime/c-libs/smlnj-ccalls/c-calls.c:959: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).
	spaceCheck(msp,strlen((char *)**p),root);
data/smlnj-110.79/base/runtime/c-libs/smlnj-ccalls/c-calls.h:22:9:  [1] (free) memalign:
  On some systems (though not Linux-based systems) an attempt to free()
  results from memalign() may fail. This may, on a few systems, be
  exploitable. Also note that memalign() may not check that the boundary
  parameter is correct (CWE-676). Use posix_memalign instead (defined in
  POSIX's 1003.1d). Don't switch to valloc(); it is marked as obsolete in BSD
  4.3, as legacy in SUSv2, and is no longer defined in SUSv3. In some cases,
  malloc()'s alignment may be sufficient.
#define memalign(align,sz) malloc(sz)
data/smlnj-110.79/base/runtime/c-libs/smlnj-date/asctime.c:38:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy (STR_MLtoC(res), asctime(&tm), DATE_LEN);
data/smlnj-110.79/base/runtime/c-libs/smlnj-date/strftime.c:44:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (STR_MLtoC(res), buf, sz);
data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/to-unixaddr.c:34: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(path)+sizeof(addr.sun_len)+sizeof(addr.sun_family)+1;
data/smlnj-110.79/base/runtime/c-libs/smlnj-sockets/to-unixaddr.c:37: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(path)+sizeof(addr.sun_family)+1;
data/smlnj-110.79/base/runtime/c-libs/win32-io/poll.c:35:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  fd_set read, write, err;
data/smlnj-110.79/base/runtime/c-libs/win32-io/poll.c:84:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  FD_ZERO(&read);
data/smlnj-110.79/base/runtime/c-libs/win32-io/poll.c:93:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		  FD_SET(fd,&read);
data/smlnj-110.79/base/runtime/c-libs/win32-io/poll.c:114:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  result = select (count, &read, &write, &err, tvp);
data/smlnj-110.79/base/runtime/c-libs/win32-io/poll.c:126:50:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			  if (((flag & RD_BIT) != 0) && FD_ISSET(fd, &read))
data/smlnj-110.79/base/runtime/c-libs/win32-process/win32-process.c:193:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  strcpy_s(szResultPath, max(strlen(fileName), MAX_PATH-1), fileName);
data/smlnj-110.79/base/runtime/c-libs/win32-process/win32-process.c:200: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).
  length = strlen(szResultPath);
data/smlnj-110.79/base/runtime/c-libs/win32/win32-config.c:35: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).
  length = strlen(versionInfo.szCSDVersion);
data/smlnj-110.79/base/runtime/c-libs/win32/win32-config.c:72: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).
  length = strlen(szVolumeName);
data/smlnj-110.79/base/runtime/c-libs/win32/win32-config.c:77: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).
  length = strlen(szFilesystemName);
data/smlnj-110.79/base/runtime/c-libs/win32/win32-dde.c:67: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).
    retval = DdeClientTransaction(command, strlen(command)+1, conversation, 0, 0, XTYP_EXECUTE, delay, &dwResult);
data/smlnj-110.79/base/runtime/c-libs/win32/win32-reg.c:242: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).
	nextToCopy = strlen(ptr);
data/smlnj-110.79/base/runtime/c-libs/win32/win32-reg.c:246: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).
    ptr += strlen(ptr)+1;
data/smlnj-110.79/base/runtime/c-libs/win32/win32-reg.c:326: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).
  DWORD dwSize = strlen(value)+1;
data/smlnj-110.79/base/runtime/c-libs/win32/win32-reg.c:359: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).
    dwSize += strlen(STR_MLtoC(LIST_hd(iter))) + 1;
data/smlnj-110.79/base/runtime/c-libs/win32/win32-reg.c:369: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).
    ptr += strlen(ptr)+1;
data/smlnj-110.79/base/runtime/gc/c-globals-tbl.c:351: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).
	nbytes += (strlen(tbl->itemMap[i]->name) + 1);
data/smlnj-110.79/base/runtime/gc/heap-in-util.c:47: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).
	cp += (strlen((char *)cp) + 1);
data/smlnj-110.79/base/runtime/gc/heap-out-util.c:56: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).
	strSize += (strlen((char *)(externs[i])) + 1);
data/smlnj-110.79/base/runtime/gc/heap-out-util.c:69: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).
	WR_Write (wr, externs[i], strlen(externs[i])+1);
data/smlnj-110.79/base/runtime/gc/ml-objects.c:48:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int		len = ((v == NIL(char *)) ? 0 : strlen(v));
data/smlnj-110.79/base/runtime/kernel/boot.c:95: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).
		int i, l = strlen (fname + 1);
data/smlnj-110.79/base/runtime/kernel/boot.c:140:6:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	c = getc (listF);
data/smlnj-110.79/base/runtime/kernel/boot.c:169: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).
	    j = strlen(nameBuf)-1;
data/smlnj-110.79/base/runtime/kernel/qualify-name.c:20: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).
    int		len = strlen(buf);
data/smlnj-110.79/base/runtime/kernel/run-ml.c:297: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).
	sprintf (buf+strlen(buf), " raised at %.*s",
data/smlnj-110.79/base/runtime/memory/malloc.c:1063:7:  [1] (free) memalign:
  On some systems (though not Linux-based systems) an attempt to free()
  results from memalign() may fail. This may, on a few systems, be
  exploitable. Also note that memalign() may not check that the boundary
  parameter is correct (CWE-676). Use posix_memalign instead (defined in
  POSIX's 1003.1d). Don't switch to valloc(); it is marked as obsolete in BSD
  4.3, as legacy in SUSv2, and is no longer defined in SUSv3. In some cases,
  malloc()'s alignment may be sufficient.
void* memalign(size_t alignment, size_t bytes)
data/smlnj-110.79/base/runtime/memory/malloc.c:1142:10:  [1] (free) memalign:
  On some systems (though not Linux-based systems) an attempt to free()
  results from memalign() may fail. This may, on a few systems, be
  exploitable. Also note that memalign() may not check that the boundary
  parameter is correct (CWE-676). Use posix_memalign instead (defined in
  POSIX's 1003.1d). Don't switch to valloc(); it is marked as obsolete in BSD
  4.3, as legacy in SUSv2, and is no longer defined in SUSv3. In some cases,
  malloc()'s alignment may be sufficient.
  return memalign (malloc_pagesize, bytes);
data/smlnj-110.79/ckit/regression/output/c100.c.c:47:12:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
extern int fgetc (FILE_t81 *);
data/smlnj-110.79/ckit/regression/output/c100.c.c:51:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
extern int getc (FILE_t81 *);
data/smlnj-110.79/ckit/regression/output/c100.c.c:52:12:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
extern int getchar (void);
data/smlnj-110.79/ckit/regression/output/i100.c.c:47:12:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
extern int fgetc (FILE_t96 *);
data/smlnj-110.79/ckit/regression/output/i100.c.c:51:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
extern int getc (FILE_t96 *);
data/smlnj-110.79/ckit/regression/output/i100.c.c:52:12:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
extern int getchar (void);
data/smlnj-110.79/ckit/regression/output/primes.c.c:47:12:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
extern int fgetc (FILE_t115 *);
data/smlnj-110.79/ckit/regression/output/primes.c.c:51:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
extern int getc (FILE_t115 *);
data/smlnj-110.79/ckit/regression/output/primes.c.c:52:12:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
extern int getchar (void);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:47:12:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
extern int fgetc (FILE_t130 *);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:51:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
extern int getc (FILE_t130 *);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:52:12:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
extern int getchar (void);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:234:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
extern char * strncpy (char *,char *,size_t_t124);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:236:15:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
extern char * strncat (char *,char *,size_t_t124);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:253: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).
extern size_t_t124 strlen (char *);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:366:15:  [1] (free) memalign:
  On some systems (though not Linux-based systems) an attempt to free()
  results from memalign() may fail. This may, on a few systems, be
  exploitable. Also note that memalign() may not check that the boundary
  parameter is correct (CWE-676). Use posix_memalign instead (defined in
  POSIX's 1003.1d). Don't switch to valloc(); it is marked as obsolete in BSD
  4.3, as legacy in SUSv2, and is no longer defined in SUSv3. In some cases,
  malloc()'s alignment may be sufficient.
extern void * memalign (size_t_t124,size_t_t124);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:487:20:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      call_p1294 = fgetc (source_p1265);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:537:26:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            call_p1301 = fgetc (source_p1265);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:598:26:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            call_p1310 = fgetc (source_p1265);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:695:32:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                  call_p1324 = fgetc (source_p1265);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:703:38:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                        call_p1326 = fgetc (source_p1265);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:1097:16:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  call_p1293 = fgetc (source_p1265);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:1268:24:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          call_p1390 = fgetc (source_p1276);
data/smlnj-110.79/ckit/regression/output/ps2ascii.c.c:1489:16:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  call_p1370 = fgetc (source_p1276);
data/smlnj-110.79/ckit/regression/output/words.c.c:47:12:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
extern int fgetc (FILE_t298 *);
data/smlnj-110.79/ckit/regression/output/words.c.c:51:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
extern int getc (FILE_t298 *);
data/smlnj-110.79/ckit/regression/output/words.c.c:52:12:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
extern int getchar (void);
data/smlnj-110.79/ckit/regression/valid-programs.obs/c100.c.c:572:12:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
extern int	fgetc(FILE *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/c100.c.c:576:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
extern int	getc(FILE *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/c100.c.c:577:12:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
extern int	getchar(void);
data/smlnj-110.79/ckit/regression/valid-programs.obs/i100.c.c:572:12:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
extern int	fgetc(FILE *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/i100.c.c:576:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
extern int	getc(FILE *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/i100.c.c:577:12:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
extern int	getchar(void);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:634:12:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
extern int	fgetc(FILE *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:638:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
extern int	getc(FILE *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:639:12:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
extern int	getchar(void);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:1317:14:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
extern char *strncpy(char *, const char *, size_t);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:1319:14:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
extern char *strncat(char *, const char *, size_t);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:1336: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).
extern size_t strlen(const char *);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:1718:14:  [1] (free) memalign:
  On some systems (though not Linux-based systems) an attempt to free()
  results from memalign() may fail. This may, on a few systems, be
  exploitable. Also note that memalign() may not check that the boundary
  parameter is correct (CWE-676). Use posix_memalign instead (defined in
  POSIX's 1003.1d). Don't switch to valloc(); it is marked as obsolete in BSD
  4.3, as legacy in SUSv2, and is no longer defined in SUSv3. In some cases,
  malloc()'s alignment may be sufficient.
extern void *memalign(size_t, size_t);
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:1811:16:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while ((ch = fgetc(source)) != (-1) )
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:1813:28:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if (ch == '\n') ch = fgetc(source);       
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:1819:23:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  case '-' : if((c = fgetc(source)) == ')') {   
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:1830:16:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    switch(ch=fgetc(source))
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:1838:29:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	      case '0' : switch(ch=fgetc(source))
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:1840:23:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		case '1': switch(ch=fgetc(source))
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:1906:12:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
while ((ch=fgetc(source)) != (-1) )
data/smlnj-110.79/ckit/regression/valid-programs.obs/ps2ascii.c.c:1919:12:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	switch(ch=fgetc(source))
data/smlnj-110.79/ckit/regression/valid-programs/primes.c.c:572:12:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
extern int	fgetc(FILE *);
data/smlnj-110.79/ckit/regression/valid-programs/primes.c.c:576:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
extern int	getc(FILE *);
data/smlnj-110.79/ckit/regression/valid-programs/primes.c.c:577:12:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
extern int	getchar(void);
data/smlnj-110.79/nlffi/lib/Tests/pdb/pdb.c:50: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 (buf);

ANALYSIS SUMMARY:

Hits = 543
Lines analyzed = 50174 in approximately 1.67 seconds (30115 lines/second)
Physical Source Lines of Code (SLOC) = 32733
Hits@level = [0] 303 [1]  98 [2] 159 [3]  65 [4] 205 [5]  16
Hits@level+ = [0+] 846 [1+] 543 [2+] 445 [3+] 286 [4+] 221 [5+]  16
Hits/KSLOC@level+ = [0+] 25.8455 [1+] 16.5888 [2+] 13.5948 [3+] 8.73736 [4+] 6.7516 [5+] 0.488803
Dot directories skipped = 79 (--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.